Bug 20313: Update to Unicode 9.0.0
[glibc.git] / ChangeLog
blobcfc9ff48ee8a84909db81295066a08b0e04d341d
1 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3         [BZ #20313]
4         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5         201605L, for Unicode 9.
7 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
9         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
10         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
14         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16 2017-02-19  Zack Weinberg  <zackw@panix.com>
18         * rt/tst-mqueue4.c: Include stdint.h.
20 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
22         * sysdeps/arm/libm-test-ulps: Update.
23         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29         [BZ #21029]
30         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
31         * sysdeps/unix/sysv/linux/i386/Makefile
32         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
33         (uses-6-syscall-arguments): Remove.
34         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
35         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
36         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
37         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
38         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
39         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
40         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
41         [$(subdir) = misc] (cflags-pselect.o): Likewise.
42         [$(subdir) = misc] (cflags-pselect.os): Likewise.
43         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
44         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
45         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
46         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
47         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
48         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
49         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
50         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
51         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
52         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
53         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
54         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
55         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
56         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
57         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
58         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
59         Likewise.
60         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
61         Likewise.
62         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
63         Likewise.
64         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
65         Likewise.
66         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
67         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
68         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
69         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
70         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
71         ebp on inline assembly.
72         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
73         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
74         Set if CAN_USE_REGISTER_ASM_EBP is set.
76 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
78         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
79         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
81 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
83         * math/auto-libm-test-in: Add tests of catan and catanh.
84         * math/auto-libm-test-out-catan: New generated file.
85         * math/auto-libm-test-out-catanh: Likewise.
86         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
87         Move tests with finite inputs, except divide-by-zero cases, to
88         auto-libm-test-in.
89         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
90         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
91         (libm-test-funcs-noauto): Remove catan and catanh.
92         * sysdeps/i386/fpu/libm-test-ulps: Update.
93         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
94         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
96         * math/auto-libm-test-in: Add tests of casin and casinh.
97         * math/auto-libm-test-out-casin: New generated file.
98         * math/auto-libm-test-out-casinh: Likewise.
99         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
100         Move tests with finite inputs to auto-libm-test-in.
101         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
102         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
103         (libm-test-funcs-noauto): Remove casin and casinh.
104         * sysdeps/i386/fpu/libm-test-ulps: Update.
105         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
108         * math/auto-libm-test-in: Add tests of cacos and cacosh.
109         * math/auto-libm-test-out-cacos: New generated file.
110         * math/auto-libm-test-out-cacosh: Likewise.
111         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
112         Move tests with finite inputs to auto-libm-test-in.
113         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
114         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
115         (libm-test-funcs-noauto): Remove cacos and cacosh.
116         * sysdeps/i386/fpu/libm-test-ulps: Update.
117         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120         Revert:
121         2017-02-16  Zack Weinberg  <zackw@panix.com>
123         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
124         Don't include init-arch.h.
125         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
126         Don't include init-arch.h.
128 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
130         [BZ #21171]
131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
132         +Inf and raise divide-by-zero when x is negative.
133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
135         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
136         -Inf and raise divide-by-zero when x = +-0.
137         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
138         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
139         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
140         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
141         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
142         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
145 2017-02-16  Zack Weinberg  <zackw@panix.com>
147         * scripts/build-many-glibcs.py (bot_build_mail): If the
148         bot_config does not contain all of the necessary email-
149         related settings, just print a warning and continue.
151 2017-02-16  Zack Weinberg  <zackw@panix.com>
153         * crypt/md5.h: Test _LIBC with #if defined, not #if.
154         * dirent/opendir-tst1.c: Include sys/stat.h.
155         * dirent/tst-fdopendir.c: Include sys/stat.h.
156         * dirent/tst-fdopendir2.c: Include stdlib.h.
157         * dirent/tst-scandir.c: Include stdbool.h.
158         * elf/tst-auditmod1.c: Include link.h and stddef.h.
159         * elf/tst-tls15.c: Include stdlib.h.
160         * elf/tst-tls16.c: Include stdlib.h.
161         * elf/tst-tls17.c: Include stdlib.h.
162         * elf/tst-tls18.c: Include stdlib.h.
163         * iconv/tst-iconv6.c: Include endian.h.
164         * iconvdata/bug-iconv11.c: Include limits.h.
165         * io/test-utime.c: Include stdint.h.
166         * io/tst-faccessat.c: Include sys/stat.h.
167         * io/tst-fchmodat.c: Include sys/stat.h.
168         * io/tst-fchownat.c: Include sys/stat.h.
169         * io/tst-fstatat.c: Include sys/stat.h.
170         * io/tst-futimesat.c: Include sys/stat.h.
171         * io/tst-linkat.c: Include sys/stat.h.
172         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
173         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
174         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
175         * io/tst-openat.c: Include stdbool.h.
176         * io/tst-readlinkat.c: Include sys/stat.h.
177         * io/tst-renameat.c: Include sys/stat.h.
178         * io/tst-symlinkat.c: Include sys/stat.h.
179         * io/tst-unlinkat.c: Include stdbool.h.
180         * libio/bug-memstream1.c: Include stdlib.h.
181         * libio/bug-wmemstream1.c: Include stdlib.h.
182         * libio/tst-fwrite-error.c: Include stdlib.h.
183         * libio/tst-memstream1.c: Include stdlib.h.
184         * libio/tst-memstream2.c: Include stdlib.h.
185         * libio/tst-memstream3.c: Include stdlib.h.
186         * malloc/tst-interpose-aux.c: Include stdint.h.
187         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
188         * nptl/tst-basic7.c: Include limits.h.
189         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
190         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
191         * nptl/tst-cancel4_1.c: Include stddef.h.
192         * nptl/tst-cancel4_2.c: Include stddef.h.
193         * nptl/tst-cond16.c: Include limits.h.
194         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
195         * nptl/tst-cond18.c: Include limits.h.
196         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
197         * nptl/tst-cond4.c: Include stdint.h.
198         * nptl/tst-cond6.c: Include stdint.h.
199         * nptl/tst-stack2.c: Include limits.h.
200         * nptl/tst-stackguard1.c: Include stddef.h.
201         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
202         * nptl/tst-tls4moda.c: Include stddef.h.
203         Don't include stdio.h, unistd.h, or tls.h.
204         * nptl/tst-tls4modb.c: Include stddef.h.
205         Don't include stdio.h, unistd.h, or tls.h.
206         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
207         * posix/tst-getaddrinfo2.c: Include stdio.h.
208         * posix/tst-getaddrinfo5.c: Include stdio.h.
209         * posix/tst-pathconf.c: Include sys/stat.h.
210         * posix/tst-posix_fadvise-common.c: Include stdint.h.
211         * posix/tst-preadwrite-common.c: Include sys/stat.h.
212         * posix/tst-regex.c: Include stdint.h.
213         Don't include spawn.h or spawn_int.h.
214         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
215         * posix/tst-vfork3.c: Include sys/stat.h.
216         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
217         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
218         * resolv/tst-resolv-search.c: Include stdlib.h.
219         * stdio-common/tst-fmemopen2.c: Include stdint.h.
220         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
221         * stdlib/test-canon.c: Include sys/stat.h.
222         * stdlib/tst-tls-atexit.c: Include stdbool.h.
223         * string/test-memchr.c: Include stdint.h.
224         * string/tst-cmp.c: Include stdint.h.
225         * sysdeps/pthread/tst-timer.c: Include stdint.h.
226         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
227         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
228         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
229         Don't include init-arch.h.
230         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
231         Don't include init-arch.h.
232         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
233         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
234         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
235         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
236         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
237         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
238         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
239         * time/clocktest.c: Include stdint.h.
240         * time/tst-posixtz.c: Include stdint.h.
241         * timezone/tst-timezone.c: Include stdint.h.
243 2017-02-16  Zack Weinberg  <zackw@panix.com>
245         * string/string.h [__USE_MISC]: Include strings.h.
246         (__bzero, bcmp, bcopy, bzero, index, rindex)
247         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
248         (ffs, ffsl, ffsll): Don't declare.
249         * string/strings.h: Do not suppress the file if string.h has
250         already been included.
251         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
252         annotations.
253         (index, rindex): Define inline forwarders even if
254         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
255         (ffs): Use __attribute_const__.
256         (ffsl, ffsll): Declare here.
257         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
258         have now been standardized.
259         * include/string.h (__bzero): Declare here.
261         * bits/types.h: Move to posix/bits.
262         * include/bits/types.h: New wrapper.
264 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
266         * string/bits/string2.h (strcmp): Remove define.
267         (__strcmp_cg): Likewise.
268         (strncmp): Likewise.
270 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
272         * include/string.h: Add __cplusplus check.
274 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
276         [BZ #21134]
277         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
278         "divide by zero" exception when the input is zero.
279         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
280         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
281         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
282         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
285 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
287         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
288         and include ...
289         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
291         to, and include ...
292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
293         file.
294         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
295         and include ...
296         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
297         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
298         and include ...
299         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
300         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
301         and include ...
302         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
303         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
304         and include ...
305         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
306         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
307         to, and include ...
308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
309         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
310         and include ...
311         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
313 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
315         * math/libm-test-support.h: Do not include <math-tests-arch.h>
316         here.
317         * math/libm-test-support.c (libm_test_init): Do not call
318         INIT_ARCH_EXT here.
319         * math/libm-test-driver.c: Include <math-tests-arch.h>.
320         (main): Call INIT_ARCH_EXT.
322 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
324         [BZ #21130]
325         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
326         with the "invalid" exception raised when x is -Inf.
327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
329 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
331         * string/bits/string2.h (strchr): Remove define.
333 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
335         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
336         tst-avx512.
337         (test-extras): Add tst-avx-aux and tst-avx512-aux.
338         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
339         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
340         ($(objpfx)tst-sse): New rule.
341         ($(objpfx)tst-avx): Likewise.
342         ($(objpfx)tst-avx512): Likewise.
343         (CFLAGS-tst-avx-aux.c): New.
344         (CFLAGS-tst-avxmod.c): Likewise.
345         (CFLAGS-tst-avx512-aux.c): Likewise.
346         (CFLAGS-tst-avx512mod.c): Likewise.
347         * sysdeps/x86_64/tst-avx-aux.c: New file.
348         * sysdeps/x86_64/tst-avx.c: Likewise.
349         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
350         * sysdeps/x86_64/tst-avx512.c: Likewise.
351         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
352         * sysdeps/x86_64/tst-avxmod.c: Likewise.
353         * sysdeps/x86_64/tst-sse.c: Likewise.
354         * sysdeps/x86_64/tst-ssemod.c: Likewise.
356 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
358         * math/auto-libm-test-in: Add more tests of csin and csinh.
359         * math/auto-libm-test-out-csin: Regenerated.
360         * math/auto-libm-test-out-csinh: Likewise.
361         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
362         auto-libm-test-in.
363         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
365 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
367         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
368         libm-compat-calls-auto.
369         (libm-compat-calls): Likewise.
370         (libm-compat-calls-auto): Rename to libm-compat-calls and add
371         w_lgamma_compatF and k_standardF (merged from the items above).
372         (libm-routines): Use libm-compat-calls, instead of
373         libm-compat-calls-auto, with type-foreach.
375 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
377         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
378         macro.
379         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
380         (CFLAGS-test-ifloat.c): ... this.  Remove
381         -U__LIBC_INTERNAL_MATH_INLINES.
382         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
383         (CFLAGS-test-idouble.c): ... this.  Remove
384         -U__LIBC_INTERNAL_MATH_INLINES.
385         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
386         (CFLAGS-test-ildouble.c): ... this.  Remove
387         -U__LIBC_INTERNAL_MATH_INLINES.
389 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
391         * math/libm-test-support.c: New file.  Content from
392         math/libm-test-driver.c.
393         * math/libm-test-support.h: Likewise.
394         * math/libm-test-support-double.c: New file.
395         * math/libm-test-support-float.c: Likewise.
396         * math/libm-test-support-ldouble.c: Likewise.
397         * math/libm-test-driver.c: Remove main comment and header
398         includes.  Include libm-test-support.h.
399         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
400         (flag_test_errno): Remove static.
401         (flag_test_exceptions): Likewise.
402         (flag_test_finite): Likewise.
403         (flag_test_inline): Likewise.
404         (flag_test_mathvec): Likewise.
405         (test_msg): Likewise.
406         (NO_EXCEPTION): Remove.
407         (INVALID_EXCEPTION): Likewise.
408         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
409         (OVERFLOW_EXCEPTION): Likewise.
410         (UNDERFLOW_EXCEPTION): Likewise.
411         (INEXACT_EXCEPTION): Likewise.
412         (INVALID_EXCEPTION_OK): Likewise.
413         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
414         (OVERFLOW_EXCEPTION_OK): Likewise.
415         (UNDERFLOW_EXCEPTION_OK): Likewise.
416         (NO_INEXACT_EXCEPTION): Likewise.
417         (EXCEPTIONS_OK): Likewise.
418         (IGNORE_ZERO_INF_SIGN): Likewise.
419         (TEST_NAN_SIGN): Likewise.
420         (TEST_NAN_PAYLOAD): Likewise.
421         (NO_TEST_INLINE): Likewise.
422         (XFAIL_TEST): Likewise.
423         (ERRNO_UNCHANGED): Likewise.
424         (ERRNO_EDOM): Likewise.
425         (ERRNO_ERANGE): Likewise.
426         (IGNORE_RESULT): Likewise.
427         (NON_FINITE): Likewise.
428         (TEST_SNAN): Likewise.
429         (NO_TEST_MATHVEC): Likewise.
430         (__CONCATX): Likewise.
431         (TYPE_MIN): Likewise.
432         (TYPE_TRUE_MIN): Likewise.
433         (TYPE_MAX): Likewise.
434         (MIN_EXP): Likewise.
435         (MAX_EXP): Likewise.
436         (MANT_DIG): Likewise.
437         (FSTR_MAX): Likewise.
438         (ulp_idx): Likewise.
439         (qtype_str): Remove static.
440         (TEST_COND_binary32): Remove.
441         (TEST_COND_binary64): Likewise.
442         (TEST_COND_binary128): Likewise.
443         (TEST_COND_ibm128): Likewise.
444         (TEST_COND_intel96): Likewise.
445         (TEST_COND_m68k96): Likewise.
446         (TEST_COND_ibm128_libgcc): Likewise.
447         (XFAIL_IBM128_LIBGCC): Likewise.
448         (PAYLOAD_DIG): Likewise.
449         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
450         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
451         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
452         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
453         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
454         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
455         (TEST_COND_long32): Likewise.
456         (TEST_COND_long64): Likewise.
457         (TEST_COND_before_rounding): Likewise.
458         (TEST_COND_after_rounding): Likewise.
459         (ulps_file_name): Likewise.
460         (ulps_file): Likewise.
461         (output_ulps): Likewise.
462         (output_dir): Likewise.
463         (noErrors): Likewise.
464         (noTests): Likewise.
465         (noExcTests): Likewise.
466         (noErrnoTests): Likewise.
467         (verbose): Likewise.
468         (output_max_error): Likewise.
469         (output_points): Likewise.
470         (ignore_max_ulp): Likewise.
471         (max_error): Likewise.
472         (real_max_error): Likewise.
473         (imag_max_error): Likewise.
474         (prev_max_error): Likewise.
475         (prev_real_max_error): Likewise.
476         (prev_imag_max_error): Likewise.
477         (max_valid_error): Likewise.
478         (TYPE_DECIMAL_DIG): Likewise.
479         (TYPE_HEX_DIG): Likewise.
480         (fmt_ftostr): Likewise.
481         (compare_ulp_data): Likewise.
482         (find_ulps): Likewise.
483         (init_max_error): Likewise.
484         (set_max_error): Likewise.
485         (print_float): Likewise.
486         (print_screen): Likewise.
487         (print_screen_max_error): Likewise.
488         (update_stats): Likewise.
489         (print_function_ulps): Likewise.
490         (print_complex_function_ulps): Likewise.
491         (fpstack_test): Likewise.
492         (print_max_error): Likewise.
493         (print_complex_max_error): Likewise.
494         (test_single_exception): Likewise.
495         (test_exceptions): Likewise.
496         (test_single_errno): Likewise.
497         (test_errno): Likewise.
498         (ULPDIFF): Likewise.
499         (ulp): Likewise.
500         (check_float_internal): Likewise.
501         (check_float): Likewise.
502         (check_complex): Likewise.
503         (check_int): Likewise.
504         (check_long): Likewise.
505         (check_bool): Likewise.
506         (check_longlong): Likewise.
507         (check_intmax_t): Likewise.
508         (check_uintmax_t): Likewise.
509         (enable_test): Likewise.
510         (matherr): Likewise.
511         (initialize): Likewise.
512         (options): Likewise.
513         (doc): Remove static.
514         (argp): Likewise.
515         (parse_opt): Remove.
516         (check_ulp): Likewise.
517         (libm_test_init): Likewise.
518         (libm_test_finish): Likewise.
519         * math/Makefile (libm-test-support): New variable.
520         (test-extras): Add libm-test-support files.
521         (extra-test-objs): Likewise.
522         (CFLAGS-libm-test-support-float.c): New variable.
523         (CFLAGS-libm-test-support-double.c): Likewise.
524         (CFLAGS-libm-test-support-ldouble.c): Likewise.
525         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
526         libm-test-support objects.
528 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
530         * math/Makefile (libm-calls): Move w_exp...
531         (libm-compat-calls-auto): Here.
533         * math/w_expl.c: Add suffix "_compat" to filename.
534         * sysdeps/ia64/fpu/w_expl.c: Likewise.
535         * sysdeps/ia64/fpu/w_expf.c: Likewise.
536         * sysdeps/ia64/fpu/w_exp.c: Likewise.
537         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
538         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
539         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
540         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
541         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
543         * math/w_expl_compat.c: New file, copied from above.
544         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
545         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
546         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
547         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
548         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
549         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
550         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
551         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
553         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
554         to filename.
555         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
557         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
558         copied from above and adjusted for the new filenames.
559         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
561 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
563         * math/Makefile (libm-calls): Move w_lgammaF...
564         (libm-compat-calls-auto): Here.
566         * math/w_lgamma.c: Add suffix "_compat2" to filename.
567         * math/w_lgammaf.c: Likewise.
568         * math/w_lgammal.c: Likewise.
570         * math/w_lgamma_compat2.c: New file, copied from above.
571         * math/w_lgammaf_compat2.c: Likewise.
572         * math/w_lgammal_compat2.c: Likewise.
574 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
576         * math/Makefile (libm-calls): Move w_lgammaF_r...
577         (libm-compat-calls-auto): Here.
579         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
580         * math/w_lgammaf_r.c: Likewise.
581         * math/w_lgammal_r.c: Likewise.
582         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
583         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
584         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
586         * math/w_lgamma_r_compat.c: New file, copied from above.
587         * math/w_lgammaf_r_compat.c: Likewise.
588         * math/w_lgammal_r_compat.c: Likewise.
589         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
590         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
591         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
593         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
594         to filename.
595         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
597         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
598         copied from above and adjusted for the new filenames.
599         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
601 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
604         calculation in SYSCALL_ERROR_HANDLER().
606 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
608         * manual/contrib.texi: Fix typo.
610 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
612         [BZ #21109]
613         * elf/dl-tunable-types.h (tunable_callback_t): Accept
614         tunable_val_t as argument.
615         * elf/dl-tunables.c (__tunable_set_val): Add comment.
616         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
617         argument.
618         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
620 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
622         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
623         Add PTRACE_EVENT_STOP.
624         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
628         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
629         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
631 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
633         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
634         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
635         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
636         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
637         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
638         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
639         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
640         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
641         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
642         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
644         [BZ #21112]
645         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
646         12 bits zero.
647         (cp_l): Update for new value of cp_h.
648         * math/auto-libm-test-in: Add another test of pow.
649         * math/auto-libm-test-out-pow: Regenerated.
651 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
653         * manual/contrib.texi: Fix typo.
655 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
657         [BZ #15998]
658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
659         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
662 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
664         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
665         STRCHR as __strchr_power8.
666         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
667         strlen as __strlen_power8.
669 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
671         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
672         unaligned load for shorter strings.
673         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
675 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
677         * math/libm-test-driver.c (flag_test_errno): New variable.
678         (flag_test_exceptions): Likewise.
679         (flag_test_finite): Likewise.
680         (flag_test_inline): Likewise.
681         (flag_test_mathvec): Likewise.
682         (test_msg): Likewise.
683         (ulp_idx): Likewise.
684         (qtype_str): Likewise.
685         (ULP_IDX): Remove macro.
686         (QTYPE_STR): Likewise.
687         (find_ulps): Use ulp_idx not ULP_IDX.
688         (print_function_ulps): Use qtype_str, printed with %s, not
689         QTYPE_STR, printed with concatentation to format string.
690         (print_complex_function_ulps): Likewise.
691         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
692         (test_errno): Use flag_test_errno not TEST_ERRNO.
693         (enable_test): Use flag_test_inline, flag_test_finite and
694         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
695         TEST_MATHVEC.
696         (libm_test_init): New function.  Factored out of main.
697         (libm_test_finish): Likewise.
698         (main): Call libm_test_init and libm_test_finish and move most
699         code to those functions.
701         * math/libm-test-driver.c (STRX): New macro.
702         (STR): Likewise.
703         (STR_FLOAT): Likewise.
704         (STR_VEC_LEN): Likewise.
705         (TEST_MSG): Likewise.  Define here instead of expecting to be
706         defined by including file.
707         * math/test-double-finite.c (TEST_MSG): Remove macro.
708         * math/test-double-vlen2.h (TEST_MSG): Likewise.
709         * math/test-double-vlen4.h (TEST_MSG): Likewise.
710         * math/test-double-vlen8.h (TEST_MSG): Likewise.
711         * math/test-double.c (TEST_MSG): Likewise.
712         * math/test-float-finite.c (TEST_MSG): Likewise.
713         * math/test-float-vlen16.h (TEST_MSG): Likewise.
714         * math/test-float-vlen4.h (TEST_MSG): Likewise.
715         * math/test-float-vlen8.h (TEST_MSG): Likewise.
716         * math/test-float.c (TEST_MSG): Likewise.
717         * math/test-idouble.c (TEST_MSG): Likewise.
718         * math/test-ifloat.c (TEST_MSG): Likewise.
719         * math/test-ildouble.c (TEST_MSG): Likewise.
720         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
721         * math/test-ldouble.c (TEST_MSG): Likewise.
723         * math/libm-test.inc: Move all tests of individual functions to
724         libm-test-*.inc and #include libm-test-*.c files.
725         (acos_test_data): Remove.
726         (acos_test): Likewise.
727         (acosh_test_data): Likewise.
728         (acosh_test): Likewise.
729         (asin_test_data): Likewise.
730         (asin_test): Likewise.
731         (asinh_test_data): Likewise.
732         (asinh_test): Likewise.
733         (atan_test_data): Likewise.
734         (atan_test): Likewise.
735         (atanh_test_data): Likewise.
736         (atanh_test): Likewise.
737         (atan2_test_data): Likewise.
738         (atan2_test): Likewise.
739         (cabs_test_data): Likewise.
740         (cabs_test): Likewise.
741         (cacos_test_data): Likewise.
742         (cacos_test): Likewise.
743         (cacosh_test_data): Likewise.
744         (cacosh_test): Likewise.
745         (canonicalize_test_data): Likewise.
746         (canonicalize_test): Likewise.
747         (carg_test_data): Likewise.
748         (carg_test): Likewise.
749         (casin_test_data): Likewise.
750         (casin_test): Likewise.
751         (casinh_test_data): Likewise.
752         (casinh_test): Likewise.
753         (catan_test_data): Likewise.
754         (catan_test): Likewise.
755         (catanh_test_data): Likewise.
756         (catanh_test): Likewise.
757         (cbrt_test_data): Likewise.
758         (cbrt_test): Likewise.
759         (ccos_test_data): Likewise.
760         (ccos_test): Likewise.
761         (ccosh_test_data): Likewise.
762         (ccosh_test): Likewise.
763         (ceil_test_data): Likewise.
764         (ceil_test): Likewise.
765         (cexp_test_data): Likewise.
766         (cexp_test): Likewise.
767         (cimag_test_data): Likewise.
768         (cimag_test): Likewise.
769         (clog_test_data): Likewise.
770         (clog_test): Likewise.
771         (clog10_test_data): Likewise.
772         (clog10_test): Likewise.
773         (conj_test_data): Likewise.
774         (conj_test): Likewise.
775         (copysign_test_data): Likewise.
776         (copysign_test): Likewise.
777         (cos_test_data): Likewise.
778         (cos_test): Likewise.
779         (cosh_test_data): Likewise.
780         (cosh_test): Likewise.
781         (cpow_test_data): Likewise.
782         (cpow_test): Likewise.
783         (cproj_test_data): Likewise.
784         (cproj_test): Likewise.
785         (creal_test_data): Likewise.
786         (creal_test): Likewise.
787         (csin_test_data): Likewise.
788         (csin_test): Likewise.
789         (csinh_test_data): Likewise.
790         (csinh_test): Likewise.
791         (csqrt_test_data): Likewise.
792         (csqrt_test): Likewise.
793         (ctan_test_data): Likewise.
794         (ctan_test): Likewise.
795         (ctanh_test_data): Likewise.
796         (ctanh_test): Likewise.
797         (erf_test_data): Likewise.
798         (erf_test): Likewise.
799         (erfc_test_data): Likewise.
800         (erfc_test): Likewise.
801         (exp_test_data): Likewise.
802         (exp_test): Likewise.
803         (exp10_test_data): Likewise.
804         (exp10_test): Likewise.
805         (pow10_test): Likewise.
806         (exp2_test_data): Likewise.
807         (exp2_test): Likewise.
808         (expm1_test_data): Likewise.
809         (expm1_test): Likewise.
810         (fabs_test_data): Likewise.
811         (fabs_test): Likewise.
812         (fdim_test_data): Likewise.
813         (fdim_test): Likewise.
814         (floor_test_data): Likewise.
815         (floor_test): Likewise.
816         (fma_test_data): Likewise.
817         (fma_test): Likewise.
818         (fmax_test_data): Likewise.
819         (fmax_test): Likewise.
820         (fmaxmag_test_data): Likewise.
821         (fmaxmag_test): Likewise.
822         (fmin_test_data): Likewise.
823         (fmin_test): Likewise.
824         (fminmag_test_data): Likewise.
825         (fminmag_test): Likewise.
826         (fmod_test_data): Likewise.
827         (fmod_test): Likewise.
828         (fpclassify_test_data): Likewise.
829         (fpclassify_test): Likewise.
830         (frexp_test_data): Likewise.
831         (frexp_test): Likewise.
832         (fromfp_test_data): Likewise.
833         (fromfp_test): Likewise.
834         (fromfpx_test_data): Likewise.
835         (fromfpx_test): Likewise.
836         (getpayload_test_data): Likewise.
837         (getpayload_test): Likewise.
838         (hypot_test_data): Likewise.
839         (hypot_test): Likewise.
840         (ilogb_test_data): Likewise.
841         (ilogb_test): Likewise.
842         (iscanonical_test_data): Likewise.
843         (iscanonical_test): Likewise.
844         (iseqsig_test_data): Likewise.
845         (iseqsig_test): Likewise.
846         (isfinite_test_data): Likewise.
847         (isfinite_test): Likewise.
848         (finite_test): Likewise.
849         (isgreater_test_data): Likewise.
850         (isgreater_test): Likewise.
851         (isgreaterequal_test_data): Likewise.
852         (isgreaterequal_test): Likewise.
853         (isinf_test_data): Likewise.
854         (isinf_test): Likewise.
855         (isless_test_data): Likewise.
856         (isless_test): Likewise.
857         (islessequal_test_data): Likewise.
858         (islessequal_test): Likewise.
859         (islessgreater_test_data): Likewise.
860         (islessgreater_test): Likewise.
861         (isnan_test_data): Likewise.
862         (isnan_test): Likewise.
863         (isnormal_test_data): Likewise.
864         (isnormal_test): Likewise.
865         (issignaling_test_data): Likewise.
866         (issignaling_test): Likewise.
867         (issubnormal_test_data): Likewise.
868         (issubnormal_test): Likewise.
869         (isunordered_test_data): Likewise.
870         (isunordered_test): Likewise.
871         (iszero_test_data): Likewise.
872         (iszero_test): Likewise.
873         (j0_test_data): Likewise.
874         (j0_test): Likewise.
875         (j1_test_data): Likewise.
876         (j1_test): Likewise.
877         (jn_test_data): Likewise.
878         (jn_test): Likewise.
879         (lgamma_test_data): Likewise.
880         (lgamma_test): Likewise.
881         (gamma_test): Likewise.
882         (llogb_test_data): Likewise.
883         (llogb_test): Likewise.
884         (lrint_test_data): Likewise.
885         (lrint_test): Likewise.
886         (llrint_test_data): Likewise.
887         (llrint_test): Likewise.
888         (log_test_data): Likewise.
889         (log_test): Likewise.
890         (log10_test_data): Likewise.
891         (log10_test): Likewise.
892         (log1p_test_data): Likewise.
893         (log1p_test): Likewise.
894         (log2_test_data): Likewise.
895         (log2_test): Likewise.
896         (logb_test_data): Likewise.
897         (logb_test): Likewise.
898         (lround_test_data): Likewise.
899         (lround_test): Likewise.
900         (llround_test_data): Likewise.
901         (llround_test): Likewise.
902         (modf_test_data): Likewise.
903         (modf_test): Likewise.
904         (nearbyint_test_data): Likewise.
905         (nearbyint_test): Likewise.
906         (nextafter_test_data): Likewise.
907         (nextafter_test): Likewise.
908         (nextup_test_data): Likewise.
909         (nextup_test): Likewise.
910         (nextdown_test_data): Likewise.
911         (nextdown_test): Likewise.
912         (nexttoward_test_data): Likewise.
913         (nexttoward_test): Likewise.
914         (pow_test_data): Likewise.
915         (pow_test): Likewise.
916         (remainder_test_data): Likewise.
917         (remainder_test): Likewise.
918         (drem_test): Likewise.
919         (remquo_test_data): Likewise.
920         (remquo_test): Likewise.
921         (rint_test_data): Likewise.
922         (rint_test): Likewise.
923         (round_test_data): Likewise.
924         (round_test): Likewise.
925         (roundeven_test_data): Likewise.
926         (roundeven_test): Likewise.
927         (scalb_test_data): Likewise.
928         (scalb_test): Likewise.
929         (scalbn_test_data): Likewise.
930         (scalbn_test): Likewise.
931         (ldexp_test): Likewise.
932         (scalbln_test_data): Likewise.
933         (scalbln_test): Likewise.
934         (setpayload_test_data): Likewise.
935         (setpayload_test): Likewise.
936         (setpayloadsig_test_data): Likewise.
937         (setpayloadsig_test): Likewise.
938         (signbit_test_data): Likewise.
939         (signbit_test): Likewise.
940         (sin_test_data): Likewise.
941         (sin_test): Likewise.
942         (sincos_test_data): Likewise.
943         (sincos_test): Likewise.
944         (sinh_test_data): Likewise.
945         (sinh_test): Likewise.
946         (sqrt_test_data): Likewise.
947         (sqrt_test): Likewise.
948         (tan_test_data): Likewise.
949         (tan_test): Likewise.
950         (tanh_test_data): Likewise.
951         (tanh_test): Likewise.
952         (tgamma_test_data): Likewise.
953         (tgamma_test): Likewise.
954         (totalorder_test_data): Likewise.
955         (totalorder_test): Likewise.
956         (totalordermag_test_data): Likewise.
957         (totalordermag_test): Likewise.
958         (trunc_test_data): Likewise.
959         (trunc_test): Likewise.
960         (ufromfp_test_data): Likewise.
961         (ufromfp_test): Likewise.
962         (ufromfpx_test_data): Likewise.
963         (ufromfpx_test): Likewise.
964         (y0_test_data): Likewise.
965         (y0_test): Likewise.
966         (y1_test_data): Likewise.
967         (y1_test): Likewise.
968         (yn_test_data): Likewise.
969         (yn_test): Likewise.
970         (significand_test_data): Likewise.
971         (significand_test): Likewise.
972         * math/Makefile (auto-libm-test-out-files): Remove variable.
973         (libm-test-funcs-noauto): New variable.
974         (libm-test-funcs-all): Likewise.
975         (libm-test-c-auto): Likewise.
976         (libm-test-c-noauto): Likewise.
977         (libm-tests-generated): Add $(libm-test-c-auto) and
978         $(libm-test-c-noauto).
979         (generated): Do not add auto-libm-test-out.
980         (libm-test-c-auto-obj): New variable.
981         (libm-test-c-noauto-obj): Likewise.
982         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
983         ($(libm-test-c-noauto-obj)): New static pattern rule.
984         ($(libm-test-c-auto-obj)): Likewise.
985         (libm-test-incs): New variable.
986         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
987         and pass it to gen-libm-have-vector-test.sh.
988         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
989         be passed on command line.
990         * math/libm-test-acos.inc: New file.  Content from
991         math/libm-test.inc.
992         * math/libm-test-acosh.inc: Likewise.
993         * math/libm-test-asin.inc: Likewise.
994         * math/libm-test-asinh.inc: Likewise.
995         * math/libm-test-atan.inc: Likewise.
996         * math/libm-test-atan2.inc: Likewise.
997         * math/libm-test-atanh.inc: Likewise.
998         * math/libm-test-cabs.inc: Likewise.
999         * math/libm-test-cacos.inc: Likewise.
1000         * math/libm-test-cacosh.inc: Likewise.
1001         * math/libm-test-canonicalize.inc: Likewise.
1002         * math/libm-test-carg.inc: Likewise.
1003         * math/libm-test-casin.inc: Likewise.
1004         * math/libm-test-casinh.inc: Likewise.
1005         * math/libm-test-catan.inc: Likewise.
1006         * math/libm-test-catanh.inc: Likewise.
1007         * math/libm-test-cbrt.inc: Likewise.
1008         * math/libm-test-ccos.inc: Likewise.
1009         * math/libm-test-ccosh.inc: Likewise.
1010         * math/libm-test-ceil.inc: Likewise.
1011         * math/libm-test-cexp.inc: Likewise.
1012         * math/libm-test-cimag.inc: Likewise.
1013         * math/libm-test-clog.inc: Likewise.
1014         * math/libm-test-clog10.inc: Likewise.
1015         * math/libm-test-conj.inc: Likewise.
1016         * math/libm-test-copysign.inc: Likewise.
1017         * math/libm-test-cos.inc: Likewise.
1018         * math/libm-test-cosh.inc: Likewise.
1019         * math/libm-test-cpow.inc: Likewise.
1020         * math/libm-test-cproj.inc: Likewise.
1021         * math/libm-test-creal.inc: Likewise.
1022         * math/libm-test-csin.inc: Likewise.
1023         * math/libm-test-csinh.inc: Likewise.
1024         * math/libm-test-csqrt.inc: Likewise.
1025         * math/libm-test-ctan.inc: Likewise.
1026         * math/libm-test-ctanh.inc: Likewise.
1027         * math/libm-test-erf.inc: Likewise.
1028         * math/libm-test-erfc.inc: Likewise.
1029         * math/libm-test-exp.inc: Likewise.
1030         * math/libm-test-exp10.inc: Likewise.
1031         * math/libm-test-exp2.inc: Likewise.
1032         * math/libm-test-expm1.inc: Likewise.
1033         * math/libm-test-fabs.inc: Likewise.
1034         * math/libm-test-fdim.inc: Likewise.
1035         * math/libm-test-floor.inc: Likewise.
1036         * math/libm-test-fma.inc: Likewise.
1037         * math/libm-test-fmax.inc: Likewise.
1038         * math/libm-test-fmaxmag.inc: Likewise.
1039         * math/libm-test-fmin.inc: Likewise.
1040         * math/libm-test-fminmag.inc: Likewise.
1041         * math/libm-test-fmod.inc: Likewise.
1042         * math/libm-test-fpclassify.inc: Likewise.
1043         * math/libm-test-frexp.inc: Likewise.
1044         * math/libm-test-fromfp.inc: Likewise.
1045         * math/libm-test-fromfpx.inc: Likewise.
1046         * math/libm-test-getpayload.inc: Likewise.
1047         * math/libm-test-hypot.inc: Likewise.
1048         * math/libm-test-ilogb.inc: Likewise.
1049         * math/libm-test-iscanonical.inc: Likewise.
1050         * math/libm-test-iseqsig.inc: Likewise.
1051         * math/libm-test-isfinite.inc: Likewise.
1052         * math/libm-test-isgreater.inc: Likewise.
1053         * math/libm-test-isgreaterequal.inc: Likewise.
1054         * math/libm-test-isinf.inc: Likewise.
1055         * math/libm-test-isless.inc: Likewise.
1056         * math/libm-test-islessequal.inc: Likewise.
1057         * math/libm-test-islessgreater.inc: Likewise.
1058         * math/libm-test-isnan.inc: Likewise.
1059         * math/libm-test-isnormal.inc: Likewise.
1060         * math/libm-test-issignaling.inc: Likewise.
1061         * math/libm-test-issubnormal.inc: Likewise.
1062         * math/libm-test-isunordered.inc: Likewise.
1063         * math/libm-test-iszero.inc: Likewise.
1064         * math/libm-test-j0.inc: Likewise.
1065         * math/libm-test-j1.inc: Likewise.
1066         * math/libm-test-jn.inc: Likewise.
1067         * math/libm-test-lgamma.inc: Likewise.
1068         * math/libm-test-llogb.inc: Likewise.
1069         * math/libm-test-llrint.inc: Likewise.
1070         * math/libm-test-llround.inc: Likewise.
1071         * math/libm-test-log.inc: Likewise.
1072         * math/libm-test-log10.inc: Likewise.
1073         * math/libm-test-log1p.inc: Likewise.
1074         * math/libm-test-log2.inc: Likewise.
1075         * math/libm-test-logb.inc: Likewise.
1076         * math/libm-test-lrint.inc: Likewise.
1077         * math/libm-test-lround.inc: Likewise.
1078         * math/libm-test-modf.inc: Likewise.
1079         * math/libm-test-nearbyint.inc: Likewise.
1080         * math/libm-test-nextafter.inc: Likewise.
1081         * math/libm-test-nextdown.inc: Likewise.
1082         * math/libm-test-nexttoward.inc: Likewise.
1083         * math/libm-test-nextup.inc: Likewise.
1084         * math/libm-test-pow.inc: Likewise.
1085         * math/libm-test-remainder.inc: Likewise.
1086         * math/libm-test-remquo.inc: Likewise.
1087         * math/libm-test-rint.inc: Likewise.
1088         * math/libm-test-round.inc: Likewise.
1089         * math/libm-test-roundeven.inc: Likewise.
1090         * math/libm-test-scalb.inc: Likewise.
1091         * math/libm-test-scalbln.inc: Likewise.
1092         * math/libm-test-scalbn.inc: Likewise.
1093         * math/libm-test-setpayload.inc: Likewise.
1094         * math/libm-test-setpayloadsig.inc: Likewise.
1095         * math/libm-test-signbit.inc: Likewise.
1096         * math/libm-test-significand.inc: Likewise.
1097         * math/libm-test-sin.inc: Likewise.
1098         * math/libm-test-sincos.inc: Likewise.
1099         * math/libm-test-sinh.inc: Likewise.
1100         * math/libm-test-sqrt.inc: Likewise.
1101         * math/libm-test-tan.inc: Likewise.
1102         * math/libm-test-tanh.inc: Likewise.
1103         * math/libm-test-tgamma.inc: Likewise.
1104         * math/libm-test-totalorder.inc: Likewise.
1105         * math/libm-test-totalordermag.inc: Likewise.
1106         * math/libm-test-trunc.inc: Likewise.
1107         * math/libm-test-ufromfp.inc: Likewise.
1108         * math/libm-test-ufromfpx.inc: Likewise.
1109         * math/libm-test-y0.inc: Likewise.
1110         * math/libm-test-y1.inc: Likewise.
1111         * math/libm-test-yn.inc: Likewise.
1112         * math/README.libm-test: Update.
1114         * math/gen-auto-libm-tests.c: Update comment about use of program.
1115         (generate_output): Add argument FUNCTION.
1116         (main): Require extra argument.  Pass function name to
1117         generate_output.
1118         * math/Makefile (generated): Add auto-libm-test-out.
1119         (libm-test-funcs-auto): New variable.
1120         (auto-libm-test-out-files): New variable.
1121         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1122         Concatenate those files to form $(objpfx)auto-libm-test-out and
1123         use it as input to gen-libm-test.pl.
1124         * math/README.libm-test: Update.
1125         * math/auto-libm-test-out: Remove.
1126         * math/auto-libm-test-out-acos: New generated file.
1127         * math/auto-libm-test-out-acosh: Likewise.
1128         * math/auto-libm-test-out-asin: Likewise.
1129         * math/auto-libm-test-out-asinh: Likewise.
1130         * math/auto-libm-test-out-atan: Likewise.
1131         * math/auto-libm-test-out-atan2: Likewise.
1132         * math/auto-libm-test-out-atanh: Likewise.
1133         * math/auto-libm-test-out-cabs: Likewise.
1134         * math/auto-libm-test-out-carg: Likewise.
1135         * math/auto-libm-test-out-cbrt: Likewise.
1136         * math/auto-libm-test-out-ccos: Likewise.
1137         * math/auto-libm-test-out-ccosh: Likewise.
1138         * math/auto-libm-test-out-cexp: Likewise.
1139         * math/auto-libm-test-out-clog: Likewise.
1140         * math/auto-libm-test-out-clog10: Likewise.
1141         * math/auto-libm-test-out-cos: Likewise.
1142         * math/auto-libm-test-out-cosh: Likewise.
1143         * math/auto-libm-test-out-cpow: Likewise.
1144         * math/auto-libm-test-out-csin: Likewise.
1145         * math/auto-libm-test-out-csinh: Likewise.
1146         * math/auto-libm-test-out-csqrt: Likewise.
1147         * math/auto-libm-test-out-ctan: Likewise.
1148         * math/auto-libm-test-out-ctanh: Likewise.
1149         * math/auto-libm-test-out-erf: Likewise.
1150         * math/auto-libm-test-out-erfc: Likewise.
1151         * math/auto-libm-test-out-exp: Likewise.
1152         * math/auto-libm-test-out-exp10: Likewise.
1153         * math/auto-libm-test-out-exp2: Likewise.
1154         * math/auto-libm-test-out-expm1: Likewise.
1155         * math/auto-libm-test-out-fma: Likewise.
1156         * math/auto-libm-test-out-hypot: Likewise.
1157         * math/auto-libm-test-out-j0: Likewise.
1158         * math/auto-libm-test-out-j1: Likewise.
1159         * math/auto-libm-test-out-jn: Likewise.
1160         * math/auto-libm-test-out-lgamma: Likewise.
1161         * math/auto-libm-test-out-log: Likewise.
1162         * math/auto-libm-test-out-log10: Likewise.
1163         * math/auto-libm-test-out-log1p: Likewise.
1164         * math/auto-libm-test-out-log2: Likewise.
1165         * math/auto-libm-test-out-pow: Likewise.
1166         * math/auto-libm-test-out-sin: Likewise.
1167         * math/auto-libm-test-out-sincos: Likewise.
1168         * math/auto-libm-test-out-sinh: Likewise.
1169         * math/auto-libm-test-out-sqrt: Likewise.
1170         * math/auto-libm-test-out-tan: Likewise.
1171         * math/auto-libm-test-out-tanh: Likewise.
1172         * math/auto-libm-test-out-tgamma: Likewise.
1173         * math/auto-libm-test-out-y0: Likewise.
1174         * math/auto-libm-test-out-y1: Likewise.
1175         * math/auto-libm-test-out-yn: Likewise.
1177         * math/Makefile (generated): Do not include libm-test.stmp.
1178         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1179         on $(objpfx)libm-test.stmp.
1180         ($(objpfx)libm-test.stmp): Remove rule.
1181         ($(objpfx)libm-test-ulps.h): New rule.
1182         ($(objpfx)libm-test.c): Likewise.
1183         ($(objpfx)libm-have-vector-test.h): Likewise.
1184         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1185         individual generated files, not libm-test.stmp.
1187         * math/gen-libm-test.pl ($output_dir): Remove variable.
1188         ($srcdir): Likewise.
1189         ($opt_a): New variable.
1190         ($opt_c): Likewise.
1191         ($opt_C): Likewise.
1192         ($opt_H): Likewise.
1193         (-n): Make option take argument and use it as NewUlps output.
1194         (-a): New option.  Use its argument for auto-libm-test-out input.
1195         (-c): New option.  Use its argument for libm-test.inc input.
1196         (-C): New option.  Use its argument for libm-test.c output.
1197         (-H): New option.  Use its argument for libm-test-ulps.h output.
1198         (top level): Only process inputs needed to generate outputs
1199         specified by command-line options.  Only generate outputs
1200         specified by command-line options.
1201         * math/README.libm-test: Update example gen-libm-test.pl command.
1202         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1203         commands.
1204         (regen-ulps): Likewise.
1206 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1208         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1209         * include/string.h (index): Remove define.
1210         (rindex): Likewise.
1211         * misc/getttyent.c (__getttyent): Rename index to strchr.
1212         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1213         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1215 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1217         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1218         * math/libm-test.inc: Move all contents, other than tests of
1219         individual functions, to libm-test-driver.c.
1220         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1221         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1222         [!FE_UPWARD] (FE_UPWARD): Likewise.
1223         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1224         (NO_EXCEPTION): Likewise.
1225         (INVALID_EXCEPTION): Likewise.
1226         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1227         (OVERFLOW_EXCEPTION): Likewise.
1228         (UNDERFLOW_EXCEPTION): Likewise.
1229         (INEXACT_EXCEPTION): Likewise.
1230         (INVALID_EXCEPTION_OK): Likewise.
1231         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1232         (OVERFLOW_EXCEPTION_OK): Likewise.
1233         (UNDERFLOW_EXCEPTION_OK): Likewise.
1234         (NO_INEXACT_EXCEPTION): Likewise.
1235         (EXCEPTIONS_OK): Likewise.
1236         (IGNORE_ZERO_INF_SIGN): Likewise.
1237         (TEST_NAN_SIGN): Likewise.
1238         (TEST_NAN_PAYLOAD): Likewise.
1239         (NO_TEST_INLINE): Likewise.
1240         (XFAIL_TEST): Likewise.
1241         (ERRNO_UNCHANGED): Likewise.
1242         (ERRNO_EDOM): Likewise.
1243         (ERRNO_ERANGE): Likewise.
1244         (IGNORE_RESULT): Likewise.
1245         (NON_FINITE): Likewise.
1246         (TEST_SNAN): Likewise.
1247         (NO_TEST_MATHVEC): Likewise.
1248         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1249         (__CONCATX): Likewise.
1250         (TYPE_MIN): Likewise.
1251         (TYPE_TRUE_MIN): Likewise.
1252         (TYPE_MAX): Likewise.
1253         (MIN_EXP): Likewise.
1254         (MAX_EXP): Likewise.
1255         (MANT_DIG): Likewise.
1256         (FSTR_MAX): Likewise.
1257         (ULP_IDX): Likewise.
1258         (QTYPE_STR): Likewise.
1259         (TEST_COND_binary32): Likewise.
1260         (TEST_COND_binary64): Likewise.
1261         (TEST_COND_binary128): Likewise.
1262         (TEST_COND_ibm128): Likewise.
1263         (TEST_COND_intel96): Likewise.
1264         (TEST_COND_m68k96): Likewise.
1265         (TEST_COND_ibm128_libgcc): Likewise.
1266         (XFAIL_IBM128_LIBGCC): Likewise.
1267         (PAYLOAD_DIG): Likewise.
1268         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1269         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1270         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1271         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1272         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1273         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1274         (TEST_COND_long32): Likewise.
1275         (TEST_COND_long64): Likewise.
1276         (TEST_COND_before_rounding): Likewise.
1277         (TEST_COND_after_rounding): Likewise.
1278         (lit_pi_3_m_4_d): Likewise.
1279         (lit_pi_3_m_4_ln10_m_d): Likewise.
1280         (lit_pi_2_ln10_m_d): Likewise.
1281         (lit_pi_4_ln10_m_d): Likewise.
1282         (lit_pi_ln10_d): Likewise.
1283         (lit_pi_2_d): Likewise.
1284         (lit_pi_4_d): Likewise.
1285         (lit_pi): Likewise.
1286         (lit_e): Likewise.
1287         (ulps_file_name): Likewise.
1288         (ulps_file): Likewise.
1289         (output_ulps): Likewise.
1290         (output_dir): Likewise.
1291         (noErrors): Likewise.
1292         (noTests): Likewise.
1293         (noExcTests): Likewise.
1294         (noErrnoTests): Likewise.
1295         (verbose): Likewise.
1296         (output_max_error): Likewise.
1297         (output_points): Likewise.
1298         (ignore_max_ulp): Likewise.
1299         (plus_zero): Likewise.
1300         (minus_zero): Likewise.
1301         (plus_infty): Likewise.
1302         (minus_infty): Likewise.
1303         (qnan_value_pl): Likewise.
1304         (qnan_value): Likewise.
1305         (snan_value_pl): Likewise.
1306         (snan_value): Likewise.
1307         (max_value): Likewise.
1308         (min_value): Likewise.
1309         (min_subnorm_value): Likewise.
1310         (snan_value_ld): Likewise.
1311         (max_error): Likewise.
1312         (real_max_error): Likewise.
1313         (imag_max_error): Likewise.
1314         (prev_max_error): Likewise.
1315         (prev_real_max_error): Likewise.
1316         (prev_imag_max_error): Likewise.
1317         (max_valid_error): Likewise.
1318         (TYPE_DECIMAL_DIG): Likewise.
1319         (TYPE_HEX_DIG): Likewise.
1320         (fmt_ftostr): Likewise.
1321         (compare_ulp_data): Likewise.
1322         (find_ulps): Likewise.
1323         (init_max_error): Likewise.
1324         (set_max_error): Likewise.
1325         (print_float): Likewise.
1326         (print_screen): Likewise.
1327         (print_screen_max_error): Likewise.
1328         (update_stats): Likewise.
1329         (print_function_ulps): Likewise.
1330         (print_complex_function_ulps): Likewise.
1331         (fpstack_test): Likewise.
1332         (print_max_error): Likewise.
1333         (print_complex_max_error): Likewise.
1334         (test_single_exception): Likewise.
1335         (test_exceptions): Likewise.
1336         (test_single_errno): Likewise.
1337         (test_errno): Likewise.
1338         (ULPDIFF): Likewise.
1339         (ulp): Likewise.
1340         (check_float_internal): Likewise.
1341         (check_float): Likewise.
1342         (check_complex): Likewise.
1343         (check_int): Likewise.
1344         (check_long): Likewise.
1345         (check_bool): Likewise.
1346         (check_longlong): Likewise.
1347         (check_intmax_t): Likewise.
1348         (check_uintmax_t): Likewise.
1349         (enable_test): Likewise.
1350         (struct test_f_f_data): Likewise.
1351         (struct test_ff_f_data): Likewise.
1352         (struct test_fj_f_data): Likewise.
1353         (struct test_fi_f_data): Likewise.
1354         (struct test_fl_f_data): Likewise.
1355         (struct test_if_f_data): Likewise.
1356         (struct test_fff_f_data): Likewise.
1357         (struct test_fiu_M_data): Likewise.
1358         (struct test_fiu_U_data): Likewise.
1359         (struct test_c_f_data): Likewise.
1360         (struct test_f_f1_data): Likewise.
1361         (struct test_fF_f1_data): Likewise.
1362         (struct test_ffI_f1_data): Likewise.
1363         (struct test_c_c_data): Likewise.
1364         (struct test_cc_c_data): Likewise.
1365         (struct test_f_i_data): Likewise.
1366         (struct test_ff_i_data): Likewise.
1367         (struct test_f_l_data): Likewise.
1368         (struct test_f_L_data): Likewise.
1369         (struct test_fFF_11_data): Likewise.
1370         (struct test_Ff_b1_data): Likewise.
1371         (IF_ROUND_INIT_): Likewise.
1372         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1373         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1374         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1375         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1376         (ROUND_RESTORE_): Likewise.
1377         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1378         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1379         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1380         (ROUND_RESTORE_FE_UPWARD): Likewise.
1381         (RM_): Likewise.
1382         (RM_FE_DOWNWARD): Likewise.
1383         (RM_FE_TONEAREST): Likewise.
1384         (RM_FE_TOWARDZERO): Likewise.
1385         (RM_FE_UPWARD): Likewise.
1386         (COMMON_TEST_SETUP): Likewise.
1387         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1388         (COMMON_TEST_CLEANUP): Likewise.
1389         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1390         (RUN_TEST_f_f): Likewise.
1391         (RUN_TEST_LOOP_f_f): Likewise.
1392         (RUN_TEST_fp_f): Likewise.
1393         (RUN_TEST_LOOP_fp_f): Likewise.
1394         (RUN_TEST_2_f): Likewise.
1395         (RUN_TEST_LOOP_2_f): Likewise.
1396         (RUN_TEST_ff_f): Likewise.
1397         (RUN_TEST_LOOP_ff_f): Likewise.
1398         (RUN_TEST_LOOP_fj_f): Likewise.
1399         (RUN_TEST_fi_f): Likewise.
1400         (RUN_TEST_LOOP_fi_f): Likewise.
1401         (RUN_TEST_fl_f): Likewise.
1402         (RUN_TEST_LOOP_fl_f): Likewise.
1403         (RUN_TEST_if_f): Likewise.
1404         (RUN_TEST_LOOP_if_f): Likewise.
1405         (RUN_TEST_fff_f): Likewise.
1406         (RUN_TEST_LOOP_fff_f): Likewise.
1407         (RUN_TEST_fiu_M): Likewise.
1408         (RUN_TEST_LOOP_fiu_M): Likewise.
1409         (RUN_TEST_fiu_U): Likewise.
1410         (RUN_TEST_LOOP_fiu_U): Likewise.
1411         (RUN_TEST_c_f): Likewise.
1412         (RUN_TEST_LOOP_c_f): Likewise.
1413         (RUN_TEST_f_f1): Likewise.
1414         (RUN_TEST_LOOP_f_f1): Likewise.
1415         (RUN_TEST_fF_f1): Likewise.
1416         (RUN_TEST_LOOP_fF_f1): Likewise.
1417         (RUN_TEST_fI_f1): Likewise.
1418         (RUN_TEST_LOOP_fI_f1): Likewise.
1419         (RUN_TEST_ffI_f1_mod8): Likewise.
1420         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1421         (RUN_TEST_Ff_b1): Likewise.
1422         (RUN_TEST_LOOP_Ff_b1): Likewise.
1423         (RUN_TEST_Ffp_b1): Likewise.
1424         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1425         (RUN_TEST_c_c): Likewise.
1426         (RUN_TEST_LOOP_c_c): Likewise.
1427         (RUN_TEST_cc_c): Likewise.
1428         (RUN_TEST_LOOP_cc_c): Likewise.
1429         (RUN_TEST_f_i): Likewise.
1430         (RUN_TEST_LOOP_f_i): Likewise.
1431         (RUN_TEST_f_i_tg): Likewise.
1432         (RUN_TEST_LOOP_f_i_tg): Likewise.
1433         (RUN_TEST_ff_b): Likewise.
1434         (RUN_TEST_LOOP_ff_b): Likewise.
1435         (RUN_TEST_ff_i_tg): Likewise.
1436         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1437         (RUN_TEST_f_b): Likewise.
1438         (RUN_TEST_LOOP_f_b): Likewise.
1439         (RUN_TEST_f_b_tg): Likewise.
1440         (RUN_TEST_LOOP_f_b_tg): Likewise.
1441         (RUN_TEST_f_l): Likewise.
1442         (RUN_TEST_LOOP_f_l): Likewise.
1443         (RUN_TEST_f_L): Likewise.
1444         (RUN_TEST_LOOP_f_L): Likewise.
1445         (RUN_TEST_fFF_11): Likewise.
1446         (RUN_TEST_LOOP_fFF_11): Likewise.
1447         (VEC_SUFF): Likewise.
1448         (STR_CONCAT): Likewise.
1449         (STR_CON3): Likewise.
1450         (HAVE_VECTOR): Likewise.
1451         (START): Likewise.
1452         (END): Likewise.
1453         (END_COMPLEX): Likewise.
1454         (ALL_RM_TEST): Likewise.
1455         (matherr): Likewise.
1456         (initialize): Likewise.
1457         (options): Likewise.
1458         (doc): Likewise.
1459         (parse_opt): Likewise.
1460         (argp): Likewise.
1461         (check_ulp): Likewise.
1462         (main): Likewise.
1463         (do_test): New function.  Call tests of individual functions
1464         previously called from main.
1466         * math/libm-test.inc: Remove comment listing functions tested and
1467         not tested.
1469 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1471         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1472         (allocate_stack): Remove COLORING_INCREMENT usage.
1473         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1474         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1476 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1478         * manual/libm-err-tab.pl (@all_functions): Change to
1479         %all_functions.  Initialize as empty.
1480         (parse_ulps): Add to %all_functions based on functions found in
1481         ulps files.  Ignore results for non-default rounding modes and
1482         vector functions.
1483         (print_platforms): Use %all_platforms.
1484         * manual/math.texi (Errors in Math Functions): Document omissions
1485         from the table.
1487         * math/Makefile (before-compile): Remove.
1489 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1491         [BZ #21075]
1492         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1493         unused assignment.
1494         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1496 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1498         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1499         Add __glibc_unlikely hint.
1501 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1503         [BZ #16640]
1504         * sysdeps/i386/i686/strtok.S: Remove file.
1505         * sysdeps/i386/i686/strtok_r.S: Likewise.
1506         * sysdeps/i386/strtok.S: Likewise.
1507         * sysdeps/i386/strtok_r.S: Likewise.
1508         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1509         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1510         * sysdeps/x86_64/strtok.S: Likewise.
1511         * sysdeps/x86_64/strtok_r.S: Likewise.
1513         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1514         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1515         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1516         (__ASSUME_FADVISE64_AS_64_64): Define.
1517         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1518         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1519         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1520         __ALIGNMENT_ARG usage.
1521         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1522         __NR_fadvise64_64 if it is not defined.
1524 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1526         * version.h (RELEASE): Set to "development"
1527         (VERSION): Set to 2.25.90.
1528         * NEWS: Add 2.26 section.
1530         * version.h (RELEASE): Set to "stable"
1531         (VERSION): Set to 2.25.
1532         * include/features.h (__GLIBC_MINOR__): Set to 25.
1534         * manual/contrib.texi: Add more contributors from this release
1535         and past releases.
1537         * NEWS (2.25): Add list of bugs fixed.
1539         * NEWS: Add missing news items.
1541 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1543         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1544         parent if child exited in that manner.  Print WEXITSTATUS
1545         instead of the raw status.
1546         (do_test_prep): Rename to do_test.
1547         (do_test): Return the result of run_executable_sgid.
1548         (TEST_FUNCTION_ARGV): Adjust.
1550 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1551             Florian Weimer  <fweimer@redhat.com>
1552             Carlos O'Donell  <carlos@redhat.com>
1554         [BZ #20915]
1555         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1556         Do not initialize DTV.
1557         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1559 2017-02-03  David S. Miller  <davem@davemloft.net>
1561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1569         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1570         (libm-sysdep_routines): Update.
1571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1576         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1577         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1578         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1579         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1581         Likewise.
1582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1584         Likewise.
1585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1587         Likewise.
1588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1590         Likewise.
1591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1593         (libm-sysdep_routines): Update.
1595 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1597         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1598         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1599         against unrelocated shared library.
1600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1602 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1604         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1605         * elf/tst-env-setuid-tunables.c
1606         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1607         GLIBC_TUNABLES is removed in a setgid process.
1609         [BZ #21073]
1610         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1611         * elf/dl-tunables.c (tunables_strdup): Remove.
1612         (get_next_env): Also return the previous envp.
1613         (parse_tunables): Erase tunables of category
1614         TUNABLES_SECLEVEL_SXID_ERASE.
1615         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1616         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1617         (__tunables_init)[TUNABLES_FRONTEND ==
1618         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1619         after parsing.
1620         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1621         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1622         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1623         to security_level.
1624         * elf/dl-tunables.list: Add security_level annotations for all
1625         tunables.
1626         * scripts/gen-tunables.awk: Recognize and generate enum values
1627         for security_level.
1628         * elf/tst-env-setuid.c: New test case.
1629         * elf/tst-env-setuid-tunables: new test case.
1630         * elf/Makefile (tests-static): Add them.
1632 2017-02-01  Richard Henderson  <rth@twiddle.net>
1634         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1635         adjusting the byte count.
1637 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1639         * conform/Makefile (linknamespace-libs): Define.
1641         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1642         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1643         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1644         operands.
1646 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1648         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1650 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1652         [BZ #21081]
1653         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1654         (L(stosb)): Add VZEROUPPER before ret.
1656 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1657             Alexey Makhalov <amakhalov@vmware.com>
1658             Florian Weimer <fweimer@redhat.com>
1660         [BZ #20116]
1661         * nptl/pthread_create.c: Document concurrency notes.
1662         Enhance thread creation notes.
1663         (create_thread): Use bool *stopped_start.
1664         (START_THREAD_DEFN): Comment ownership of PD.
1665         (__pthread_create_2_1): Add local bool stopped_start and use
1666         that instead of pd->stopped_start where appropriate.
1667         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1668         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1669         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1670         * nptl/tst-create-detached.c: New file.
1671         * nptl/Makefile (tests): Add tst-create-detached.
1672         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1673         Reference the enhanced thread creation notes.
1674         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1675         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1676         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1677         (__pthread_current_priority): Likewise.
1678         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1679         xpthread_attr_init, xpthread_attr_setdetachstate, and
1680         xpthread_attr_setstacksize.
1681         * support/xpthread_attr_destroy.c: New file.
1682         * support/xpthread_attr_init.c: New file.
1683         * support/xpthread_attr_setdetachstate.c: New file.
1684         * support/xpthread_attr_setstacksize.c: New file.
1685         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1686         xpthread_attr_init, xpthread_attr_setdetachstate, and
1687         xpthread_attr_setstacksize.
1689 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1691         * nptl/Makefile (tests): Add tst-robust-fork.
1692         * nptl/tst-robust-fork.c: New file.
1693         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1694         xpthread_mutex_consistent, xpthread_mutex_destroy,
1695         xpthread_mutex_init, xpthread_mutexattr_destroy,
1696         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1697         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1698         xpthread_mutexattr_settype.
1699         * support/xmmap.c: New file.
1700         * support/xmunmap.c: Likewise.
1701         * support/xpthread_mutex_consistent.c: Likewise.
1702         * support/xpthread_mutex_destroy.c: Likewise.
1703         * support/xpthread_mutex_init.c: Likewise.
1704         * support/xpthread_mutexattr_destroy.c: Likewise.
1705         * support/xpthread_mutexattr_init.c: Likewise.
1706         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1707         * support/xpthread_mutexattr_setpshared.c: Likewise.
1708         * support/xpthread_mutexattr_setrobust.c: Likewise.
1709         * support/xpthread_mutexattr_settype.c: Likewise.
1710         * support/xthread.h (xpthread_mutexattr_destroy)
1711         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1712         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1713         (xpthread_mutexattr_settype, xpthread_mutex_init)
1714         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1715         * support/xunistd.h (xmmap, xmunmap): Likewise.
1717 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1719         * string/Makefile (xtests): Add comment.
1720         (LOCALES): Add en_GB.UTF-8.
1721         (tst-strcoll-overflow.out): Depend on generated locales.
1722         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1723         (SIZE, TIMEOUT): Update comments.
1724         (do_test): Define as static.  Fail test if setlocale fails.
1725         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1726         messages.
1727         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1728         TIMEOUT at 300 seconds should be enough to run this test
1729         successfully.
1731 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1733         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1734         /* FALLTHRU */ comments.
1736 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1738         [BZ #21053]
1739         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1740         constants instead of the old R* ones.
1741         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1742         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1743         (NGREG): ... to this, to fit in with other architectures.
1744         (gpregset_t): Use new NGREG macro.
1745         [__USE_GNU]: Remove condition; all architectures other than tile
1746         are unconditional.
1747         (R*): Rename to REG_R*.
1749 2017-01-20  DJ Delorie  <dj@redhat.com>
1751         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1752         (tunable_set_val_if_valid_range_signed) ... this, and ...
1753         (tunable_set_val_if_valid_range_unsigned) ... this.
1754         (tunable_initialize): Call the correct one of the above based on type.
1756 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1758         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1759         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1760         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1761         * sysdeps/microblaze/libm-test-ulps: Likewise.
1762         * sysdeps/sh/libm-test-ulps: Likewise.
1764         * math/README.libm-test: Update list of characters for input and
1765         output types.
1767 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1769         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1770         (__lll_unlock_elision): Fix adapt_count decrement.
1772 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1774         * README.pretty-printers (Known issues): Warn about printers not
1775         always covering everything.
1776         * nptl/nptl-printers.py (MutexPrinter): Change output.
1777         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1779 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1781         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1782         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1783         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1784         (__lll_lock_elision): Do not test futex before starting a
1785         transaction.  Use __glibc_likely instead of __builtin_expect.
1786         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1787         (__lll_trylock_elision): Do not test futex before starting a
1788         transaction.  Use __glibc_likely instead of __builtin_expect.
1790 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1792         * po/Makefile (update-translations): New target.
1794 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1796         [BZ #21061]
1797         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1799 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1801         * elf/dl-tunables (get_next_env): Always advance envp.
1802         * stdlib/tst-empty-env.c: New test case.
1803         * stdlib/Makefile (tests): Use it.
1805 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1807         [BZ #21047]
1808         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1809         name for instruction.
1810         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1812 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1814         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1815         for make install.
1817 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1819         * po/bg.po: Merge from Translation Project.
1820         * po/fr.po: Likewise.
1821         * po/ko.po: Likewise.
1822         * po/nl.po: Likewise.
1823         * po/sv.po: Likewise.
1825 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1827         * manual/install.texi (Tools for Compilation): Update GCC version
1828         known to work to build glibc.
1829         * INSTALL: Regenerated.
1831 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1833         [BZ #21006]
1834         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1836 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1838         [BZ #21045]
1839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1840         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1841         to __sigprocmask.
1843 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1845         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1846         wrap-around.
1847         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1849         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1851 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1853         * NEWS: Fix typo.
1855 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1857         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1858         barriers and comments.
1859         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1860         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1863 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1865         [BZ #19402]
1866         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1867         mutexes.
1869 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1871         [BZ #20985]
1872         * nptl/Makefile: Adapt.
1873         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1874         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1875         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1876         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1877         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1878         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1879         lll_robust* functions and adapt.
1880         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1881         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1882         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1883         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1885         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1886         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1887         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1888         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1889         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1890         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1891         * nptl/lowlevelrobustlock.c: Remove file.
1892         * nptl/lowlevelrobustlock.sym: Likewise.
1893         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1894         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1896 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1898         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1900 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1902         * po/cs.po: Merge translations from the Translation Project.
1903         * po/de.po: Likewise.
1904         * po/pl.po: Likewise.
1905         * po/ru.po: Likewise.
1906         * po/tr.po: Likewise.
1907         * po/uk.po: Likewise.
1908         * po/vi.po: Likewise.
1909         * po/zh_CN.po: Likewise.
1911 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1913         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1915         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1916         object.
1918 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1920         [BZ #16458]
1921         * bits/uintn-identity.h: New file.
1922         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1923         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1924         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1925         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1926         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1927         * string/endian.h: Include <bits/uintn-identity.h>.
1928         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1929         __uint16_identity.
1930         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1931         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1932         __uint32_identity.
1933         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1934         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1935         __uint64_identity.
1936         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1937         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1938         __uint16_identity.
1939         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1940         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1941         __uint32_identity.
1942         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1943         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1944         __uint64_identity.
1945         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1946         * string/Makefile (headers): Add bits/uintn-identity.h.
1947         (tests): Add test-endian-types.
1948         * string/test-endian-types.c: New file.
1949         * inet/Makefile (tests): Add test-hnto-types.
1950         * inet/test-hnto-types.c: New file.
1952 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1954         * po/be.po: Update from Translation Project.
1955         * po/bg.po: Likewise.
1956         * po/ca.po: Likewise.
1957         * po/cs.po: Likewise.
1958         * po/da.po: Likewise.
1959         * po/de.po: Likewise.
1960         * po/el.po: Likewise.
1961         * po/eo.po: Likewise.
1962         * po/es.po: Likewise.
1963         * po/fi.po: Likewise.
1964         * po/fr.po: Likewise.
1965         * po/gl.po: Likewise.
1966         * po/hr.po: Likewise.
1967         * po/hu.po: Likewise.
1968         * po/ia.po: Likewise.
1969         * po/id.po: Likewise.
1970         * po/it.po: Likewise.
1971         * po/ja.po: Likewise.
1972         * po/ko.po: Likewise.
1973         * po/lt.po: Likewise.
1974         * po/nb.po: Likewise.
1975         * po/nl.po: Likewise.
1976         * po/pl.po: Likewise.
1977         * po/pt_BR.po: Likewise.
1978         * po/ru.po: Likewise.
1979         * po/rw.po: Likewise.
1980         * po/sk.po: Likewise.
1981         * po/sl.po: Likewise.
1982         * po/sv.po: Likewise.
1983         * po/tr.po: Likewise.
1984         * po/uk.po: Likewise.
1985         * po/vi.po: Likewise.
1986         * po/zh_CN.po: Likewise.
1987         * po/zh_TW.po: Likewise.
1989 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1991         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1992         -Wformat-truncation instead of -Wformat-length.
1993         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1994         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1995         GCC 7.
1996         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1997         (do_test): Ignore -Wformat-truncation for GCC 7.
1999         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2000         buffer used to print long int value.
2002         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2003         one byte.  Print it with %ld, cast to long int.
2005 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2007         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2008         (re.fullmatch, subprocess.run): Likewise.
2010 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2012         * po/libc.pot: Regenerate.
2014 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2016         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2017         (min_strlen): Likewise.
2018         (disable_tunable): Likewise.
2019         (maybe_disable_malloc_check): Rename to
2020         maybe_enable_malloc_check.
2021         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2022         if /etc/suid-debug file exists.
2023         (__tunables_init): Update caller.
2024         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2025         secure.
2027 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2029         * nptl/DESIGN-rwlock.txt: Remove.
2030         * nptl/lowlevelrwlock.sym: Remove.
2031         * nptl/Makefile: Add new tests.
2032         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2033         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2034         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2035         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2036         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2037         PTHREAD_RWLOCK_FUTEX_USED): New.
2038         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2039         implementation.
2040         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2041         (__pthread_rwlock_rdlock): Adapt.
2042         * nptl/pthread_rwlock_timedrdlock.c
2043         (pthread_rwlock_timedrdlock): Adapt.
2044         * nptl/pthread_rwlock_timedwrlock.c
2045         (pthread_rwlock_timedwrlock): Adapt.
2046         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2047         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2048         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2049         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2050         (__pthread_rwlock_wrlock): Adapt.
2051         * nptl/tst-rwlock10.c: Adapt.
2052         * nptl/tst-rwlock11.c: Adapt.
2053         * nptl/tst-rwlock17.c: New file.
2054         * nptl/tst-rwlock18.c: New file.
2055         * nptl/tst-rwlock19.c: New file.
2056         * nptl/tst-rwlock2b.c: New file.
2057         * nptl/tst-rwlock8.c: Adapt.
2058         * nptl/tst-rwlock9.c: Adapt.
2059         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2060         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2061         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2062         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2063         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2064         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2065         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2066         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2067         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2068         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2069         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2070         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2071         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2072         (pthread_rwlock_t): Adapt.
2073         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2074         (pthread_rwlock_t): Adapt.
2075         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2076         * nptl/nptl-printers.py (): Adapt.
2077         * nptl/nptl_lock_constants.pysym: Adapt.
2078         * nptl/test-rwlock-printers.py: Adapt.
2079         * nptl/test-rwlockattr-printers.c: Adapt.
2080         * nptl/test-rwlockattr-printers.py: Adapt.
2082 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2084         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2085         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2086         (fma_test_data): Likewise.
2087         (hypot_test_data): Likewise.
2088         (log1p_test_data): Likewise.
2089         (modf_test_data): Likewise.
2090         (pow_test_data): Likewise.
2091         (remainder_test_data): Likewise.
2092         (remquo_test_data): Likewise.
2093         (scalb_test_data): Likewise.
2094         (scalbn_test_data): Likewise.
2095         (scalbln_test_data): Likewise.
2096         * math/gen-libm-test.pl (parse_args): Transform
2097         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2098         on the rounding mode.
2100 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2102         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2103         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2104         and those that can underflow to zero.
2105         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2106         add others.
2107         * math/auto-libm-test-out: Regenerated.
2109         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2110         supported.
2111         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2112         modes support if not supported.
2114         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2115         Add libc.so PLT entry.
2116         (__tls_get_addr): Make ld.so PLT entry optional.
2118 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2120         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2121         * string/bits/string3.h: ... here.
2123 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2125         [BZ #21028]
2126         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2127         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2128         if EXCEPTION_TESTS returns false.
2130 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2132         [BZ #20558]
2133         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2134         strings_fortified.h.
2135         [__USE_MISC] (bzero): Likewise.
2136         [__USE_MISC] (explicit_bzero): Likewise.
2137         * string/strings.h: Include strings_fortified.h.
2138         * string/Makefile (headers): Add strings_fortified.h.
2139         * string/bits/strings_fortified.h: New file.
2140         * include/bits/strings_fortified.h: Likewise.
2142 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2144         * elf/tst-tls13.c (TIMEOUT): Remove.
2145         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2146         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2147         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2148         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2149         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2151         [BZ #21026]
2152         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2153         (readahead): New syscall entry.
2155 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2157         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2158         around tests of strncat with large sizes.
2160         * malloc/tst-malloc.c: Include <libc-internal.h>.
2161         (do_test): Disable -Walloc-size-larger-than= around tests of
2162         malloc with negative sizes.
2163         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2164         (do_test): Disable -Walloc-size-larger-than= around tests of
2165         malloc and realloc with negative sizes.
2166         * malloc/tst-realloc.c: Include <libc-internal.h>.
2167         (do_test): Disable -Walloc-size-larger-than= around tests of
2168         realloc with negative sizes.
2170         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2171         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2172         allowed to 16 ulps.
2173         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2174         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2175         * math/auto-libm-test-out: Regenerated.
2177 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2179         * math/Makefile (libm-calls): Move wrappers...
2180         (libm-compat-call-auto): Here.
2181         (libm-routines): Add items in libm-compat-calls-auto.
2182         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2183         the filenames of the wrappers that have been renamed.
2184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2187         * math/w_acos.c: Add _compat suffix to filename.
2188         * math/w_acosf.c: Likewise.
2189         * math/w_acosh.c: Likewise.
2190         * math/w_acoshf.c: Likewise.
2191         * math/w_acoshl.c: Likewise.
2192         * math/w_acosl.c: Likewise.
2193         * math/w_asin.c: Likewise.
2194         * math/w_asinf.c: Likewise.
2195         * math/w_asinl.c: Likewise.
2196         * math/w_atan2.c: Likewise.
2197         * math/w_atan2f.c: Likewise.
2198         * math/w_atan2l.c: Likewise.
2199         * math/w_atanh.c: Likewise.
2200         * math/w_atanhf.c: Likewise.
2201         * math/w_atanhl.c: Likewise.
2202         * math/w_cosh.c: Likewise.
2203         * math/w_coshf.c: Likewise.
2204         * math/w_coshl.c: Likewise.
2205         * math/w_exp10.c: Likewise.
2206         * math/w_exp10f.c: Likewise.
2207         * math/w_exp10l.c: Likewise.
2208         * math/w_exp2.c: Likewise.
2209         * math/w_exp2f.c: Likewise.
2210         * math/w_exp2l.c: Likewise.
2211         * math/w_fmod.c: Likewise.
2212         * math/w_fmodf.c: Likewise.
2213         * math/w_fmodl.c: Likewise.
2214         * math/w_hypot.c: Likewise.
2215         * math/w_hypotf.c: Likewise.
2216         * math/w_hypotl.c: Likewise.
2217         * math/w_j0.c: Likewise.
2218         * math/w_j0f.c: Likewise.
2219         * math/w_j0l.c: Likewise.
2220         * math/w_j1.c: Likewise.
2221         * math/w_j1f.c: Likewise.
2222         * math/w_j1l.c: Likewise.
2223         * math/w_jn.c: Likewise.
2224         * math/w_jnf.c: Likewise.
2225         * math/w_jnl.c: Likewise.
2226         * math/w_log10.c: Likewise.
2227         * math/w_log10f.c: Likewise.
2228         * math/w_log10l.c: Likewise.
2229         * math/w_log2.c: Likewise.
2230         * math/w_log2f.c: Likewise.
2231         * math/w_log2l.c: Likewise.
2232         * math/w_log.c: Likewise.
2233         * math/w_logf.c: Likewise.
2234         * math/w_logl.c: Likewise.
2235         * math/w_pow.c: Likewise.
2236         * math/w_powf.c: Likewise.
2237         * math/w_powl.c: Likewise.
2238         * math/w_remainder.c: Likewise.
2239         * math/w_remainderf.c: Likewise.
2240         * math/w_remainderl.c: Likewise.
2241         * math/w_scalb.c: Likewise.
2242         * math/w_scalbf.c: Likewise.
2243         * math/w_scalbl.c: Likewise.
2244         * math/w_sinh.c: Likewise.
2245         * math/w_sinhf.c: Likewise.
2246         * math/w_sinhl.c: Likewise.
2247         * math/w_sqrt.c: Likewise.
2248         * math/w_sqrtf.c: Likewise.
2249         * math/w_sqrtl.c: Likewise.
2250         * math/w_tgamma.c: Likewise.
2251         * math/w_tgammaf.c: Likewise.
2252         * math/w_tgammal.c: Likewise.
2254         * math/w_acos_compat.c: New file copied from above and
2255         adjusted for new #includes path
2256         * math/w_acosf_compat.c: Likewise.
2257         * math/w_acosh_compat.c: Likewise.
2258         * math/w_acoshf_compat.c: Likewise.
2259         * math/w_acoshl_compat.c: Likewise.
2260         * math/w_acosl_compat.c: Likewise.
2261         * math/w_asin_compat.c: Likewise.
2262         * math/w_asinf_compat.c: Likewise.
2263         * math/w_asinl_compat.c: Likewise.
2264         * math/w_atan2_compat.c: Likewise.
2265         * math/w_atan2f_compat.c: Likewise.
2266         * math/w_atan2l_compat.c: Likewise.
2267         * math/w_atanh_compat.c: Likewise.
2268         * math/w_atanhf_compat.c: Likewise.
2269         * math/w_atanhl_compat.c: Likewise.
2270         * math/w_cosh_compat.c: Likewise.
2271         * math/w_coshf_compat.c: Likewise.
2272         * math/w_coshl_compat.c: Likewise.
2273         * math/w_exp10_compat.c: Likewise.
2274         * math/w_exp10f_compat.c: Likewise.
2275         * math/w_exp10l_compat.c: Likewise.
2276         * math/w_exp2_compat.c: Likewise.
2277         * math/w_exp2f_compat.c: Likewise.
2278         * math/w_exp2l_compat.c: Likewise.
2279         * math/w_fmod_compat.c: Likewise.
2280         * math/w_fmodf_compat.c: Likewise.
2281         * math/w_fmodl_compat.c: Likewise.
2282         * math/w_hypot_compat.c: Likewise.
2283         * math/w_hypotf_compat.c: Likewise.
2284         * math/w_hypotl_compat.c: Likewise.
2285         * math/w_j0_compat.c: Likewise.
2286         * math/w_j0f_compat.c: Likewise.
2287         * math/w_j0l_compat.c: Likewise.
2288         * math/w_j1_compat.c: Likewise.
2289         * math/w_j1f_compat.c: Likewise.
2290         * math/w_j1l_compat.c: Likewise.
2291         * math/w_jn_compat.c: Likewise.
2292         * math/w_jnf_compat.c: Likewise.
2293         * math/w_jnl_compat.c: Likewise.
2294         * math/w_log10_compat.c: Likewise.
2295         * math/w_log10f_compat.c: Likewise.
2296         * math/w_log10l_compat.c: Likewise.
2297         * math/w_log2_compat.c: Likewise.
2298         * math/w_log2f_compat.c: Likewise.
2299         * math/w_log2l_compat.c: Likewise.
2300         * math/w_log_compat.c: Likewise.
2301         * math/w_logf_compat.c: Likewise.
2302         * math/w_logl_compat.c: Likewise.
2303         * math/w_pow_compat.c: Likewise.
2304         * math/w_powf_compat.c: Likewise.
2305         * math/w_powl_compat.c: Likewise.
2306         * math/w_remainder_compat.c: Likewise.
2307         * math/w_remainderf_compat.c: Likewise.
2308         * math/w_remainderl_compat.c: Likewise.
2309         * math/w_scalb_compat.c: Likewise.
2310         * math/w_scalbf_compat.c: Likewise.
2311         * math/w_scalbl_compat.c: Likewise.
2312         * math/w_sinh_compat.c: Likewise.
2313         * math/w_sinhf_compat.c: Likewise.
2314         * math/w_sinhl_compat.c: Likewise.
2315         * math/w_sqrt_compat.c: Likewise.
2316         * math/w_sqrtf_compat.c: Likewise.
2317         * math/w_sqrtl_compat.c: Likewise.
2318         * math/w_tgamma_compat.c: Likewise.
2319         * math/w_tgammaf_compat.c: Likewise.
2320         * math/w_tgammal_compat.c: Likewise.
2322         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2323         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2324         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2325         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2326         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2327         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2328         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2329         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2330         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2331         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2332         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2333         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2334         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2335         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2336         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2337         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2338         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2339         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2340         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2341         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2342         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2343         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2344         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2345         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2346         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2347         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2348         * sysdeps/ia64/fpu/w_log.c: Likewise.
2349         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2350         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2351         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2352         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2353         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2354         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2355         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2356         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2357         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2358         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2359         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2360         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2361         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2362         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2363         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2364         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2365         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2366         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2367         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2368         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2369         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2370         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2371         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2372         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2373         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2374         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2375         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2376         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2377         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2378         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2379         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2380         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2381         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2382         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2385         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2387         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2388         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2389         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2391         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2393         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2394         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2395         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2397         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2399         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2400         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2401         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2402         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2403         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2405         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2406         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2407         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2408         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2409         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2411         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2413         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2415         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2417         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2419         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2421         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2423         Likewise.
2424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2425         Likewise.
2426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2428         Likewise.
2429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2430         Likewise.
2431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2432         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2434         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2436         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2437         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2444         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2445         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2447         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2448         and adjusted for new #includes path
2449         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2450         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2451         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2452         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2453         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2454         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2455         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2456         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2457         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2458         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2459         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2460         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2461         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2462         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2463         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2464         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2465         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2466         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2467         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2468         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2469         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2470         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2471         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2472         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2473         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2474         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2475         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2476         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2477         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2478         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2479         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2480         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2481         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2482         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2483         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2484         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2485         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2486         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2487         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2488         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2489         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2490         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2491         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2492         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2493         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2494         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2495         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2496         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2497         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2498         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2499         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2500         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2501         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2502         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2503         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2504         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2505         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2506         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2507         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2508         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2509         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2510         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2511         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2512         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2513         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2514         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2515         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2516         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2517         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2518         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2519         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2520         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2521         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2522         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2523         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2524         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2525         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2526         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2527         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2528         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2529         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2530         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2531         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2532         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2533         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2534         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2535         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2536         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2537         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2538         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2539         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2540         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2541         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2542         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2543         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2544         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2545         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2546         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2547         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2549         Likewise.
2550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2551         Likewise.
2552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2553         Likewise.
2554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2555         Likewise.
2556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2557         Likewise.
2558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2559         Likewise.
2560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2563         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2564         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2565         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2567         Likewise.
2568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2569         Likewise.
2570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2571         Likewise.
2572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2573         Likewise.
2574         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2576         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2577         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2579 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2581         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2582         __jmp_buf_internal_tag.
2584         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2585         preserve NaN payload if [__mips_nan2008].
2586         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2588         [BZ #21022]
2589         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2591 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2593         * sysdeps/i386/fpu/libm-test-ulps: Update.
2595 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2597         * sysdeps/ia64/strcat.c: Remove file.
2598         * sysdeps/powerpc/strcat.c: Likewise.
2599         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2600         C implementation.
2601         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2602         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2604 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2605             Steven Munroe  <sjmunroe@us.ibm.com>
2606             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2608         [BZ #20822]
2609         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2610         (__lll_lock_elision): Access adapt_count via C11 atomics.
2611         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2612         (__lll_trylock_elision): Likewise.
2613         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2614         (__lll_unlock_elision):  Update adapt_count variable inside the
2615         critical section using C11 atomics.
2617 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2619         * math/test-fenvinline.c (do_test): Disable tests of raised
2620         exceptions if !EXCEPTION_TESTS (FLOAT).
2622 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2624         [BZ #19390]
2625         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2626         maximum string size.
2627         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2628         in pointer addition.
2629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2630         Likewise.
2632 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2634         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2635         passed to tst-ldconfig-X.sh.
2637 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2639         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2641 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2643         [BZ #21019]
2644         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2645         New syscall entry.
2646         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2647         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2648         lseek.
2650         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2651         power4 glibc for powerpc-linux-gnu.
2653 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2655         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2656         semctl.
2658 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2660         * math/test-nearbyint-except.c: Include <stdbool.h>.
2661         (any_supported): New variable.
2662         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2663         set any_supported.
2664         (do_test): Return 77 if no floating-point type supported
2665         exceptions.
2667         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2668         condition on [__mips_hard_float].
2670 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2672         [BZ #21014]
2673         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2674         in pointer addition.
2675         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2677 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2679         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2680         new condvar.
2682 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2684         * scripts/build-many-glibcs.py (Context.checkout): Default
2685         binutils version to 2.28 branch.
2687 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2689         * support/support_format_netent.c (support_format_netent): Work
2690         around alpha struct netent definition difference.
2692 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2694         * support/xwrite.c (xwrite): Use %td for pointer difference.
2696 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2698         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2699         have-tunables only.
2700         (tests-static): Add tst-malloc-usable-static-tunables for
2701         have-tunables only.
2703 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2705         * scripts/config.guess: Update to version 2017-01-01.
2706         * scripts/config.sub: Update to version 2017-01-01.
2708         * NEWS: Update copyright dates.
2709         * catgets/gencat.c (print_version): Likewise.
2710         * csu/version.c (banner): Likewise.
2711         * debug/catchsegv.sh: Likewise.
2712         * debug/pcprofiledump.c (print_version): Likewise.
2713         * debug/xtrace.sh (do_version): Likewise.
2714         * elf/ldconfig.c (print_version): Likewise.
2715         * elf/ldd.bash.in: Likewise.
2716         * elf/pldd.c (print_version): Likewise.
2717         * elf/sotruss.sh: Likewise.
2718         * elf/sprof.c (print_version): Likewise.
2719         * iconv/iconv_prog.c (print_version): Likewise.
2720         * iconv/iconvconfig.c (print_version): Likewise.
2721         * locale/programs/locale.c (print_version): Likewise.
2722         * locale/programs/localedef.c (print_version): Likewise.
2723         * login/programs/pt_chown.c (print_version): Likewise.
2724         * malloc/memusage.sh (do_version): Likewise.
2725         * malloc/memusagestat.c (print_version): Likewise.
2726         * malloc/mtrace.pl: Likewise.
2727         * manual/libc.texinfo: Likewise.
2728         * nptl/version.c (banner): Likewise.
2729         * nscd/nscd.c (print_version): Likewise.
2730         * nss/getent.c (print_version): Likewise.
2731         * nss/makedb.c (print_version): Likewise.
2732         * posix/getconf.c (main): Likewise.
2733         * scripts/test-installation.pl: Likewise.
2734         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2736         * All files with FSF copyright notices: Update copyright dates
2737         using scripts/update-copyrights.
2738         * intl/plural.c: Regenerated.
2739         * locale/programs/charmap-kw.h: Likewise.
2740         * locale/programs/locfile-kw.h: Likewise.
2742 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2744         [BZ #20593]
2745         Update DNS RR type definitions.
2746         * scripts/gen-rrtypes.py: New file.
2747         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2748         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2749         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2750         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2751         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2752         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2753         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2754         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2755         ns_t_ta, ns_t_dlv.
2756         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2757         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2758         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2759         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2760         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2761         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2762         Define.
2763         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2764         entry for ns_t_zxfr.
2766 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2768         [BZ #18784]
2769         CVE-2015-5180
2770         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2771         T_UNSPEC.  Adjust value.
2772         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2773         * resolv/res_query.c (__libc_res_nquery): Likewise.
2774         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2775         QTYPEs.
2776         * resolv/tst-resolv-qtypes.c: New file.
2777         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2778         (tst-resolv-qtypes): Link against libresolv and libpthread.
2780 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2782         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2784 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2786         * manual/tunables.texi: New chapter.
2787         * manual/Makefile (chapters): Add it.
2788         * manual/probes.texi (@node): Point to the Tunables chapter.
2790         * Makeconfig (have-tunables): Check for non-negative instead
2791         of positive.
2792         * configure.ac: Add 'valstring' as a valid value for
2793         --enable-tunables.
2794         * configure: Regenerate.
2795         * elf/Makefile (have-tunables): Check for non-negative instead
2796         of positive.
2797         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2798         dl-tunables.c.
2799         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2800         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2801         (tunables_strdup): Likewise.
2802         (disable_tunables): Likewise.
2803         (parse_tunables): Likewise.
2804         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2805         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2806         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2807         (TUNABLES_FRONTEND_yes): New macro, define as
2808         TUNABLES_FRONTEND_valstring by default.
2809         * manual/install.texi: Document new acceptable values for
2810         --enable-tunables.
2811         * INSTALL: Regenerate.
2813         * config.make.in (have-loop-to-function): Define.
2814         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2815         -fno-tree-loop-distribute-patterns.
2816         * elf/dl-tunables.c: Include libc-internals.h.
2817         (GLIBC_TUNABLES): New macro.
2818         (tunables_strdup): New function.
2819         (parse_tunables): New function.
2820         (min_strlen): New function.
2821         (__tunables_init): Use the new functions and macro.
2822         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2823         * malloc/tst-malloc-usable-tunables.c: New test case.
2824         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2825         * malloc/Makefile (tests, tests-static): Add tests.
2827         * manual/install.texi: Add --enable-tunables option.
2828         * INSTALL: Regenerate.
2829         * README.tunables: New file.
2830         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2831         (before-compile): Generate dl-tunable-list.h early.
2832         * config.h.in: Add HAVE_TUNABLES.
2833         * config.make.in: Add have-tunables.
2834         * configure.ac: Add --enable-tunables option.
2835         * configure: Regenerate.
2836         * csu/init-first.c (__libc_init_first): Move
2837         __libc_init_secure earlier...
2838         * csu/init-first.c (LIBC_START_MAIN):... to here.
2839         Include dl-tunables.h, libc-internal.h.
2840         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2841         binaries.
2842         * elf/Makefile (dl-routines): Add dl-tunables.
2843         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2844         namespace.
2845         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2846         only when !HAVE_TUNABLES.
2847         * elf/rtld.c (process_envvars): Likewise.
2848         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2849         (_dl_sysdep_start): Call __tunables_init.
2850         * elf/dl-tunable-types.h: New file.
2851         * elf/dl-tunables.c: New file.
2852         * elf/dl-tunables.h: New file.
2853         * elf/dl-tunables.list: New file.
2854         * malloc/tst-malloc-usable-static.c: New test case.
2855         * malloc/Makefile (tests-static): Add it.
2856         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2857         Define TUNABLE_NAMESPACE.
2858         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2859         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2860         callback functions.
2861         (ptmalloc_init): Set tunable values.
2862         * scripts/gen-tunables.awk: New file.
2863         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2864         (_dl_sysdep_start): Call __tunables_init.
2866 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2868         * resolv/resolv.h (RES_BLAST): Deprecate.
2869         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2870         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2871         to RES_BLAST.
2873 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2875         [BZ #19582]
2876         Deprecate RES_USE_INET6.
2877         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2878         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2879         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2880         RES_USE_INET6.
2881         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2882         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2883         (_nss_nisplus_gethostbyaddr_r): Likewise.
2884         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2885         of res_use_inet6.
2886         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2887         instead of RES_USE_INET6.
2888         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2889         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2890         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2891         Likewise.
2892         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2893         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2894         Likewise.
2895         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2896         (_nss_dns_gethostbyname_r): Likewise.
2897         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2898         alternate RES_USE_INET6 handling.
2899         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2900         instead of RES_USE_INET6.
2901         * resolv/res_init.c (res_setoptions): Likewise.
2902         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2903         * resolv/resolv-internal.h: New file.
2904         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2905         make the deprecation warning non-fatal.
2906         * resolv/README (Using the resolver in multi-threaded code): Drop
2907         reference to RES_USE_INET6.
2908         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2909         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2911 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2913         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2914         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2915         tst-resolv-search.
2916         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2917         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2918         with libresolv and libpthread.
2919         * resolv/tst-bug18665.c: New file.
2920         * resolv/tst-bug18665-tcp: Likewise.
2921         * resolv/tst-res_use_inet6: Likewise.
2922         * resolv/tst-resolv-basic: Likewise.
2923         * resolv/tst-resolv-network: Likewise.
2924         * resolv/tst-resolv-search: Likewise.
2925         * support/Makefile (libsupport-routines): Add check_addrinfo,
2926         check_dns_packet, check_hostent, check_netent, resolv_test,
2927         support_format_address_family, support_format_addrinfo,
2928         support_format_dns_packet, support_format_herrno,
2929         support_format_hostent, support_format_netent, support_run_diff,
2930         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2931         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2932         xstrdup, xwrite.
2933         * support/check_addrinfo.c: New file.
2934         * support/check_dns_packet.c: Likewise.
2935         * support/check_hostent.c: Likewise.
2936         * support/check_netent.c: Likewise.
2937         * support/check_nss.h: Likewise.
2938         * support/format_nss.h: Likewise.
2939         * support/resolv_test.c: Likewise.
2940         * support/resolv_test.h: Likewise.
2941         * support/run_diff.h: Likewise.
2942         * support/support_format_address_family.c: Likewise.
2943         * support/support_format_addrinfo.c: Likewise.
2944         * support/support_format_dns_packet.c: Likewise.
2945         * support/support_format_herrno.c: Likewise.
2946         * support/support_format_hostent.c: Likewise.
2947         * support/support_format_netent.c: Likewise.
2948         * support/support_run_diff.c: Likewise.
2949         * support/xaccept.c: Likewise.
2950         * support/xbind.c: Likewise.
2951         * support/xconnect.c: Likewise.
2952         * support/xfclose.c: Likewise.
2953         * support/xfopen.c: Likewise.
2954         * support/xgetsockname.c: Likewise.
2955         * support/xlisten.c: Likewise.
2956         * support/xmemstream.c: Likewise.
2957         * support/xmemstream.h: Likewise.
2958         * support/xpoll.c: Likewise.
2959         * support/xpthread_once.c: Likewise.
2960         * support/xrecvfrom.c: Likewise.
2961         * support/xsendto.c: Likewise.
2962         * support/xsetsockopt.c: Likewise.
2963         * support/xstdio.h: Likewise.
2964         * support/xstrdup.c: Likewise.
2965         * support/support.h (xstrdup): Declare.
2966         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2967         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2968         * support/xthread.h (xpthread_once): Likwise.
2969         * support/xunistd.h (xwrite): Declare.
2971 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2973         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2974         (test_verbose): Declare.
2975         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2976         * support/support_test_main.c (default_options): Likewise.
2977         (usage, support_test_main): Handle 'v'.
2978         (test_verbose): Define.
2979         * support/tst-support_record_failure.c (do_test): Use
2980         test_verbose.
2981         * support/tst-support_record_failure-2.sh (different_status): Add
2982         --verbose test.
2984 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2986         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2987         test failures are recorded.
2988         * support/check.c (support_print_failure_impl): Call
2989         support_record_failure.
2990         (support_exit_failure_impl): Call support_record_failure if status
2991         indicates failure.
2992         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2993         * support/xasprintf.c (xasprintf): Likewise.
2994         * support/xfork.c (xfork): Likewise.
2995         * support/xpthread_check_return.c (xpthread_check_return):
2996         Likewise.
2997         * support/xsocket.c (xsocket): Likeweise.
2998         * support/xwaitpid.c (xwaitpid): Likewise.
2999         * support/support_record_failure.c (struct test_failures): Adjust
3000         to coding style.
3001         * support/support_test_verify_impl.c (support_test_verify_impl):
3002         Adjust error messages.
3003         * support/tst-support_record_failure-2.sh (different_status):
3004         Adjust error messages.
3006 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3008         * support/namespace.h: New file.
3009         * support/support_become_root.c: Likewise.
3010         * support/support_enter_network_namespace.c: Likewise.
3011         * support/tst-support-namespace.c: Likewise.
3012         * support/xsocket.c: Likewise.
3013         * support/xsocket.h: Likewise.
3014         * support/Makefile (libsupport-routines): Add support_become_root,
3015         support_enter_network_namespace, xsocket.
3016         (tests): Add tst-support-namespace.
3018 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3020         [BZ #17252]
3021         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3022         __USE_GNU.
3024 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3026         [BZ #13165]
3027         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3028         use new algorithm.
3029         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3030         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3031         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3032         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3033         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3034         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3035         __condvar_cleanup_waiting, __condvar_dec_grefs,
3036         __pthread_cond_wait_common): New.
3037         (__condvar_cleanup): Remove.
3038         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3039         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3040         Likewise.
3041         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3042         Likewise.
3043         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3044         * nptl/tst-cond1.c: Add comment.
3045         * nptl/tst-cond20.c (do_test): Adapt.
3046         * nptl/tst-cond22.c (do_test): Likewise.
3047         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3048         structure.
3049         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3050         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3051         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3052         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3053         Likewise.
3054         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3055         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3056         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3057         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3058         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3059         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3060         Likewise.
3061         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3062         Likewise.
3063         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3064         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3065         (COND_CLOCK_BITS): Adapt.
3066         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3067         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3068         __PTHREAD_COND_SHARED_MASK): New.
3069         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3070         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3071         * nptl/nptl_lock_constants.pysym: Adapt.
3072         * nptl/test-cond-printers.py: Adapt.
3073         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3074         cond_compat_check_and_clear): Adapt.
3075         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3077         (__pthread_cond_timedwait): ... and move here.
3078         * nptl/DESIGN-condvar.txt: Remove file.
3079         * nptl/lowlevelcond.sym: Likewise.
3080         * nptl/pthread_cond_timedwait.c: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3082         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3087         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3091         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3092         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3095         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3098 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3100         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3101         (fromfp): New declaration.
3102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3105         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3110         * math/math.h: Include <bits/types.h>.
3111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3112         constant and macro.
3113         (FP_INT_DOWNWARD): Likewise.
3114         (FP_INT_TOWARDZERO): Likewise.
3115         (FP_INT_TONEARESTFROMZERO): Likewise.
3116         (FP_INT_TONEAREST): Likewise.
3117         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3118         (fromfpf): Likewise.
3119         (fromfpl): Likewise.
3120         (ufromfp): Likewise.
3121         (ufromfpf): Likewise.
3122         (ufromfpl): Likewise.
3123         (fromfpx): Likewise.
3124         (fromfpxf): Likewise.
3125         (fromfpxl): Likewise.
3126         (ufromfpx): Likewise.
3127         (ufromfpxf): Likewise.
3128         (ufromfpxl): Likewise.
3129         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3130         s_fromfpxF and s_ufromfpxF.
3131         * math/gen-fromfp-tests.py: New file.
3132         * math/gen-fromfp-tests-inputs: Likewise.
3133         * math/libm-test.inc: Include <stdint.h>
3134         (check_intmax_t): New function.
3135         (check_uintmax_t): Likewise.
3136         (struct test_fiu_M_data): New type.
3137         (struct test_fiu_U_data): Likewise.
3138         (RUN_TEST_fiu_M): New macro.
3139         (RUN_TEST_LOOP_fiu_M): Likewise.
3140         (RUN_TEST_fiu_U): Likewise.
3141         (RUN_TEST_LOOP_fiu_U): Likewise.
3142         (fromfp_test_data): New array.
3143         (fromfp_test): New function.
3144         (fromfpx_test_data): New array.
3145         (fromfpx_test): New function.
3146         (ufromfp_test_data): New array.
3147         (ufromfp_test): New function.
3148         (ufromfpx_test_data): New array.
3149         (ufromfpx_test): New function.
3150         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3151         ufromfpx_test.
3152         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3153         characters.
3154         * math/test-tgmath-ret.c: Include <stdint.h>.
3155         (rm): New variable.
3156         (width): Likewise.
3157         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3158         called function.
3159         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3160         CHECK_RET_CONST_TYPE.
3161         (CHECK_RET_CONST_DOUBLE): Likewise.
3162         (CHECK_RET_CONST_LDOUBLE): Likewise.
3163         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3164         macros.
3165         (fromfp): New CHECK_RET_CONST call.
3166         (ufromfp): Likewise.
3167         (fromfpx): Likewise.
3168         (ufromfpx): Likewise.
3169         (do_test): Call check_return_fromfp, check_return_ufromfp,
3170         check_return_fromfpx and check_return_ufromfpx.
3171         * math/test-tgmath.c: Include <stdint.h>
3172         (NCALLS): Increase to 138.
3173         (F(compile_test)): Initialize i.  Call fromfp functions.
3174         (F(fromfp)): New function.
3175         (F(fromfpx)): Likewise.
3176         (F(ufromfp)): Likewise.
3177         (F(ufromfpx)): Likewise.
3178         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3179         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3180         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3181         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3182         ufromfpxl.
3183         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3184         ufromfp and ufromfpx.
3185         * math/fromfp.h: New file.
3186         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3187         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3188         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3189         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3190         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3191         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3192         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3193         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3194         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3195         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3196         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3198         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3199         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3200         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3206         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3208         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3211         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3212         ufromfp, fromfpx and ufromfpx.
3213         (CFLAGS-nldbl-fromfp.c): New variable.
3214         (CFLAGS-nldbl-fromfpx.c): Likewise.
3215         (CFLAGS-nldbl-ufromfp.c): Likewise.
3216         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3217         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3218         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3219         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3220         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3221         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3222         * sysdeps/nacl/libm.abilist: Update.
3223         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3224         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3225         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3226         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3227         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3228         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3229         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3230         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3231         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3232         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3233         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3234         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3236         Likewise.
3237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3238         Likewise.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3240         Likewise.
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3242         Likewise.
3243         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3245         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3246         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3247         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3249         Likewise.
3250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3251         Likewise.
3252         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3253         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3254         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3256 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3258         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3259         compat-gethnamaddr.
3260         (CPPFLAGS): Remove.
3261         * resolv/gethnamaddr.c: Rename ...
3262         * resolv/compat-gethnamaddr.c: ... to this file.
3263         (_endhtent): Make static.
3264         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3265         symbol.
3266         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3267         compat symbol.
3268         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3269         symbol.
3270         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3271         Turn into compat symbol.
3272         * include/resolv.h (_endhtent): Remove declaration.
3274 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3276         * bits/types.h (__intmax_t): New typedef.
3277         (__uintmax_t): Likewise.
3278         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3279         (intmax_t): Define using __intmax_t.
3280         (uintmax_t): Define using __uintmax_t.
3282         * support/Makefile (tests-special): Make definition conditional on
3283         [$(run-built-tests) = yes].
3284         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3285         on [$(run-built-tests) = yes].
3287 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3289         * Rules (tests): Add tests-printers-programs to tests to be
3290         built.
3292 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3294         * sysvipc/Makefile (tests): Add test-sysvshm.
3295         * sysvipc/test-sysvshm.c: New file.
3297         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3298         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3299         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3300         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3301         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3302         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3303         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3304         Likewise.
3305         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3306         Likewise.
3307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3308         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3309         is defined.
3311         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3312         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3313         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3314         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3315         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3316         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3317         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3318         Likewise.
3319         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3320         Likewise.
3321         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3322         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3323         defined.
3325         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3326         oldshmctl.
3327         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3328         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3329         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3330         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3331         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3332         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3333         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3334         Likewise.
3335         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3336         Likewise.
3337         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3338         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3339         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3340         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3341         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3342         implementation.
3343         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3344         if it is defined.
3346         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3347         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3348         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3349         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3350         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3351         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3352         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3353         Likewise.
3354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3355         Likewise.
3356         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3357         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3358         Define to __NR_osf_shmat.
3359         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3360         defined.
3362         * sysvipc/Makefile (tests): Add test-sysvsem.
3363         * sysvipc/test-sysvsem.c: New file.
3365         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3366         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3367         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3368         Likewise.
3369         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3370         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3371         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3376         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3377         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3378         add a comment about s390 syscall difference from default one.
3379         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3380         syscall if it is defined.
3382         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3383         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3384         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3385         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3386         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3387         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3388         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3389         Likewise.
3390         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3391         Likewise.
3392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3393         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3394         defined.
3396         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3397         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3398         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3399         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3400         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3401         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3402         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3403         Likewise.
3404         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3405         Likewise.
3406         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3407         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3408         if it is defined.
3410         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3411         oldsemctl.
3412         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3413         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3414         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3415         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3416         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3417         implementation.
3418         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3419         syscall if it is defined.
3420         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3421         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3422         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3423         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3424         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3425         Likewise.
3426         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3428         * sysvipc/Makefile (tests): Add test-sysvmsg.
3429         * sysvipc/test-sysvmsg.c: New file.
3430         * support/check.h (FAIL_UNSUPPORTED): New define.
3432         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3433         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3434         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3435         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3436         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3437         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3438         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3439         Likewise.
3440         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3443         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3444         define.
3446         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3447         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3448         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3449         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3450         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3451         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3452         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3453         Likewise.
3454         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3455         Likewise.
3456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3457         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3458         if defined.
3460         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3461         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3462         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3463         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3464         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3465         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3467         Likewise.
3468         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3469         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3470         Likewise.
3471         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3472         if defined.
3473         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3475         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3476         oldmsgctl.
3477         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3478         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3479         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3480         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3481         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3482         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3483         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3484         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3485         Likewise.
3486         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3487         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3488         implementation.
3489         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3490         if defined.
3492         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3493         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3494         definition and define its own.
3495         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3496         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3497         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3498         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3499         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3500         definitions to common header.
3501         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3502         operation from ipc_ops.h.
3504         * sysdeps/unix/sysv/linux/kernel-features.h
3505         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3506         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3507         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3509         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3511         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3513         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3514         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3515         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3516         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3517         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3518         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3519         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3521 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3523         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3524         overflow in pointer addition.
3526 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3528         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3529         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3531         (strchr): Add __strchr_power8 to list of strchr functions.
3532         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3533         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3534         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3535         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3536         (strchr): Add __strchr_power8 to ifunc list.
3537         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3538         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3539         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3540         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3542 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3544         * support/Makefile (libsupport-routines): Add
3545         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3546         (tests): Add tst-support_record_failure.
3547         (tests-special): tst-support_record_failure-2.
3548         (tst-support_record_failure-2.out): Depend on
3549         tst-support_record_failure-2.sh and tst-support_record_failure.
3550         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3551         (support_test_verify_impl, support_record_failure)
3552         (support_report_failure, support_report_failure_reset): Declare.
3553         * support/support_test_main.c (adjust_exit_status): New function.
3554         (support_test_main): Call it to incorporate record test failures.
3555         * support/support_test_verify_impl.c: New file.
3556         * support/support_record_failure.c: Likewise.
3557         * support/tst-support_record_failure.c: Likewise.
3558         * support/tst-support_record_failure-2.sh: Likewise.
3559         * support/xunistd.h: Likewise.
3560         * support/xfork.c: Likewise.
3561         * support/xwaitpid.c: Likewise.
3563 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3565         * scripts/check-c++-types.sh: Add comments.
3567 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3569         [BZ #19514]
3570         * resolv/res_send.c: Fix typo in comment.
3571         * sysdeps/i386/i386-mcount.S: Likewise.
3572         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3573         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3574         * sysdeps/sparc/sparc-mcount.S: Likewise.
3576 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3578         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3579         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3580         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3581         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3582         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3583         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3584         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3585         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3587 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3589         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3591 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3593         [BZ #17252]
3594         * posix/unistd.h (getentropy): Declare.
3596 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3598         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3599         Remove.
3600         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3601         (cmd): Remove spoof, nospoof, spoofalert.
3602         (parse_line): Ignore spoof-related lines.
3603         (do_init): Do not process RESOLV_SPOOF_CHECK.
3605 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3607         [BZ #20964]
3608         sunrpc: Always obtain AF_INET addresses from NSS.
3609         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3610         * sunrpc/rpc_gethostbyname.c: New file.
3611         * sunrpc/Makefile (routines): Add it.
3612         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3613         * sunrpc/clnt_simp.c (callrpc): Likewise.
3614         * sunrpc/getrpcport.c (getrpcport): Likewise.
3616 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3618         * sunrpc/rpcinfo.c: Remove.
3619         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3621 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3623         [BZ# 19387]
3624         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3625         addition.
3626         * string/test-memchr.c (do_test): Remove alignment limitation.
3627         (test_main): Add test that trigger BZ# 19387.
3629 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3631         [BZ #7065]
3632         Enable stack protectore if requested by ./configure.
3633         * Makeconfig (+stack-protector): New variable.
3634         (+cflags): Use it.
3636 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3638         [BZ #7065]
3639         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3640         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3641         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3642         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3643         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3645 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3647         [BZ #7065]
3648         * login/Makefile (pt_chown-cflags): Remove.
3649         * nscd/Makefile (CFLAGS-nscd): Likewise.
3650         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3652 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3654         [BZ #7065]
3655         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3656         non-libc-linking testcase.
3658 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3659             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3660             Florian Weimer  <fweimer@redhat.com>
3662         [BZ #7065]
3663         PLT avoidance for __stack_chk_fail*.
3664         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3665         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3666         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3667         __stack_chk_fail_local alias.
3668         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3669         (__stack_chk_fail): Turn into hidden reference to
3670         __stack_chk_fail_local.
3672 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3674         [BZ #7065]
3675         * configure.ac: Add check for unsupported stack-protection level.
3676         (libc_cv_predef_stack_protector): Remove.
3677         (no_ssp): New variable.
3678         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3679         (stack_protector): Set to -fno-stack-protector similarly.
3680         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3681         (libc_cv_asm_set_directive): Likewise.
3682         (libc_cv_protected_data): Likewise.
3683         (libc_cv_z_combreloc): Likewise.
3684         (libc_cv_hashstyle): Likewise.
3685         (libc_cv_has_glob_dat): Likewise.
3686         (libc_cv_output_format): Likewise.
3687         (libc_cv_output_format): Likewise.
3688         (libc_cv_ehdr_start): Likewise.
3689         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3690         (LIBC_LINKER_FEATURE): Likewise.
3691         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3693 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3695         [BZ #7065]
3696         * elf/Makefile (dummy-stack-chk-fail): New.
3697         (librtld.map): Use it.
3699 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3701         [BZ #7065]
3702         Compile the dynamic linker without stack protection.
3703         * elf/Makefile (elide-stack-protector): New.
3704         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3705         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3706         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3707         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3709 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3711         [BZ #7065]
3712         * config.make.in (have-ssp, no-stack-protector): New.
3713         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3714         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3715         (CFLAGS-sbrk.op): Likewise.
3716         (CFLAGS-brk.o): Likewise.
3717         (CFLAGS-brk.op): Likewise.
3718         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3719         (CFLAGS-wordcopy.c): Likewise.
3721 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3723         [BZ #7065]
3724         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3725         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3726         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3727         (__ifunc_resolver): Use it.
3728         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3729         inhibit_stack_protector.
3730         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3731         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3732         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3733         (foo_protected_ifunc): Likewise.
3734         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3735         (foo_protected_ifunc): Likewise.
3736         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3737         * sysdeps/nacl/nacl_interface_query.c
3738         (nacl_interface_query_ifunc): Likewise.
3739         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3740         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3741         Likewise.
3742         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3743         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3744         the generated vDSO syscall resolver.
3746 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3747             Florian Weimer  <fweimer@redhat.com>
3749         [BZ #7065]
3750         Initialize the stack guard earlier when linking statically.
3751         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3752         (__pthread_initialize_minimal): Declare.
3753         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3754         declaration.
3755         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3756         stack canary and apply_irel initialization up.  Call
3757         __pthread_initialize_minimal only if linked in.
3758         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3759         constant values.
3760         (__pthread_initialize_minimal): Remove.
3761         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3762         (__pthread_initialize_minimal_internal): Do not call
3763         __libc_setup_tls.
3765 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3767         [BZ #7065]
3768         * configure.ac (libc_cv_ssp): Move up.
3769         (libc_cv_ssp_strong): Likewise.
3770         (libc_cv_ssp_all): New.
3771         (stack_protector): Augment, adding -fstack-protector-all.
3772         (no_stack_protector): New.
3773         (STACK_PROTECTOR_LEVEL): New.
3774         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3775         * manual/install.texi (--enable-stack-protector): Document it.
3776         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3778 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3780         * README.pretty-printers: Must specify CPPFLAGS-* also.
3781         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3782         (CPPFLAGS-test-mutex-printers.c): Define.
3783         (CPPFLAGS-test-condattr-printers.c): Define.
3784         (CPPFLAGS-test-cond-printers.c): Define.
3785         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3786         (CPPFLAGS-test-rwlock-printers.c): Define.
3788         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3789         (tests): Add tst-cancel-getpwuid_r.
3790         * nss/tst-cancel-getpwuid_r.c: New file.
3792         [BZ #11941]
3793         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3794         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3795         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3796         tst-nodelete-dlclose.
3797         (modules-names): Add tst-nodelete-dlclose-dso and
3798         tst-nodelete-dlclose-plugin.
3799         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3800         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3801         ($(objpfx)tst-nodelete-dlclose): Define.
3802         ($(objpfx)tst-nodelete-dlclose.out): Define.
3804 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3806         * scripts/test_printers_common.py: Log GDB output in case of
3807         Python detection failure.
3809 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3811         * configure.ac: Check for python3 or python.
3812         * configure: Regenerated.
3813         * config.make.in (PYTHON): New variable.
3814         * benchtests/Makefile: Don't define PYTHON.
3815         (bench): Define target only if PYTHON was defined.
3816         * Rules: Don't define PYTHON.
3817         Define pretty printer targets only if PYTHON was defined.
3818         (tests-printers): Add to tests-unsupported if PYTHON is not
3819         found.
3820         (python-flags, python-invoke): Remove.
3821         (tests-printers-out): Use PYTHON instead of python-invoke.
3823 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3825         [BZ #20978]
3826         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3827         Compare name == NULL, not name != NULL.
3829         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3830         trailing whitespace removed.
3831         * scripts/config.guess: Update to version 2016-10-02.
3832         * scripts/config.sub: Update to version 2016-11-19.
3833         * scripts/install-sh: Update to version 2016-01-11.22.
3834         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3835         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3837 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3839         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3840         (do_one_test) Restore original string so iteration works.
3841         * string/string-inlines.c (do_test): Create better input strings.
3842         (test_main) Reduce number of testruns.
3843         * string/string-inlines.c (__old_strsep_1c): New function.
3844         (__old_strsep_2c): Likewise.
3845         (__old_strsep_3c): Likewise.
3846         * string/strsep.c (__strsep): Remove case of small delim string.
3847         Call strcspn directly rather than strpbrk.
3848         * string/bits/string2.h (__strsep): Remove define.
3849         (__strsep_1c): Remove.
3850         (__strsep_2c): Remove.
3851         (__strsep_3c): Remove.
3852         (strsep): Remove.
3853         * sysdeps/unix/sysv/linux/internal_statvfs.c
3854         (__statvfs_getflags): Rename to __strsep.
3856 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3858         * csu/libc-tls.c (_dl_tls_setup): Remove.
3859         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3860         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3861         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3863 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3865         [BZ #7065]
3866         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3867         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3869 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3870             Florian Weimer  <fweimer@redhat.com>
3872         [BZ #7065]
3873         * csu/Makefile (tests): Empty assignment and document it.
3874         (tests-static): Remove.
3875         * csu/tst-empty.c: Move to...
3876         * misc/tst-empty.c: ... here.  Switch to new test driver.
3877         * csu/tst-atomic.c: Move to...
3878         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3879         * csu/tst-atomic-long.c: Move to...
3880         * misc/tst-atomic-long.c: ... here.
3881         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3882         tst-atomic-long.
3883         (tests-static): Add tst-empty.
3885 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3887         * manual/nss.texi: Change incorrect @vtable to @table.
3888         * manual/arith.texi: Convert @tables of variables to @vtables
3889         and remove unnecessary indexing.
3890         * manual/filesys.texi: Likewise.
3891         * manual/llio.texi: Likewise.
3892         * manual/memory.texi: Likewise.
3893         * manual/process.texi: Likewise.
3894         * manual/resource.texi: Likewise.
3895         * manual/search.texi: Likewise.
3896         * manual/signal.texi: Likewise.
3897         * manual/socket.texi: Likewise.
3898         * manual/stdio.texi: Likewise.
3899         * manual/sysinfo.texi: Likewise.
3900         * manual/syslog.texi: Likewise.
3901         * manual/terminal.texi: Likewise.
3902         * manual/time.texi: Likewise.
3903         * manual/users.texi: Likewise.
3905 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3907         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3908         (roundeven): New declaration.
3909         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3910         macro.
3911         * math/Versions (roundeven): New libm symbol at version
3912         GLIBC_2.25.
3913         (roundevenf): Likewise.
3914         (roundevenl): Likewise.
3915         * math/Makefile (libm-calls): Add s_roundevenF.
3916         * math/libm-test.inc (roundeven_test_data): New array.
3917         (roundeven_test): New function.
3918         (main): Call roundeven_test.
3919         * math/test-tgmath.c (NCALLS): Increase to 134.
3920         (F(compile_test)): Call roundeven.
3921         (F(roundeven)): New function.
3922         * manual/arith.texi (Rounding Functions): Document roundeven,
3923         roundevenf and roundevenl.
3924         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3925         * include/math.h (roundeven): Use libm_hidden_proto.
3926         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3927         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3928         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3929         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3930         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3931         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3932         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3933         roundeven.
3934         (CFLAGS-nldbl-roundeven.c): New variable.
3935         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3936         * sysdeps/nacl/libm.abilist: Update.
3937         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3944         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3945         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3946         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3947         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3948         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3950         Likewise.
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3954         Likewise.
3955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3958         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3963         Likewise.
3964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3965         Likewise.
3966         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3970 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3972         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3973         preprocessor indentation inside #if.
3975 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3977         * math/libm-test.inc (fmt_ftostr): New function.
3978         (print_float, check_float_internal): Replace some uses of
3979         FTOSTR with uses of fmt_ftostr.
3980         (print_max_error, print_complex_max_error, print_function_ulps)
3981         (print_complex_function_ulps): Remove uses of the macros
3982         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3983         * math/test-double.h (FTOSTR): Define to strfromd.
3984         (PRINTF_EXPR): Delete.
3985         (PRINTF_XEXPR): Likewise.
3986         (PRINTF_NEXPR): Likewise.
3987         * math/test-float.h (FTOSTR): Define to strfromf.
3988         (PRINTF_EXPR): Delete.
3989         (PRINTF_XEXPR): Likewise.
3990         (PRINTF_NEXPR): Likewise.
3991         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3992         (PRINTF_EXPR): Delete.
3993         (PRINTF_XEXPR): Likewise.
3994         (PRINTF_NEXPR): Likewise.
3996 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3999         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4000         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4001         (__lll_lock_elision): Decrement adapt_count while unlocking
4002         instead of before locking.
4003         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4004         (__lll_trylock_elision): Likewise.
4005         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4006         (__lll_unlock_elision): Likewise.
4008 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4010         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4011         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4012         Use __libc_tbegin_retry macro.
4014 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4016         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4017         Add -msoft-float.
4018         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4019         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4020         Use __libc_t* transaction macros instead of __builtin_t*.
4021         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4022         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4024 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4026         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4027         (__lll_lock_elision): Use atomics to load / store adapt_count.
4028         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4029         (__lll_trylock_elision): Likewise.
4031 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4033         Do not require memset elimination in explicit_bzero test.
4034         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4035         (enum test_expectation): Add NO_EXPECTATIONS.
4036         (subtests): NO_EXPECTATIONS for ordinary clear.
4037         (check_test_buffer): Handle NO_EXPECTATIONS.
4038         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4040 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4042         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4043         (fmaxmag): New declaration.
4044         (fminmag): Likewise.
4045         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4046         macro.
4047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4048         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4049         (fmaxmagf): Likewise.
4050         (fmaxmagl): Likewise.
4051         (fminmag): Likewise.
4052         (fminmagf): Likewise.
4053         (fminmagl): Likewise.
4054         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4055         * math/s_fmaxmag_template.c: New file.
4056         * math/s_fminmag_template.c: Likewise.
4057         * math/libm-test.inc (fmaxmag_test_data): New array.
4058         (fmaxmag_test): New function.
4059         (fminmag_test_data): New array.
4060         (fminmag_test): New function.
4061         (main): Call fmaxmag_test and fminmag_test.
4062         * math/test-tgmath.c (NCALLS): Increase to 132.
4063         (F(compile_test)): Call fmaxmag and fminmag.
4064         (F(fminmag)): New function.
4065         (F(fmaxmag)): Likewise.
4066         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4067         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4068         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4069         fminmag.
4070         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4071         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4072         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4073         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4075         and fminmag.
4076         (CFLAGS-nldbl-fmaxmag.c): New variable.
4077         (CFLAGS-nldbl-fminmag.c): Likewise.
4078         * sysdeps/nacl/libm.abilist: Update.
4079         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4087         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4094         Likewise.
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4096         Likewise.
4097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4098         Likewise.
4099         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4100         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4101         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4102         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4103         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4105         Likewise.
4106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4107         Likewise.
4108         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4109         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4110         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4112 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4114         [BZ #20973]
4115         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4116         wake-up in robust mutexes.
4117         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4119 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4121         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4122         (CFLAGS-bench-fmaxf.c): New rule.
4123         (CFLAGS-bench-fminf.c): Likewise.
4124         * benchtests/fmaxf-inputs: New file.
4125         * benchtests/fminf-inputs: Likewise.
4127         * benchtests/Makefile (bench-math): Add fmin and fmax.
4128         (CFLAGS-bench-fmax.c): New rule.
4129         (CFLAGS-bench-fmin.c): Likewise.
4130         * benchtests/fmax-inputs: New file.
4131         * benchtests/fmin-inputs: Likewise.
4133         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4134         parenthesis.
4135         (CMDLINE_PROCESS): Define using function instead of macro.
4136         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4137         of test-skeleton.
4138         * benchtests/bench-memchr.c: Likewise.
4139         * benchtests/bench-memcmp.c: Likewise.
4140         * benchtests/bench-memcpy-large.c: Likewise.
4141         * benchtests/bench-memcpy.c: Likewise.
4142         * benchtests/bench-memmem.c: Likewise.
4143         * benchtests/bench-memmove-large.c: Likewise.
4144         * benchtests/bench-memmove.c: Likewise.
4145         * benchtests/bench-memset-large.c: Likewise.
4146         * benchtests/bench-memset.c: Likewise.
4147         * benchtests/bench-rawmemchr.c: Likewise.
4148         * benchtests/bench-strcasecmp.c: Likewise.
4149         * benchtests/bench-strcasestr.c: Likewise.
4150         * benchtests/bench-strcat.c: Likewise.
4151         * benchtests/bench-strchr.c: Likewise.
4152         * benchtests/bench-strcmp.c: Likewise.
4153         * benchtests/bench-strcpy.c: Likewise.
4154         * benchtests/bench-strcpy_chk.c: Likewise.
4155         * benchtests/bench-strlen.c: Likewise.
4156         * benchtests/bench-strncasecmp.c: Likewise.
4157         * benchtests/bench-strncmp.c: Likewise.
4158         * benchtests/bench-strncpy.c: Likewise.
4159         * benchtests/bench-strnlen.c: Likewise.
4160         * benchtests/bench-strpbrk.c: Likewise.
4161         * benchtests/bench-strrchr.c: Likewise.
4162         * benchtests/bench-strsep.c: Likewise.
4163         * benchtests/bench-strspn.c: Likewise.
4164         * benchtests/bench-strstr.c: Likewise.
4165         * benchtests/bench-strtok.c: Likewise.
4167 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4169         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4170         stepping identification.
4171         (init_cpu_features): Add handle of Haswell.
4173 2016-11-25  Jim Meyering  <meyering@fb.com>
4175         [BZ #20386]
4176         Let gcc detect assert(a = 1) errors.
4177         * assert/assert.h (assert): Rewrite, retaining the old definintion
4178         when required, but otherwise putting the expression as-is in an "if"
4179         expression (hence, with no added parentheses) within a statement
4180         expression.
4182 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4184         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4185         DSO.
4187 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4189         * Rules (python-flags, python-invoke): New.
4190         ($(test-printers-out)): Use $(python-flags).
4192 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4194         * manual/arith.texi (Math Error Reporting): Document that sNaN
4195         arguments are not considered domain errors.
4197 2016-12-16  Zack Weinberg <zackw@panix.com>
4198             Florian Weimer <fweimer@redhat.com>
4199             Nick Mathewson <nickm@torproject.org>
4201         * string/explicit_bzero.c: New routine.
4202         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4203         * string/Makefile (routines, strop-tests, tests): Add them.
4204         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4205         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4207         * debug/explicit_bzero_chk.c: New routine.
4208         * debug/Makefile (routines): Add it.
4209         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4210         * string/bits/string3.h: Fortify explicit_bzero.
4212         * manual/string.texi: Document explicit_bzero.
4213         * NEWS: Mention addition of explicit_bzero.
4215         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4216         data before returning, using explicit_bzero.
4217         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4218         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4219         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4221         * include/string.h: Redirect internal uses of explicit_bzero
4222         to __explicit_bzero_chk[_internal].
4223         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4224         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4225         * sysdeps/arm/nacl/libc.abilist
4226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4227         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4228         * sysdeps/unix/sysv/linux/arm/libc.abilist
4229         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4230         * sysdeps/unix/sysv/linux/i386/libc.abilist
4231         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4232         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4233         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4234         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4235         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4236         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4237         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4238         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4239         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4245         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4246         * sysdeps/unix/sysv/linux/sh/libc.abilist
4247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4252         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4253         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4254         Add entries for explicit_bzero and __explicit_bzero_chk.
4256 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4258         * math/fenv.h
4259         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4260         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4261         * math/test-fe-snans-always-signal.c: New file.
4262         * math/Makefile (tests): Add test-fe-snans-always-signal.
4263         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4264         * manual/arith.texi (Infinity and NaN): Document
4265         FE_SNANS_ALWAYS_SIGNAL.
4267 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4269         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4270         bracket.
4272 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4274         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4275         before calling execv.
4277 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4279         [BZ# 20971]
4280         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4281         overflow in pointer addition.
4282         * string/test-memchr.c (do_test): Add an argument to pass as
4283         the size on memchr.
4284         (test_main): Add check for SIZE_MAX.
4286 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4288         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4289         (libm-calls): Add w_scalblnF.
4290         * math/w_scalbln.c: Remove.
4291         * math/w_scalblnf.c: Likewise.
4292         * math/w_scalblnl.c: Likewise.
4293         * math/w_scalbln_template.c: New file with type-generic
4294         implementation based on math/w_scalbln.c.
4295         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4296         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4298 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4300         [BZ #20947]
4301         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4302         either is a signaling NaN.
4303         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4304         follow fmaxl more closely.
4305         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4306         when either is a signaling NaN.
4307         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4308         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4309         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4310         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4311         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4312         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4313         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4314         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4315         (fmin_test_data): Likewise.
4317 2016-12-15  Andreas Schwab  <schwab@suse.de>
4319         * support/support_test_main.c (support_test_main): Don't shadow
4320         file-local variable test_pid.
4322 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4324         [BZ #20947]
4325         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4326         either is a signaling NaN.
4327         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4329 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4331         [BZ #20947]
4332         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4333         when either is a signaling NaN.
4334         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4336         * bits/long-double.h: New file.
4337         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4338         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4339         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4340         * sysdeps/mips/bits/long-double.h: Likewise.
4341         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4342         * math/Makefile (headers): Add bits/long-double.h.
4343         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4344         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4345         <bits/wordsize.h>.
4346         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4347         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4348         * math/math.h: Do not include <bits/mathdef.h>.
4349         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4350         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4351         inclusion.
4352         * sysdeps/ia64/bits/mathdef.h: Remove file.
4353         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4354         * sysdeps/mips/bits/mathdef.h: Likewise.
4355         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4356         * sysdeps/s390/bits/mathdef.h: Likewise.
4357         * sysdeps/sparc/bits/mathdef.h: Likewise.
4358         * sysdeps/x86/bits/mathdef.h: Likewise.
4359         * sysdeps/s390/s390-32/bits/wordsize.h
4360         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4361         conditional code.
4362         * sysdeps/s390/s390-64/bits/wordsize.h
4363         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4364         Likewise.
4365         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4366         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4369         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4370         Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4372         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4373         Likewise.
4375         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4376         <linux/falloc.h>.
4377         (FALLOC_FL_KEEP_SIZE): Remove.
4378         (FALLOC_FL_PUNCH_HOLE): Likewise.
4379         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4380         (FALLOC_FL_ZERO_RANGE): Likewise.
4382 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4384         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4386 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4388         * sysdeps/unix/sysv/linux/renameat.c: New file.
4389         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4391         * sysdeps/unix/sysv/linux/rename.c: New file.
4392         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4394 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4396         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4397         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4398         * string/strtok_r.c (__strtok_r): Optimize for performance.
4399         * string/string-inlines.c (__old_strtok_r_1c): New function.
4400         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4402 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4404         * math/Makefile (gen-libm-calls): Add w_log1pF.
4405         (libm-calls): Remove w_log1pF.
4406         * math/w_log1p.c: Remove.
4407         * math/w_log1pf.c: Likewise.
4408         * math/w_log1pl.c: Likewise.
4409         * math/w_log1p_template.c: New file with type-generic
4410         implementation based on math/w_log1p.c.
4411         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4412         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4414 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4416         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4418 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4420         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4421         kernel version to 4.9.
4423 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4425         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4426         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4428 2016-12-13  Andreas Schwab  <schwab@suse.de>
4430         * sysdeps/powerpc/dl-procinfo.c: Don't define
4431         _dl_powerpc_platforms.
4432         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4433         constants instead of referencing _dl_powerpc_platforms.
4434         (_dl_platform_string): Remove.
4436 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4438         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4440 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4442         * Rules (binaries-shared-tests, binaries-pie-tests)
4443         (binaries-static-tests): Link with $(link-extra-libs-tests).
4444         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4445         Remove $(link-extra-libs-tests).
4447 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4449         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4450         (sysdep_routines): Add strncmp_power9.
4451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4452         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4453         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4454         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4455         (strncmp): Add __strncmp_power9 to ifunc list.
4456         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4458 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4460         [BZ #17252]
4461         Add getentropy, getrandom.
4462         * stdlib/sys/random.h: New file.
4463         (headers): Add it.
4464         * stdlib/Makefile (routines): Add getentropy, getrandom.
4465         (tests): Add tst-getrandom.
4466         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4467         * stdlib/getentropy.c: New file.
4468         * stdlib/getrandom.c: Likewise.
4469         * stdlib/tst-getrandom.c: Likewise.
4470         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4471         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4472         * manual/crypt.texi (Unpredictable Bytes): New section.
4473         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4474         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4475         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4483         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4484         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4488         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4490         Likewise.
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4492         Likewise.
4493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4496         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4497         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4498         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4506 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4508         [BZ #20956]
4509         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4510         as additional compiler barriers.
4511         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4512         (fn2, do_test): Declare with external linkage.
4513         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4514         (do_test): Declare with external linkage.
4515         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4516         (do_test): Declare with external linkage.
4517         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4518         (do_test): Declare with external linkage.
4520 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4522         * support/support_test_main.c (support_test_main): Use correct
4523         timeout.
4525 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4526             Florian Weimer  <fweimer@redhat.com>
4528         [BZ #16421]
4529         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4530         and __u6_addr32 members.
4531         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4532         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4533         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4534         Use __u6_addr32.
4535         * inet/tst-checks.c: Use <support/test-driver.c>
4536         * inet/tst-checks-posix.c: New file.
4537         * inet/Makefile (tests): Add it.
4538         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4540 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4542         New subdirectory support for build and test infrastructure.
4543         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4544         setting install-lib.
4545         * Makeconfig (link-extra-libs-tests): Define.
4546         (+link-pie-tests, +link-static-tests, +link-tests): Use
4547         link-extra-libs-tests.
4548         (rpath-dirs, all-subdirs): Add support.
4549         (built-modules): Add libsupport.
4550         (libsupport): Define.
4551         * support: New directory.
4552         * support/Makefile: New file.
4553         * support/check.c: Likewise.
4554         * support/check.h: Likewise.
4555         * support/delayed_exit.c: Likewise.
4556         * support/ignore_stderr.c: Likewise.
4557         * support/oom_error.c: Likewise.
4558         * support/set_fortify_handler.c: Likewise.
4559         * support/support.h: Likewise.
4560         * support/temp_file-internal.h: Likewise.
4561         * support/temp_file.c: Likewise.
4562         * support/test-driver.c: Likewise.
4563         * support/test-driver.h: Likewise.
4564         * support/test_main.c: Likewise.
4565         * support/write_message.c: Likewise.
4566         * support/xasprintf.c: Likewise.
4567         * support/xcalloc.c: Likewise.
4568         * support/xmalloc.c: Likewise.
4569         * support/xpthread_barrier_destroy.c: Likewise.
4570         * support/xpthread_barrier_init.c: Likewise.
4571         * support/xpthread_barrier_wait.c: Likewise.
4572         * support/xpthread_cancel.c: Likewise.
4573         * support/xpthread_check_return.c: Likewise.
4574         * support/xpthread_cond_wait.c: Likewise.
4575         * support/xpthread_create.c: Likewise.
4576         * support/xpthread_detach.c: Likewise.
4577         * support/xpthread_join.c: Likewise.
4578         * support/xpthread_mutex_lock.c: Likewise.
4579         * support/xpthread_mutex_unlock.c: Likewise.
4580         * support/xpthread_sigmask.c: Likewise.
4581         * support/xpthread_spin_lock.c: Likewise.
4582         * support/xpthread_spin_unlock.c: Likewise.
4583         * support/xrealloc.c: Likewise.
4584         * support/xsignal.h: Likewise.
4585         * support/xthread.h: Likewise.
4586         * support_tempfile.h: Likewise.
4587         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4588         (TEST_DATA_LIMIT): Remove unused macro.
4589         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4590         <support/check.h>.
4591         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4592         (ignore_stderr, set_fortify_handler): Remove.  Now in
4593         <support/support.h>.
4594         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4595         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4596         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4597         (xpthread_join): Remove.  Now in <support/xthread.h>.
4598         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4599         Introduce legacy wrappers.
4600         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4601         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4602         (write_message): Remove.
4603         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4604         test-skeleton.c.
4605         * io/test-open-tmpfile: Likewise.
4606         * io/tst-posix_fallocate-common.c: Likewise.
4607         * libio/tst-fseek.c: Likewise.
4608         * malloc/tst-malloc-backtrace.c: Likewise.
4609         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4610         * malloc/tst-malloc-thread-exit.c: Likewise.
4611         * nptl/tst-cancel7.c: Likewise.
4612         * nptl/tst-cleanup0.c: Likewise.
4613         * posix/tst-posix_fadvise-common.c: Likewise.
4614         * rt/tst-shm.c: Likewise.
4615         * time/bug-getdate1.c: Likewise.
4616         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4617         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4618         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4620 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4622         * Rules [$(run-built-tests) != no] (tests-expected): Add
4623         $(tests-printers).
4624         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4626 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4628         [BZ #20539]
4629         * math/Makefile (install-lib-ldscripts): Add libm.a.
4630         (install_subdir): Remove.
4631         (install-others): Add.
4632         ($(inst_libdir)/libm.a): Add rule for installation as
4633         linker script.
4634         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4636 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4638         * INSTALL: Regenerated.
4639         * Makeconfig: Add comments and whitespace to make the control flow
4640         clearer.
4641         (+link-printers-tests, +link-pie-printers-tests,
4642         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4643         built-rtld-LDFLAGS, link-libc-rpath,
4644         link-libc-tests-after-rpath-link,
4645         link-libc-printers-tests): New.
4646         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4647         link-libc-tests): Use the new variables as required.
4648         * Makerules ($(py-const)): New rule.
4649         generated: Add $(py-const).
4650         * README.pretty-printers: New file.
4651         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4652         (others): Depend on $(py-const).
4653         (tests): Depend on $(tests-printers-programs) or
4654         $(tests-printers-out),
4655         as required.  Pass $(tests-printers) to merge-test-results.sh.
4656         * manual/install.texi: Add requirements for testing the pretty
4657         printers.
4658         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4659         tests-printers, CFLAGS-test-mutexattr-printers.c
4660         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4661         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4662         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4663         * nptl/nptl-printers.py: New file.
4664         * nptl/nptl_lock_constants.pysym: Likewise.
4665         * nptl/test-cond-printers.c: Likewise.
4666         * nptl/test-cond-printers.py: Likewise.
4667         * nptl/test-condattr-printers.c: Likewise.
4668         * nptl/test-condattr-printers.py: Likewise.
4669         * nptl/test-mutex-printers.c: Likewise.
4670         * nptl/test-mutex-printers.py: Likewise.
4671         * nptl/test-mutexattr-printers.c: Likewise.
4672         * nptl/test-mutexattr-printers.py: Likewise.
4673         * nptl/test-rwlock-printers.c: Likewise.
4674         * nptl/test-rwlock-printers.py: Likewise.
4675         * nptl/test-rwlockattr-printers.c: Likewise.
4676         * nptl/test-rwlockattr-printers.py: Likewise.
4677         * scripts/gen-py-const.awk: Likewise.
4678         * scripts/test_printers_common.py: Likewise.
4679         * scripts/test_printers_exceptions.py: Likewise.
4681 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4683         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4684         argument.
4685         (Glibc.build_glibc): Strip installed shared libraries if
4686         requested.
4687         (get_parser): Add --strip option.
4688         (main): Update Context call.
4690 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4691             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4693         [BZ #20847]
4694         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4695         array bounds for else branch.
4696         (__execvpe): Style fixes.
4697         * posix/tst-vfork3.c (run_script): New function.
4698         (create_script): Likewise.
4699         (do_test): Use run_script internal function.
4700         (do_prepare): Use create_script internal function.
4702 2016-12-07  Andreas Schwab  <schwab@suse.de>
4704         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4705         (__elision_available): Don't declare.
4706         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4707         (__elision_available): Don't define.
4708         (elision_init): Don't set __elision_available.
4710 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #20940]
4713         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4714         return Inf for arguments Inf and sNaN.
4715         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4716         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4717         Likewise.
4718         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4719         Likewise.
4720         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4721         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4722         for arguments Inf and sNaN.  When returning a NaN, compute it by
4723         arithmetic on the arguments.
4724         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4725         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4726         arguments.
4728 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4730         [BZ #20916]
4731         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4732         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4733         to compute result.
4734         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4735         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4737 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4739         * include/atomic.h (__atomic_check_size_ls): New.
4740         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4741         atomic_store_release): Use it.
4742         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4743         (elision_adapt, ELIDE_LOCK): Use atomics.
4744         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4745         atomics and improve code comments.
4746         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4747         (__lll_trylock_elision): Likewise.
4749 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4751         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4752         programs.
4754 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4756         [BZ #20916]
4757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4758         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4759         arguments to compute result.
4760         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4761         1 for arguments (sNaN, 0) or (1, sNaN).
4762         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4765         [BZ #20919]
4766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4767         NaN first argument when raised to power 0.
4768         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4769         raising to power zero.
4770         * math/w_powf.c (__powf): Likewise.
4771         * math/w_powl.c (__powl): Likewise.
4772         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4773         pow (0, 0) or pow (NaN, 0).
4775 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4777         [BZ #20918]
4778         * configure.ac: Test for static NSS cryptographic libraries and set
4779         libc_cv_static_nss_crypt.
4780         * configure: Regenerate.
4781         * config.make.in (static-nss-crypt): Define.
4782         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4783         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4784         (CFLAGS-tst-linkall-static.c): Define.
4785         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4786         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4787         ($(objpfx)tst-linkall-static): Define.
4788         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4789         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4791 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4793         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4794         (one-hundred, tst-tls-many-dynamic-modules): Define.
4795         (modules-names): Add $(tst-tls-many-dynamic-modules).
4796         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4797         macros.
4798         (tst-tls-manydynamic): Link against libdl, libpthread.
4799         (tst-tls-manydynamic.out): The test needs the test modules at run
4800         time.
4801         * elf/tst-tls-manydynamic.c: New file.
4802         * elf/tst-tls-manydynamic.h: Likewise.
4803         * elf/tst-tls-manydynamicmod.c: Likewise.
4805 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4807         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4808         (TLS_DTV_UNALLOCATED): Add.
4809         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4810         offsets.
4812 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4814         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4816 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4818         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4819         Add -fno-optimize-sibling-calls.
4821 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4823         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4824         New declaration.
4825         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4826         macro.
4827         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4828         New macro.
4829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4831         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4832         (llogbf): Likewise.
4833         (llogbl): Likewise.
4834         * math/Makefile (gen-libm-calls): Add w_llogbF.
4835         (tests): Add test-fp-llogb-constants.
4836         * math/w_llogb_template.c: New file.  Based on
4837         math/w_ilogb_template.c.
4838         * math/libm-test.inc (llogb_test_data): New array.
4839         (llogb_test): New function.
4840         (main): Call llogb_test.
4841         * math/test-fp-llogb-constants.c: New file.  Based on
4842         math/test-fp-ilogb-constants.c.
4843         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4844         (do_test): Call check_return_llogb.
4845         * math/test-tgmath.c (NCALLS): Increase to 126.
4846         (F(compile_test)): Call llogb.
4847         (F(llogb)): New function.
4848         * manual/math.texi (Exponents and Logarithms): Document llogb,
4849         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4850         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4851         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4852         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4854         (CFLAGS-nldbl-llogb.c): New variable.
4855         * sysdeps/nacl/libm.abilist: Update.
4856         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4869         Likewise.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4871         Likewise.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4882         Likewise.
4883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4884         Likewise.
4885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4889 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4891         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4892         _Float128 instead of long double.
4893         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4895         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4896         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4897         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4898         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4899         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4900         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4901         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4902         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4904         Likewise.
4906 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4908         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4909         Remove redirection to __strrchr_ppc.
4911 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4913         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4914         (sysdep_routines): Add strcmp_power9.
4915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4916         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4917         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4918         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4919         (strcmp): Add __strcmp_power9 to ifunc list.
4920         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4922 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4924         * bits/fp-logb.h: New file.
4925         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4926         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4927         * sysdeps/x86/bits/fp-logb.h: Likewise.
4928         * math/Makefile (headers): Add bits/fp-logb.h.
4929         * math/math.h: Include <bits/fp-logb.h>.
4930         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4931         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4932         * bits/mathdef.h (FP_ILOGB0): Remove.
4933         (FP_ILOGBNAN): Likewise.
4934         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4935         (FP_ILOGBNAN): Likewise.
4936         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4937         (FP_ILOGBNAN): Likewise.
4938         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4939         (FP_ILOGBNAN): Likewise.
4940         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4941         (FP_ILOGBNAN): Likewise.
4942         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4943         (FP_ILOGBNAN): Likewise.
4944         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4945         (FP_ILOGBNAN): Likewise.
4946         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4947         (FP_ILOGBNAN): Likewise.
4948         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4949         (FP_ILOGBNAN): Likewise.
4950         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4951         (FP_ILOGBNAN): Likewise.
4953         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4954         time module.
4955         (Context.__init__): Initialize self.logsdir_old.
4956         (Context.run_builds): Handle bot action.
4957         (Context.bot_cycle): Copy logs directory before running builds.
4958         (Context.bot_run_self): Take argument for whether to check
4959         subprocess result.  Flush stdout before running subprocess.
4960         (Context.bot): New function.
4961         (get_parser): Allow bot action.
4963 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4965         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4966         Import email.mime.text, email.utils and smtplib modules.
4967         (Context.__init__): Initialize self.bot_config_json.
4968         (Context.run_builds): Handle bot-cycle action.
4969         (Context.load_bot_config_json): New function.
4970         (Context.part_build_old): Likewise.
4971         (Context.bot_cycle): Likewise.
4972         (Context.bot_build_mail): Likewise.
4973         (Context.bot_run_self): Likewise.
4974         (get_parser): Allow bot-cycle action.
4976 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4979         Remove redirection to __stpcpy_ppc.
4981 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4983         Remove __libc_memalign from ld.so because it is unused.
4984         * elf/dl-minimal.c: Update comment on the malloc implementation.
4985         (malloc): Renamed from __libc_memalign, replacing the original
4986         malloc implementation.  Replace the align parameter with
4987         MALLOC_ALIGNMENT.
4988         * elf/Versions (ld): Update comment and remove __libc_memalign.
4989         * sysdeps/nacl/ld.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4991         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4994         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4997         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4999         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5000         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5001         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5002         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5006         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5007         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5009         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5016         * sysdeps/generic/localplt.data (ld.so): Likewise.
5017         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5018         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5019         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5020         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5021         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5022         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5023         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5024         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5025         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5027         (ld.so): Likewise.
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5029         (ld.so): Likewise.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5031         Likewise.
5032         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5033         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5034         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5035         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5036         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5038 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5040         [BZ #16628]
5041         Implement _dl_catch_error, _dl_signal_error in libc.so.
5042         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5043         (catch_hook): Define as thread-local or regular variable,
5044         depending on DL_ERROR_BOOTSTRAP.
5045         (CATCH_HOOK): Remove.
5046         (dl_signal_error, _dl_catch_error): Use
5047         catch_hook.  Add hidden definition for libc.
5048         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5049         for DL_ERROR_BOOTSTRAP only.
5050         * elf/dl-error.c: New file.
5051         * elf/dl-error-minimal.c: Likewise.
5052         * elf/tst-latepthread.c: Likewise.
5053         * elf/tst-latepthreadmod.c: Likewise.
5054         * elf/Makefile (routines): Add dl-error.
5055         (dl-routines): Remove dl-error.
5056         (rtld-routines): Add dl-error-minimal.
5057         [build-shared] (tests): Add tst-latepthread.
5058         (module-names): Add tst-latepthreadmod.
5059         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5060         symbol.
5061         (tst-latepthreadmod.so): Link against libpthread.
5062         (tst-latepthread): Link against libdbl.
5063         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5064         _dl_catch_error.
5065         [ld] (GLIBC_PRIVATE): Likewise.
5066         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5067         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5068         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5069         directly.
5070         * elf/dl-tsd.c: Remove file.
5071         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5072         _dl_catch_error, _dl_signal_error.
5073         (_dl_initial_error_catch_tsd): Remove definition.
5074         (do_preload): Remove initialization of dl_error_catch_tsd.
5075         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5076         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5077         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5078         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5079         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5080         set dl_error_catch_tsd.
5081         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5082         _dl_error_catch_tsd member.
5083         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5084         members.
5085         (_dl_initial_error_catch_tsd): Remove declaration.
5086         (_dl_dprintf): Provide definition for use outside of ld.so.
5087         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5088         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5089         prototype for libc.
5090         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5091         _dl_catch_error.
5092         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5093         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5094         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5095         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5096         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5097         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5098         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5099         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5103         (ld.so): Likewise.
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5105         (ld.so): Likewise.
5106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5107         Likewise.
5108         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5109         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5110         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5113         Likewise.
5114         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5116 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5118         [BZ #4099]
5119         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5120         _IO_BUFSIZ (8192).
5122 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5124         * PROJECTS: Remove file.
5126 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5128         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5130 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5131             Steve Ellcey  <sellcey@caviumnetworks.com>
5133         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5134         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5135         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5136         fxstatat.
5137         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5138         lxstat.
5139         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5140         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5141         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5142         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5143         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5144         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5145         __xstat.
5147 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5149         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5150         Define.
5151         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5152         definition.
5154 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5156         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5157         version and turn into strong alias.  Remove compat symbol.
5159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5160         (__longjmp): Remove.
5162 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5164         * bits/fp-fast.h: New file.
5165         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5166         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5167         * math/Makefile (headers): Add bits/fp-fast.h.
5168         * math/math.h: Include <bits/fp-fast.h>.
5169         * bits/mathdef.h (FP_FAST_FMA): Remove.
5170         (FP_FAST_FMAF): Likewise.
5171         (FP_FAST_FMAL): Likewise.
5172         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5173         (FP_FAST_FMAF): Likewise.
5174         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5175         (FP_FAST_FMAF): Likewise.
5176         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5177         (FP_FAST_FMAF): Likewise.
5178         (FP_FAST_FMAL): Likewise.
5179         * sysdeps/arm/bits/mathdef.h: Remove file.
5180         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5181         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5182         * sysdeps/tile/bits/mathdef.h: Likewise.
5184 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5186         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5187         * math/w_ilogb.c: Remove.
5188         * math/w_ilogbf.c: Likewise.
5189         * math/w_ilogbl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5191         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5192         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5193         (libm-calls): Remove w_ilogbF.
5194         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5195         (LDOUBLE_ilogbl_libm_version): New macro.
5197         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5199         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5200         [!__STRICT_ANSI__ && !__cplusplus].
5202 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5204         [BZ #20750]
5205         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5206         of PIC.
5208 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5209             Yury Norov  <ynorov@caviumnetworks.com>
5210             Steve Ellcey  <sellcey@caviumnetworks.com>
5212         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5213         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5214         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5215         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5216         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5217         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5218         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5219         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5220         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5221         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5222         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5223         to get correct reg name for ILP32.
5224         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5225         (RELA_SIZE): New Macro.
5226         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5227         to support ILP32.
5228         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5229         cast for ILP32 mode.
5230         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5231         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5232         * sysdeps/aarch64/memset.S (__memset): Ditto.
5233         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5234         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5235         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5236         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5237         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5238         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5239         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5240         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5241         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5242         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5243         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5244         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5245         change PTR_MANGLE call to use register numbers instead of names.
5246         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5247         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5248         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5249         * sysdeps/aarch64/start.S (_start): Ditto.
5250         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5251         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5252         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5253         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5254         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5255         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5256         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5257         Make defined values dependent on __ILP32__.
5258         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5259         (sem_t): Change __align type.
5260         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5261         PTR_SIZE): New Macros.
5262         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5263         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5264         Set when in ILP32 mode.
5265         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5266         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5267         Set elf flags for ILP32.
5268         (add_system_dir): Set ILP32 library directories.
5269         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5270         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5271         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5272         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5273         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5274         New Macros.
5275         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5277 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5279         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5280         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5281         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5283 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5285         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5286         <asm/cachectl.h>.
5288 2016-11-27  Zack Weinberg  <zackw@panix.com>
5290         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5291         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5293 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5295         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5296         error_t to fix usage in C++ programs.
5298 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5300         * scripts/build-many-glibcs.py: Import datetime module.
5301         (Context.__init__): Load JSON build state.  Initialize list of
5302         status logs.
5303         (Context.run_builds): Update saved build state.
5304         (Context.add_makefile_cmdlist): Update list of status logs.
5305         (Context.load_build_state_json): New function.
5306         (Context.store_build_state_json): Likewise.
5307         (Context.clear_last_build_state): Likewise.
5308         (Context.update_build_state): Likewise.
5309         (CommandList.status_logs): Likewise.
5311 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5313         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5314         script being executed.
5315         (Context.get_script_text): New function.
5316         (Context.exec_self): Likewise.
5317         (Context.checkout): Re-exec script if changed by checkout process.
5319 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5321         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5322         (setpayloadsig): New declaration.
5323         * math/Versions (setpayloadsig): New libm symbol at version
5324         GLIBC_2.25.
5325         (setpayloadsigf): Likewise.
5326         (setpayloadsigl): Likewise.
5327         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5328         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5329         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5330         (setpayloadsig_test_data): New array.
5331         (setpayloadsig_test): New function.
5332         (main): Call setpayloadsig_test.
5333         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5334         setpayloadsigf and setpayloadsigl.
5335         * manual/libm-err-tab.pl: Update comment on interfaces without
5336         ulps tabulated.
5337         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5338         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5339         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5340         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5341         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5342         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5343         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5344         setpayloadsig.
5345         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5346         * sysdeps/nacl/libm.abilist: Update.
5347         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5348         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5349         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5350         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5351         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5352         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5353         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5354         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5364         Likewise.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5366         Likewise.
5367         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5369         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5371         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5373         Likewise.
5374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5375         Likewise.
5376         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5380         * scripts/build-many-glibcs.py: Import json module.
5381         (Context.__init__): Take replace_sources argument.  Load
5382         versions.json.
5383         (Context.load_versions_json): New function.
5384         (Context.store_json): Likewise.
5385         (Context.store_versions_json): Likewise.
5386         (Context.set_component_version): Likewise.
5387         (Context.checkout): Update versions.json.  Check for and handle
5388         changes of version.  Prefer previously explicitly specified
5389         version to default version.
5390         (Context.checkout_vcs): Return a revision identifier.
5391         (Context.git_checkout): Likewise.
5392         (Context.gcc_checkout): Likewise.
5393         (get_parser): Add --replace-sources option.
5394         (main): Pass replace_sources argument to Context call.
5396 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5398         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5399         * nptl/allocatestack.c (allocate_stack): Likewise.
5400         (__reclaim_stacks): Likewise.
5401         (setxid_signal_thread): Obtain pid through syscall.
5402         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5403         (sighandle_setxid): Likewise.
5404         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5405         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5406         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5407         Likewise.
5408         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5409         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5410         comment.
5411         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5412         * nptl/descr.h (struct pthread): Change comment about pid value.
5413         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5414         pid assert.
5415         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5416         Do not set pid value.
5417         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5418         pid cache check.
5419         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5420         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5421         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5422         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5423         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5424         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5425         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5426         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5427         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5428         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5429         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5430         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5431         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5432         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5433         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5434         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5435         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5436         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5437         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5438         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5439         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5440         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5441         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5442         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5443         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5446         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5447         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5448         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5449         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5450         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5451         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5452         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5453         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5454         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5455         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5456         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5457         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5458         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5459         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5460         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5461         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5464         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5465         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5466         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5467         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5468         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5469         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5470         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5471         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5472         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5473         struct access.
5474         (clone_test): Remove function.
5475         (do_test): Rewrite to take in consideration pid is not cached anymore.
5477 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5479         * bits/flt-eval-method.h: New file.
5480         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5481         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5482         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5483         * math/Makefile (headers): Add bits/flt-eval-method.h.
5484         * math/math.h: Include <bits/flt-eval-method.h>.
5485         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5486         [__USE_ISOC99] (double_t): Likewise.
5487         * bits/mathdef.h (float_t): Remove.
5488         (double_t): Likewise.
5489         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5490         (double_t): Likewise.
5491         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5492         (double_t): Likewise.
5493         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5494         (double_t): Likewise.
5495         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5496         (double_t): Likewise.
5497         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5498         (double_t): Likewise.
5499         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5500         (double_t): Likewise.
5501         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5502         (double_t): Likewise.
5503         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5504         (double_t): Likewise.
5505         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5506         (double_t): Likewise.
5507         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5508         (double_t): Likewise.
5509         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5510         (double_t): Likewise.
5511         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5512         (double_t): Likewise.
5513         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5514         (double_t): Likewise.
5516 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5518         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5519         instead of PIC.
5521 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5523         [BZ #20859]
5524         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5525         (-0x7fffffff) instead of 0x80000001.
5526         * math/test-fp-ilogb-constants.c: New file.
5527         * math/Makefile (tests): Add test-fp-ilogb-constants.
5529 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5531         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5532         (_init): Use it in place of hardcoded R_MIPS_JALR.
5533         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5534         (_init): Use it in place of hardcoded R_MIPS_JALR.
5535         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5536         (_init): Use it in place of hardcoded R_MIPS_JALR.
5538 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5540         [BZ #20787]
5541         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5542         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5543         (double_t): Do not define to double if [__x86_64__] when
5544         __FLT_EVAL_METHOD__ is nonzero.
5545         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5546         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5547         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5548         test-flt-eval-method-387 and test-flt-eval-method-sse.
5549         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5550         variable.
5551         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5553 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5555         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5556         use of -fno-isolate-erroneous-paths options for tilepro.
5558 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5560         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5561         structure initialization is no longer needed.
5563 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5565         [BZ #20855]
5566         * bits/mathdef.h (float_t): Define to float.
5567         * math/test-flt-eval-method.c: New file.
5568         * math/Makefile (tests): Add test-flt-eval-method.
5569         (CFLAGS-test-flt-eval-method.c): New variable.
5571 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5573         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5574         and __fstatfs.  Make them aliases of __fstatfs64 if
5575         STATFS_IS_STATFS64 is set to non-zero.
5576         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5577         and __statfs64.
5578         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5579         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5580         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5581         for __statfs and statfs.
5582         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5583         to 0.
5584         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5585         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5586         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5587         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5588         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5589         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5592         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5593         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5594         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5595         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5597 2016-11-22  Andreas Schwab  <schwab@suse.de>
5599         * misc/mkstemp.c: Include <fcntl.h>.
5600         * misc/mkstemps.c: Likewise.
5601         * misc/mkostemp.c: Likewise.
5602         * misc/mkostemps.c: Likewise.
5604 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5606         [BZ #20847]
5607         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5608         array bounds.
5609         (__execvpe): Likewise.
5611 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5613         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5614         -fno-isolate-erroneous-paths options for tilepro.
5616 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5618         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5619         to 0 when in 32 bit mode.
5620         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5621         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5622         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5623         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5625         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5626         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5627         XSTAT_IS_XSTAT64 test.
5628         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5629         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5630         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5631         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5632         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5633         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5634         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5635         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5636         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5637         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5638         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5640 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5642         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5643         (setpayload): New declaration.
5644         * math/Versions (setpayload): New libm symbol at version
5645         GLIBC_2.25.
5646         (setpayloadf): Likewise.
5647         (setpayloadl): Likewise.
5648         * math/Makefile (libm-calls): Add s_setpayloadF.
5649         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5650         test_Ff_b1_data.
5651         (RUN_TEST_Ff_b1): New macro.
5652         (RUN_TEST_LOOP_Ff_b1): Likewise.
5653         (canonicalize_test_data): Update type.
5654         (setpayload_test_data): New array.
5655         (setpayload_test): New function.
5656         (main): Call setpayload_test.
5657         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5658         setpayloadf and setpayloadl.
5659         * manual/libm-err-tab.pl: Update comment on interfaces without
5660         ulps tabulated.
5661         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5662         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5663         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5664         Likewise.
5665         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5666         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5667         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5668         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5669         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5670         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5671         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5672         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5673         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5674         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5675         setpayload.
5676         (CFLAGS-nldbl-setpayload.c): New variable.
5677         * sysdeps/nacl/libm.abilist: Update.
5678         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5679         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5680         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5681         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5691         Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5695         Likewise.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5699         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5700         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5701         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5702         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5704         Likewise.
5705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5706         Likewise.
5707         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5711 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5713         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5714         * include/unistd.h: Extend comment about __access_noerrno return
5715         semantics.
5716         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5717         (access_common): Correct typo for EACCES.
5719 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5721         * sysdeps/tile/math-tests.h: New file.
5723         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5724         (__old_set_dataplane): Rename from set_dataplane and make a
5725         compatibility symbol.
5726         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5727         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5728         sys/dataplane.h.
5730 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5732         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5733         script quote words in command output to log suitably for input to
5734         the shell.
5736 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5737             Maciej W. Rozycki  <macro@imgtec.com>
5739         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5740         `.Lno_weak_fn' label.
5741         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5742         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5744 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5745             Yury Norov  <ynorov@caviumnetworks.com>
5747         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5748         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5749         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5750         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5751         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5753         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5754         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5755         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5756         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5757         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5758         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5759         (sysdep_routines): Remove oldgetrlimit64.
5760         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5761         (sysdep_routines): Likewise.
5762         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5763         (sysdep_routines): Likewise.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5765         [$(subdir) = resource] (sysdep_routines): Likewise.
5766         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5767         [$(subdir) = resource] (sysdep_routines): Likewise.
5768         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5769         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5770         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5771         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5772         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5773         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5774         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5775         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5776         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5777         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5778         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5779         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5780         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5781         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5782         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5783         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5784         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5785         setrlimit and getrlimit.
5786         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5787         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5788         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5792         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5793         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5795         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5796         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5797         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5798         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5799         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5800         (__old_getrlimit64): Add compatibility symbol.
5801         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5803 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5805         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5806         newly built gmp, mpfr and mpc.
5808         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5810 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5812         * conform/Makefile (linknamespace-libs): Rename to
5813         linknamespace-libs-thr.
5814         (linknamespace-libs-posix): New variable.
5815         (linknamespace-libs-xsi): Likewise.
5816         (linknamespace-libs-XPG3): Include libcrypt.a.
5817         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5818         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5819         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5820         (linknamespace-libs-XOPEN2K): Likewise.
5821         (linknamespace-libs-XOPEN2K8): Likewise.
5822         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5824         [BZ #20829]
5825         * stdio-common/Versions (__snprintf): Add to version
5826         GLIBC_PRIVATE.
5827         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5828         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5829         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5830         of snprintf.
5831         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5833 2016-11-16  Zack Weinberg  <zackw@panix.com>
5835         * string/string.h: Remove obsolete comment stating that
5836         strcoll_l and strxfrm_l have not yet been standardized.
5838 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5840         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5841         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5842         __access_noerrno.
5843         * io/access.c (__access_noerrno): New function.
5844         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5845         (hurd_fail_seterrno): Likewise.
5846         (access_common): Likewise.
5847         (__access_noerrno): Likewise.
5848         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5849         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5850         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5851         macro.
5853 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5855         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5856         Only declare fpregs if [__SH_FPU_ANY__].
5858 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5860         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5861         Make code unconditional.
5862         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5864 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5866         * manual/sysinfo.texi (S_APPEND): Delete.
5867         (S_IMMUTABLE): Likewise.
5869 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5870             Magnus Granberg  <zorry@gentoo.org>
5871             Mike Frysinger  <vapier@gentoo.org>
5873         [BZ #20662]
5874         * configure.ac (libc_cv_predef_stack_protector): Also check for
5875         __stack_chk_fail_local symbols.
5876         * configure: Regenerated.
5878 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5880         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5881         (libc_hidden_def): Remove redefinition.
5882         (__sigsetjmp): Add hidden definition.
5883         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5884         (libc_hidden_def): Remove redefinition.
5885         (__sigsetjmp): Add hidden definition.
5887 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5889         * scripts/build-many-glibcs.py (os.path): Do not import.
5890         (Context): Inherit explicitly from object.  Remove blank line
5891         between class and docstring.
5892         (Config): Likewise.
5893         (Glibc): Likewise.
5894         (Command): Likewise.
5895         (CommandList): Likewise.
5896         (Context.write_files): Store chmod mode in a variable.
5898         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5899         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5900         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5902 2016-11-14  Zack Weinberg  <zackw@panix.com>
5904         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5905         creating or re-creating it.
5907         * string/bits/string2.h: Fix typo in comment.
5909 2016-11-14  Zack Weinberg  <zackw@panix.com>
5911         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5912         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5913         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5914         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5915         of redirected function names.
5917         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5918         as well.  Document that MESSAGE must be a single string literal.
5920 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5922         * scripts/build-many-glibcs.py: New file.
5924         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5925         (do_test): Disable -Wmaybe-uninitialized around uses of
5926         except_mask.
5928         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5930 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5932         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5933         (atomic_store_release): Provide tilepro-specific implementations.
5935 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5937         * math/math.h (__MATH_TG): New macro.
5938         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5939         [__USE_ISOC99] (signbit): Likewise.
5940         [__USE_ISOC99] (isfinite): Likewise.
5941         [__USE_ISOC99] (isnan): Likewise.
5942         [__USE_ISOC99] (isinf): Likewise.
5943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5946         __MATH_TG and __MATH_EVAL_FMT2.
5947         * sysdeps/generic/math_private.h (fabs_tg): Define using
5948         __MATH_TG.
5949         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5950         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5951         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5952         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5953         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5954         macro.
5955         (__iscanonical): Likewise.
5956         (iscanonical): Define using __MATH_TG.
5958 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5960         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5961         guards.
5963         * sysdeps/unix/sysv/linux/access.c: New file.
5964         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5966 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5968         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5969         and __WORDSIZE32_PTRDIFF_LONG.
5971 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5973         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5975 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5977         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5978         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5979         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5980         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5981         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5983         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5984         * sysdeps/unix/sysv/linux/truncate.c: New file.
5985         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5986         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5987         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5988         Remove.
5989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5990         Likewise.
5992         * posix/tst-truncate-common.c: New file.
5993         * posix/tst-truncate.c: Use tst-truncate-common.c.
5994         * posix/tst-truncate64.c: Likewise and add LFS tests.
5995         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5996         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5997         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5998         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5999         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6001         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6002         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6003         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6004         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6005         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6006         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6007         Remove.
6008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6009         Likewise.
6011 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #20790]
6014         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6015         to MAXLINESIZE.
6016         * sunrpc/bug20790.x: New file.
6017         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6018         variable.
6019         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6020         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6022         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6024         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6026         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6027         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6028         calloc, realloc, free, memalign and __libc_memalign rather than
6029         making them optional.
6031         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6032         for libc.so.
6034 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6036         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6037         ptw-lseek64.
6038         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6039         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6040         Likewise.
6041         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6042         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6043         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6044         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6045         * sysdeps/unix/sysv/linux/lseek.c: New file.
6046         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6047         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6048         __libc_lseek64 from auto-generation.
6049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6050         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6052 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6054         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6055         * nptl/tst-cleanup1.c (do_test): Likewise.
6056         * nptl/tst-cleanup3.c (do_test): Likewise.
6057         * nptl/tst-key1.c (do_test): Likewise.
6058         * nptl/tst-key2.c (tf, do_test): Likewise.
6059         * nptl/tst-key3.c (tf, do_test): Likewise.
6060         * nptl/tst-stdio1.c (do_test): Likewise.
6061         * nptl/tst-stdio2.c (do_test): Likewise.
6063         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6064         * nptl/tst-kill6.c (handler): Likewise.
6065         * nptl/tst-tls2.c (CB): Likewise.
6066         * nptl/tst-tls3.c (CB): Likewise.
6068 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6070         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6072 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6073             Steve Ellcey  <sellcey@caviumnetworks.com>
6075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6076           __ASSUME_ST_INO_64_BIT as 0
6077         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6078         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6079           over the code where __ASSUME_ST_INO_64_BIT is used.
6080         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6081         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6082         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6084 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6086         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6087         Document ABI exposure of the __kind offset.
6088         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6089         Mention reason for the __kind offset exposure in the ABI.
6090         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6091         Likewise.
6092         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6093         Likewise.
6094         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6095         Likewise.
6096         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6097         (struct __pthread_mutex_s): Likewise.
6098         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6099         Likewise.
6100         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6101         Likewise.
6102         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6103         Likewise.
6104         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6105         Likewise.
6106         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6107         Likewise.
6108         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6109         Likewise.
6110         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6111         (struct __pthread_mutex_s): Likewise.
6112         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6113         (struct __pthread_mutex_s): Likewise.
6114         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6115         Likewise.
6117 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6119         * test-skeleton.c: Document do_test usage.
6121 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6123         * iconv/gconv.h (__gconv_info): Define __data element using a
6124         zero-length array.
6126 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6128         * math/test-tgmath2.c: Split up test function.
6130 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6132         * Rules (tests-expected): New variable, depending on
6133         $(run-built-tests).
6134         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6135         $(tests).
6137         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6138         $(tests-unsupported).
6140 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6142         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6143         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6145 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6147         [BZ #20768]
6148         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6149         __fegetenv instead of fegetenv.
6151         [BZ #14139]
6152         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6153         (find_files): Obtain platform name from libm-test-ulps-name and
6154         store in %pplatforms.
6155         (canonicalize_platform): Remove.
6156         (print_platforms): Use $pplatforms directly.
6157         (by_platforms): Do not allow for platforms missing from
6158         %pplatforms.
6159         * sysdeps/aarch64/libm-test-ulps-name: New file.
6160         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6161         * sysdeps/arm/libm-test-ulps-name: Likewise.
6162         * sysdeps/generic/libm-test-ulps-name: Likewise.
6163         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6164         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6165         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6166         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6167         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6168         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6169         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6170         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6171         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6172         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6173         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6174         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6175         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6176         * sysdeps/sh/libm-test-ulps-name: Likewise.
6177         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6178         * sysdeps/tile/libm-test-ulps-name: Likewise.
6179         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6181         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6183         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6184         (test-xfail-check-execstack): New variable.
6186         * sysdeps/mips/localplt.data: New file.
6188 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6189             Steve Ellcey  <sellcey@caviumnetworks.com>
6191         * bits/wordsize.h: Add documentation.
6192         * sysdeps/aarch64/bits/wordsize.h : New file
6193         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6194         definitions.
6195         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6196         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6197         with #if instead of #ifdef.
6198         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6199         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6200         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6201         Add or change defines.
6202         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6203         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6204         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6205         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6206         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6207         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6208         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6209         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6210         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6211         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6212         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6213         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6214         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6215         * sysdeps/x86/bits/wordsize.h: Likewise.
6217 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6218             Kevin Petit  <kevin.petit@arm.com>
6220         * sysdeps/aarch64/memchr.S (__memchr): New file.
6222 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6224         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6226 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6228         [BZ #19398]
6229         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6230         $(linknamespace-symlists-tests).
6232 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6234         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6236 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6237             Carlos O'Donell  <carlos@redhat.com>
6239         [Bug #20729]
6240         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6241         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6242         for -Os related change.
6244 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6246         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6248 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #19673]
6251         * manual/math.texi (Exponents and Logarithms): Correct description
6252         of clog10.
6254 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6256         [Bz #20729]
6257         * locale/weight.h: Include libc-internal.h.
6258         * locale/weightwc.h: Likewise.
6259         * nptl/nptl_dbP.h: Likewise.
6261 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6263         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6264         when it is MACH_PORT_NULL.
6266 2016-10-31  Andreas Schwab  <schwab@suse.de>
6268         [BZ #20707]
6269         * posix/glob.c (glob): Initialize pglob before checking for
6270         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6271         valid brace expression despite GLOB_BRACE.
6272         * posix/globtest.sh: Test it.
6274 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6276         [BZ #20729]
6277         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6278         Define.
6279         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6280         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6281         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6282         for seq2.back_us and seq1.back_us only for -Os compiles.
6283         * locale/weightwc.h (findix): Likewise.
6284         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6285         DB_GET_FIELD_ADDRESS only for -Os compiles.
6286         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6287         for slen only for -Os compiles.
6288         * string/strcoll_l.c (get_next_seq): Ignore
6289         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6290         for -Os compiles.
6292         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6293         * include/crypt.h: New file.
6295 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6297         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6298         from test-skeleton.c.
6299         (statclass): Replace calls to write with calls to write_message.
6301 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6303         * math/math.h
6304         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6305         New macro.
6306         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6307         Likewise.
6308         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6309         Likewise.
6310         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6311         SNANL.
6312         * math/test-double.h (snan_value_MACRO): New macro.
6313         * math/test-float.h (snan_value_MACRO): Likewise.
6314         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6315         * math/libm-test.inc (issignaling_test_data): Add tests of
6316         snan_value_MACRO.
6318 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6320         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6321         behavior when eliding a lock not held by the current thread.
6322         * sysdeps/powerpc/nptl/elide.h: Likewise.
6324 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6326         [BZ #20728]
6327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6328         branch to _exit() by a function call.
6330 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6332         * malloc/malloc.c: Update chunk layout comments.
6333         (chunk_main_arena): Update comment.
6335 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6337         * crypt/sha256.c, crypt/sha256-block.c,
6338         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6339         sha256_process_block to __sha256_process_block.
6340         * crypt/sha512.c, crypt/sha512-block.c,
6341         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6342         sha512_process_block to __sha512_process_block.
6344 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6346         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6348         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6350 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6352         [BZ #20019]
6353         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6354         definition in unrelocated shared library.
6355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6357 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6359         [BZ #20729]
6360         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6361         * sysdeps/unix/sysv/linux/i386/Makefile
6362         (uses-6-syscall-arguments): Define.
6363         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6364         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6365         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6366         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6367         Likewise.
6368         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6369         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6370         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6371         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6372         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6373         (CFLAGS-fallocate64.os): Likewise.
6374         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6375         (CFLAGS-pthread_rwlock_timedrdlock.os)
6376         (CFLAGS-pthread_rwlock_timedwrlock.o)
6377         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6378         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6379         (CFLAGS-sem_timedwait.os): Likewise.
6381 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6383         * elf/tst-linkall-static.c: New file.
6384         * elf/Makefile (tests-static): Add tst-linkall-static.
6385         (tst-linkall-static): Link against static libraries.
6387 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6389         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6390         mmaped chunks.
6392 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6394         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6395         members to mchunk_prev_size, mchunk_size.
6396         (chunk_main_arena): Reverse sense and rename from
6397         chunk_non_main_arena.
6398         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6399         mchunk_size instead of size.
6400         (set_non_main_arena): Define.
6401         (chunksize): Use chunksize_nomask instead of direct member access.
6402         (chunksize_nomask): Define.
6403         (next_chunk): Use chunksize instead of direct member access.
6404         (prev_size, set_prev_size): Define.
6405         (prev_chunk): Use prev_size instead of direct member access.
6406         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6407         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6408         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6409         (mchunk_prev_size, mchunk_size): Poison tokens.
6410         (unlink): Use chunksize_nomask, prev_size accessors.
6411         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6412         (do_check_free_chunk): Use prev_size accessor.
6413         (sysmalloc): Use set_prev_size, set_head accessors.
6414         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6415         (__libc_free): Use chunksize_nomask accessor.
6416         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6417         chunk_main_arena accessors.
6418         (_int_free): Use chunksize_nomask, prev_size accessors.
6419         (malloc_consolidate): Use chunksize, prev_size accessors.
6420         (_int_realloc): Use chunksize_nomask accessor.
6421         (_int_memalign): Use set_prev_size accessor.
6422         (__malloc_info): Use chunksize_nomask accessor.
6423         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6424         accessors.
6425         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6426         (heap_trim): Use chunksize_nomask, prev_size accessors.
6428 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6430         [BZ #19380]
6431         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6432         for inexact results.
6433         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6434         of inexact result where mpfr_subnormalize is the only inexact
6435         step.
6436         * stdlib/tst-strtod-round-data.h: Regenerated.
6437         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6438         Define to 0.
6439         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6441 2016-10-27  David S. Miller  <davem@davemloft.net>
6443         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6445 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6447         * malloc/malloc.c (do_set_mallopt_check): New function.
6448         (do_set_mmap_threshold): Likewise.
6449         (do_set_mmaps_max): Likewise.
6450         (do_set_top_pad): Likewise.
6451         (do_set_perturb_byte): Likewise.
6452         (do_set_trim_threshold): Likewise.
6453         (do_set_arena_max): Likewise.
6454         (do_set_arena_test): Likewise.
6455         (__libc_mallopt): Use them.
6457 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6459         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6460         (canonicalize): New declaration.
6461         * math/Versions (canonicalize): New libm symbol at version
6462         GLIBC_2.25.
6463         (canonicalizef): Likewise.
6464         (canonicalizel): Likewise.
6465         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6466         * math/s_canonicalize_template.c: New file.
6467         * math/libm-test.inc: Update comment on functions tested and
6468         testing of NaN payloads.
6469         (TEST_NAN_PAYLOAD): New macro.
6470         (NO_TEST_INLINE): Update value.
6471         (XFAIL_TEST): Likewise.
6472         (ERRNO_UNCHANGED): Likewise.
6473         (ERRNO_EDOM): Likewise.
6474         (ERRNO_ERANGE): Likewise.
6475         (IGNORE_RESULT): Likewise.
6476         (NON_FINITE): Likewise.
6477         (TEST_SNAN): Likewise.
6478         (NO_TEST_MATHVEC): Likewise.
6479         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6480         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6481         (struct test_Ffp_b1_data): New type.
6482         (RUN_TEST_Ffp_b1): New macro.
6483         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6484         (canonicalize_test_data): New array.
6485         (canonicalize_test): New function.
6486         (main): Call canonicalize_test.
6487         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6488         canonicalizef and canonicalizel.
6489         * manual/libm-err-tab.pl: Update comment on interfaces without
6490         ulps tabulated.
6491         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6492         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6493         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6494         canonicalize.
6495         (CFLAGS-nldbl-canonicalize.c): New variable.
6496         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6497         to ...
6498         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6499         ... here.
6500         (do_test): Also test canonicalizel.
6501         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6502         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6503         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6504         file.
6505         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6506         Use libm_hidden_def.
6507         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6508         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6509         (do_test): Also test canonicalizel.
6510         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6511         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6512         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6513         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6514         libm_hidden_def.
6515         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6516         macro.
6517         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6518         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6519         * sysdeps/nacl/libm.abilist: Update.
6520         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6537         Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6539         Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6550         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6551         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6553         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6554         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6555         getpayload.
6556         (CFLAGS-nldbl-getpayload.c): New variable.
6558 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6560         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6561         integer from the format string.
6563 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6565         [BZ #19473]
6566         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6567         declarations.
6568         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6569         weak aliases.
6570         * malloc/hooks.c (__malloc_get_state): Remove definition.
6571         (malloc_get_state): New stub implementation as
6572         compatibility symbol.
6573         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6574         compat symbol.
6575         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6576         malloc_set_state.
6577         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6579 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6581         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6582         (names): Turn into concatenation of strings.
6583         (gconv_init): Adapt iteration over names.
6585 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6587         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6588         make const.
6589         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6590         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6591         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6592         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6593         character in sbconv.
6594         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6595         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6596         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6598 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6600         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6602         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6603         (M_TRIM_THRESHOLD): Likewise.
6605         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6606         (M_ARENA_MAX): Likewise.
6607         * malloc/malloc.c: Remove obsolete comment.
6609         * manual/memory.texi: Add environment variable alternatives to
6610         setting mallopt parameters.
6612 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6614         * include/atomic.h
6615         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6616         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6618 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6620         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6621         * stdlib/tst-strfrom.h: New file.
6622         * stdlib/tst-strfrom.c: New file.
6623         * stdlib/tst-strfrom-locale.c: New file.
6625         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6626         * stdlib/bug-strtod2.c: Likewise.
6627         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6628         * stdlib/tst-strtod6.c: Likewise.
6629         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6631 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6633         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6634         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6635         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6636         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6637         * stdlib/stdlib.h (strfromd): New declaration.
6638         (strfromf): Likewise.
6639         (strfroml): Likewise.
6640         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6641         strfrom.
6642         * stdlib/strfromd.c: New file.
6643         * stdlib/strfromf.c: Likewise.
6644         * stdlib/strfroml.c: Likewise.
6645         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6646         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6647         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6648         * sysdeps/arm/nacl/libc.abilist: Update.
6649         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6650         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6651         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6652         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6653         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6654         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6655         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6656         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6657         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6658         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6659         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6660         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6661         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6662         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6667         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6668         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6669         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6670         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6671         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6674         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6675         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6676         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6678 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6680         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6681         instead of cmpli.
6682         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6683         instead of cmpli.
6685 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6687         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6688         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6689         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6690         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6691         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6692         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6694 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6696         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6697         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6698         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6699         SYSCALL_LL64_PRW.
6700         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6701         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6702         __ASSUME_PRW_DUMMY_ARG.
6703         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6704         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6705         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6706         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6707         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6708         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6710 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6712         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6714 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6716         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6717         "C++", to override a potential extern "C" directive around the
6718         header file inclusion.
6720 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6722         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6724 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6726         * sysdeps/powerpc/fpu/fenv_private.h:
6727         (_FPU_MASK_ALL): Rename to...
6728         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6729         XE FPSCR bits.
6731         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6733         (_FPU_MASK_ROUNDING): Rename to...
6734         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6735         NI bits.
6737         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6738         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6739         bits and rounding bits.
6741         (__libc_feholdbits_ppc): New inline function to mask, set,
6742         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6743         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6744         (libc_feholdexcept_setround_ppc): Likewise.
6746         (__libc_femergeenv_ppc): New function to dynamically mask both
6747         old and new FP environments and merge.
6748         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6749         (libc_feresetround_ppc): Likewise.
6750         (libc_feupdateenv_test_ppc): Likewise.
6751         (libc_feupdateenv_ppc): Likewise.
6753         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6754         of ISA RN bits, and update macro names.
6755         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6756         effectively the same as the previously mentioned function.
6758         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6759         usage with fe_resetround_ppc.
6761         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6762         to be used.
6763         (libc_feholdexcept_setround_ctxf): Likewise.
6764         (libc_feholdexcept_setround_ctxl): Likewise.
6766 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6768         [BZ #20715]
6769         * math/math.h [__cplusplus] (iszero): Define as function template.
6770         * math/Makefile [CXX] (tests): Add test-math-iszero.
6771         (CFLAGS-test-math-iszero.cc): Set.
6772         * math/test-math-iszero.cc: New file.
6774 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #20660]
6777         * sysdeps/arm/e_sqrt.c: New file.
6778         * sysdeps/arm/e_sqrtf.c: Likewise.
6780 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #20718]
6783         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6784         not use floating-point comparisons to test sign.
6785         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6786         Likewise.
6788         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6789         (getpayload): New declaration.
6790         * math/Versions (getpayload): New libm symbol at version
6791         GLIBC_2.25.
6792         (getpayloadf): Likewise.
6793         (getpayloadl): Likewise.
6794         * math/Makefile (libm-calls): Add s_getpayloadF.
6795         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6796         (struct test_f_f_data): Add comment.
6797         (RUN_TEST_fp_f): New macro.
6798         (RUN_TEST_LOOP_fp_f): Likewise.
6799         (getpayload_test_data): New array.
6800         (getpayload_test): New function.
6801         (main): Call getpayload_test.
6802         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6803         descriptor.
6804         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6805         getpayloadf and getpayloadl.
6806         * manual/libm-err-tab.pl: Update comment on interfaces without
6807         ulps tabulated.
6808         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6809         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6810         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6814         * sysdeps/nacl/libm.abilist: Update.
6815         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6816         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6817         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6818         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6819         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6837         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6838         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6839         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6841         Likewise.
6842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6848 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6850         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6851         tst-fallocate{64}.
6852         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6853         on syscall return.
6855 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6857         [BZ #20689]
6858         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6859         usable.
6861 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6863         * sysdeps/generic/nan-high-order-bit.h: New file.
6864         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6865         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6866         * sysdeps/hppa/math_private.h: Remove file.
6867         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6868         not define here.
6869         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6870         <nan-high-order-bit.h>.
6871         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6872         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6873         <nan-high-order-bit.h>.
6874         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6875         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6876         <nan-high-order-bit.h>.
6877         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6878         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6879         <nan-high-order-bit.h>.
6880         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6881         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6882         <nan-high-order-bit.h>.
6883         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6884         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6885         <nan-high-order-bit.h>.
6886         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6887         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6888         <nan-high-order-bit.h>.
6889         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6890         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6891         <nan-high-order-bit.h>.
6892         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6893         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6894         <nan-high-order-bit.h>.
6895         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6896         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6897         <nan-high-order-bit.h>.
6898         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6899         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6900         <nan-high-order-bit.h>.
6901         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6902         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6903         <nan-high-order-bit.h>.
6904         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6905         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6906         <nan-high-order-bit.h>.
6907         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6908         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6909         <nan-high-order-bit.h>.
6910         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6911         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6912         <nan-high-order-bit.h>.
6913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6914         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6915         <nan-high-order-bit.h>.
6916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6917         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6918         <nan-high-order-bit.h>.
6919         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6920         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6921         <nan-high-order-bit.h>.
6922         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6924 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6926         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6928 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6930         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6931         abort-instr.h.
6932         (EFAULT): Remove conditional define.
6933         (ENOSYS): Likewise.
6934         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6935         instead of conditional branch instructions.
6937 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6939         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6940         (totalordermag): New declaration.
6941         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6942         New macro.
6943         * math/Versions (totalordermag): New libm symbol at version
6944         GLIBC_2.25.
6945         (totalordermagf): Likewise.
6946         (totalordermagl): Likewise.
6947         * math/Makefile (libm-calls): Add s_totalordermagF.
6948         * math/libm-test.inc (totalordermag_test_data): New array.
6949         (totalordermag_test): New function.
6950         (main): Call totalordermag_test.
6951         * math/test-tgmath.c (NCALLS): Increase to 125.
6952         (F(compile_test)): Call totalordermag.
6953         (F(totalordermag)): New function.
6954         * manual/arith.texi (FP Comparison Functions): Document
6955         totalordermag, totalordermagf and totalordermagl.
6956         * manual/libm-err-tab.pl: Update comment on interfaces without
6957         ulps tabulated.
6958         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6959         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6960         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6961         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6962         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6963         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6964         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6965         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6966         totalordermag.
6967         (CFLAGS-nldbl-totalordermag.c): New variable.
6968         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6969         (do_test): Also test totalordermagl.
6970         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6971         Likewise.
6972         * sysdeps/nacl/libm.abilist: Update.
6973         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6974         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6975         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6976         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6978         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6979         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6980         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6982         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6984         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6990         Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6994         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6995         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6996         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6997         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6999         Likewise.
7000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7001         Likewise.
7002         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7003         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7006 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7008         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7009         boolean.
7011 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7013         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7014         raising FE_INVALID with feraisexcept in case where part of
7015         argument is infinite, subtract that part of argument from itself.
7016         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7017         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7018         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7020 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7022         * math/libm-test.inc (totalorder_test_data): Add more tests.
7024 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7026         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7027         Undefine weak_alias and add a comment why mips64 require
7028         versioning.
7030 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7032         [BZ #20647]
7033         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7034         maximum CPUID level is less than 2.
7036 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7038         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7039         (totalorder): New declaration.
7040         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7041         New macro.
7042         * math/Versions (totalorder): New libm symbol at version
7043         GLIBC_2.25.
7044         (totalorderf): Likewise.
7045         (totalorderl): Likewise.
7046         * math/Makefile (libm-calls): Add s_totalorderF.
7047         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7048         string.
7049         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7050         (qnan_value_pl): Likewise.
7051         (snan_value_pl): Likewise.
7052         (qnan_value): Define using qnan_value_pl.
7053         (snan_value): Define using snan_value_pl.
7054         (struct test_ff_i_data): Add comment about which tests use this
7055         structure.
7056         (RUN_TEST_ff_b): New macro.
7057         (RUN_TEST_LOOP_ff_b): Likewise.
7058         (totalorder_test_data): New array.
7059         (totalorder_test): New function.
7060         (main): Call totalorder_test.
7061         * math/test-tgmath.c (NCALLS): Increase to 122.
7062         (F(compile_test)): Call totalorder.
7063         (F(totalorder)): New function.
7064         * manual/arith.texi (FP Comparison Functions): Document
7065         totalorder, totalorderf and totalorderl.
7066         * manual/libm-err-tab.pl: Update comment on interfaces without
7067         ulps tabulated.
7068         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7069         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7070         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7071         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7072         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7073         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7074         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7075         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7076         totalorder.
7077         (CFLAGS-nldbl-totalorder.c): New variable.
7078         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7079         file.
7080         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7081         Add test-totalorderl-ldbl-128ibm.
7082         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7083         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7084         test-totalorderl-ldbl-96.
7085         * sysdeps/nacl/libm.abilist: Update.
7086         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7088         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7089         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7090         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7091         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7092         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7093         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7095         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7096         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7097         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7099         Likewise.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7101         Likewise.
7102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7103         Likewise.
7104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7105         Likewise.
7106         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7107         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7108         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7109         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7112         Likewise.
7113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7114         Likewise.
7115         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7119 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7121         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7122         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7123         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7124         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7125         remove ENOSYS implementation.
7126         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7127         Consolidate all Linux implementations.
7129 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7131         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7132         * resolv/herror.c (herror): Cast away const-ness.
7133         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7134         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7136 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7138         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7139         instead of M_NAN + M_NAN.
7140         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7142 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7144         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7145         unused variable 'p'.
7147 2016-10-09  Alan Modra  <amodra@gmail.com>
7148             Andreas Schwab  <schwab@linux-m68k.org>
7150         [BZ #20554]
7151         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7152         [PIC && !SHARED]: Set up PIC register for PLT call.
7154 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7156         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7157         conditional on value of [__FLT_EVAL_METHOD__].
7158         * math/test-iseqsig-excess-precision.c: New file.
7159         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7161 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7163         * math/s_iseqsig_template.c: Include math-private.h.
7165         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7166         * posix/tst-posix_fadvise.c: New file.
7167         * posix/tst-posix_fadvise64.c: Likewise.
7168         * posix/tst-posix_fadvise-common.c: Likewise.
7169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7170         (__ASSUME_FADVISE64_64_6ARG): Define.
7171         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7172         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7173         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7174         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7175         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7176         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7177         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7178         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7179         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7180         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7181         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7182         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7188         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7189         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7190         Alias to __posix_fadvise64_l32.
7191         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7192         Add compat definition to posix_fadvise64.
7193         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7194         Add versioned definition to posix_fadvise64.
7195         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7196         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7197         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7198         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7199         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7201         * io/Makefile (tests): Add tst-posix_fallocate and
7202         tst-posix_fallocate64.
7203         * io/tst-posix_fallocate-common.c: New file.
7204         * io/tst-posix_fallocate.c: Likewise.
7205         * io/tst-posix_fallocate64.c: Likewise.
7206         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7207         file.
7208         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7209         Likewise.
7210         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7211         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7212         Likewise.
7213         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7214         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7215         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7216         SYSCALL_LL to pass both offset and len arguments.
7217         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7218         Likewise.
7219         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7220         __libc_pwrite64 alias used by posix_fallocate64.
7222         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7223         tst-fallocate64.
7224         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7225         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7226         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7227         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7228         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7229         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7230         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7231         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7232         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7233         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7234         macro on offset argument.
7235         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7236         SYSCALL_LL64 on offset argument.
7238         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7239         tst-fallocate64.
7240         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7241         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7242         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7243         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7244         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7245         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7246         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7247         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7248         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7249         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7250         macro on offset argument.
7251         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7252         SYSCALL_LL64 on offset argument.
7253         * test-skeleton.c (FAIL_RET): Add macro.
7254         (FAIL_EXIT): Likewise.
7255         (FAIL_EXIT1): Likewise.
7256         (_FAIL): Likewise.
7258 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7260         [BZ #20629]
7261         resolv: Remove RES_USEBSTRING and its implementation.
7262         * resolv/resolv.h (RES_USEBSTRING): Remove.
7263         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7264         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7265         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7266         (labellen): Remove extended label types support.
7267         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7268         * resolv/res_init.c (res_setoptions): Likewise.
7269         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7271 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7273         resolv: Remove RES_NOIP6DOTINT and its implementation.
7274         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7275         (RES_NOIP6DOTINT): Remove.
7276         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7277         handling.
7278         * resolv/res_debug.c (p_option): Likewise.
7279         * resolv/res_init.c (res_setoptions): Likewise.
7280         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7282 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7284         resolv: Deprecate unimplemented flags.
7285         * misc/sys/cdefs.h (__glibc_macro_warning1)
7286         (__glibc_macro_warning): Define.
7287         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7288         (RES_KEEPTSIG): Mark as deprecated.
7289         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7290         RES_NOCHECKNAME, RES_KEEPTSIG.
7291         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7293 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7295         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7296         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7297         Use strong_alias to create symbols for glibc verison 2.19.
7299 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7301         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7303 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7305         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7307 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7309         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7311 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7313         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7314         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7315         in header for using it as type for ifunc function because __GI_* symbols
7316         for ppc32 do not target the ifunc symbols.
7317         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7319 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7321         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7322         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7323         libc_ifunc_hidden_def.
7324         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7325         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7326         Redirect ifunced function in header for using it as type of ifunc'ed
7327         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7328         function for __GI_* symbol.
7329         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7330         * include/libc-symbols.h
7331         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7333 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7335         [BZ #20478]
7336         * sysdeps/s390/multiarch/ifunc-resolve.h
7337         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7338         to create ifunc symbols.
7339         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7340         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7341         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7342         for using it as type for ifunc function.
7343         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7344         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7345         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7346         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7347         * sysdeps/s390/multiarch/strcat.c: Likewise.
7348         * sysdeps/s390/multiarch/strchr.c: Likewise.
7349         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7350         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7351         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7352         * sysdeps/s390/multiarch/strlen.c: Likewise.
7353         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7354         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7355         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7356         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7357         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7358         * sysdeps/s390/multiarch/strspn.c: Likewise.
7359         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7360         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7361         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7362         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7363         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7364         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7365         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7366         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7367         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7368         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7369         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7370         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7372 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7374         * include/libc-symbols.h (__ifunc_resolver):
7375         New macro is used by __ifunc* macros.
7376         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7377         depending on HAVE_GCC_IFUNC.
7378         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7379         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7381         Redirect ifunced function in header for using as type for ifunc function.
7382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7386         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7387         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7388         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7389         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7390         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7393         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7394         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7395         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7401         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7402         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7403         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7405         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7406         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7407         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7408         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7409         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7410         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7411         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7412         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7413         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7414         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7416         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7417         instead of libc_ifunc() macro.
7418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7421 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7423         * config.h.in (HAVE_GCC_IFUNC): New undef.
7424         * configure.ac: Add check if gcc supports attribute ifunc feature.
7425         * configure: Regenerated.
7426         * manual/install.texi: Add recommendation for gcc with
7427         indirect-function support.
7428         * INSTALL: Regenerated.
7430 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7432         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7433         macro.
7434         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7435         (__iseqsig): New declaration.
7436         * math/s_iseqsig_template.c: New file.
7437         * math/Versions (__iseqsigf): New libm symbol at version
7438         GLIBC_2.25.
7439         (__iseqsig): Likewise.
7440         (__iseqsigl): Likewise.
7441         * math/libm-test.inc (iseqsig_test_data): New array.
7442         (iseqsig_test): New function.
7443         (main): Call iseqsig_test.
7444         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7445         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7446         * manual/libm-err-tab.pl: Update comment on interfaces without
7447         ulps tabulated.
7448         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7449         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7450         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7451         * sysdeps/nacl/libm.abilist: Update.
7452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7465         Likewise.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7467         Likewise.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7469         Likewise.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7471         Likewise.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7478         Likewise.
7479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7485 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7487         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7488         do_sincos_2, sloww, sloww1): Update comments.
7490         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7491         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7493         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7494         K boolean and rename it.
7495         (__sin): Adjust.
7496         (__cos): Adjust.
7498 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7499             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7501         * manual/nss.texi: Fix typos in the manual.
7503 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7505         * manual/contrib.texi: Fix typos in the manual.
7507         * manual/maint.texi: Fix typos in the manual.
7509         * manual/install.texi: Fix typos in the manual.
7510         * INSTALL: Regenerated.
7512         * manual/lang.texi: Fix typos in the manual.
7514         * manual/probes.texi: Fix typos in the manual.
7516         * manual/threads.texi: Fix typos in the manual.
7518         * manual/debug.texi: Fix typos in the manual.
7520         * manual/crypt.texi: Fix typos in the manual.
7522         * manual/conf.texi: Fix typos in the manual.
7524         * manual/sysinfo.texi: Fix typos in the manual.
7526         * manual/users.texi: Fix typos in the manual.
7528         * manual/job.texi: Fix typos in the manual.
7530         * manual/process.texi: Fix typos in the manual.
7532         * manual/argp.texi: Fix typos in the manual.
7533         * manual/getopt.texi: Likewise.
7534         * manual/startup.texi: Likewise.
7536         * manual/signal.texi: Fix typos in the manual.
7538         * manual/setjmp.texi: Fix typos in the manual.
7540         * manual/resource.texi: Fix typos in the manual.
7542         * manual/time.texi: Fix typos in the manual.
7544         * manual/arith.texi: Fix typos in the manual.
7546         * manual/math.texi: Fix typos in the manual.
7548         * manual/syslog.texi: Fix typos in the manual.
7550         * manual/terminal.texi: Fix typos in the manual.
7552         * manual/socket.texi: Fix typos in the manual.
7554         * manual/filesys.texi: Fix typos in the manual.
7556         * manual/llio.texi: Fix typos in the manual.
7558         * manual/stdio.text: Fix typos in the manual.
7560 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7562         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7563         instead of K1.
7565         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7566         SHIFT_QUADRANT and make it bool.
7567         (do_sincos_2): Likewise.
7568         (sloww): Likewise.
7569         (sloww1): Likewise.
7570         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7571         (__cos): Likewise.
7573 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7575         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7577 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7579         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7580         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7581         0x7fffffffL].
7582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7584 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7586         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7587         inline by __inline__.
7588         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7589         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7590         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7591         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7592         sigset_t from signal.h.
7593         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7594         which is already required.
7596 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7598         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7600 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7602         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7603         (struct tcp_repair_window): New type.
7605 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7607         * libio/tst-memstream3.c: Include string.h.
7609 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7611         [BZ #18241]
7612         [BZ #20181]
7613         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7614         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7615         write position is at the end the buffer.
7616         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7617         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7618         (_IO_str_seekoff): Set correct offset from negative displacement and
7619         set EINVAL for invalid ones.
7620         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7621         buffer length.
7622         (_IO_wstr_switch_to_get_mode): New function.
7623         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7624         set EINVAL for invalid ones.
7625         * libio/tst-memstream3.c: New file.
7626         * libio/tst-wmemstream3.c: Likewise.
7627         * manual/examples/memstrm.c: Remove warning when priting size_t.
7629 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7631         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7632         macro to use __builtin_fma.
7633         * sysdeps/x86_64/fpu/dla.h: Remove file.
7635         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7636         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7637         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7639 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7641         [BZ #20292]
7642         * elf/Makefile (routines): Add dl-addr-obj.
7643         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7644         tst-_dl_addr_inside_object.
7645         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7646         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7647         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7648         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7649         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7650         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7651         * elf/dl-open.c: Likewise.
7652         * elf/dl-addr-obj.c: New file.
7653         * elf/tst-_dl_addr_inside_object.c: New file.
7655 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7657         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7658         <bits/iscanonical.h>.
7659         * bits/iscanonical.h: New file.
7660         * math/s_iscanonicall.c: Likewise.
7661         * math/Versions (__iscanonicall): New libm symbol at version
7662         GLIBC_2.25.
7663         * math/libm-test.inc (iscanonical_test_data): New array.
7664         (iscanonical_test): New function.
7665         (main): Call iscanonical_test.
7666         * math/Makefile (headers): Add bits/iscanonical.h.
7667         (type-ldouble-routines): Add s_iscanonicall.
7668         * manual/arith.texi (Floating Point Classes): Document
7669         iscanonical.
7670         * manual/libm-err-tab.pl: Update comment on interfaces without
7671         ulps tabulated.
7672         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7673         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7674         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7675         Likewise.
7676         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7677         test-iscanonical-ldbl-128ibm.
7678         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7679         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7680         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7681         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7682         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7683         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7684         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7686         Likewise.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7688         Likewise.
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7690         Likewise.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7692         Likewise.
7693         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7694         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7696 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7698         * string/bits/string3.h: Remove C++ style comments.
7700 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7702         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7703         instead of ternary condition.
7704         (do_sincos_2): Likewise.
7705         (__sin): Likewise.
7706         (__cos): Likewise.
7707         (slow): Likewise.
7708         (sloww): Likewise.
7709         (sloww1): Likewise.
7710         (bsloww): Likewise.
7711         (bsloww1): Likewise.
7713         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7714         instead of ternary condition.
7715         (do_sin_slow): Likewise.
7716         (do_sincos_1): Likewise.
7717         (do_sincos_2): Likewise.
7718         (__cos): Likewise.
7719         (sloww): Likewise.
7720         (sloww1): Likewise.
7721         (sloww2): Likewise.
7722         (bsloww): Likewise.
7723         (bsloww1): Likewise.
7724         (bsloww2): Likewise.
7726         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7727         check from here...
7728         (slow2): ... and here...
7729         (__sin): ... to here.
7731 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7733         * math/math.h
7734         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7735         Cast argument to its own type.
7736         * math/test-iszero-excess-precision.c: New file.
7737         * math/Makefile (tests): Add test-iszero-excess-precision.
7738         (CFLAGS-test-iszero-excess-precision.c): New variable.
7740 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7742         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7743         field, add err field.
7744         (__spawni_child): Report error through err member instead of pipe.
7745         (__spawnix): Likewise.
7747 2016-09-28  Zack Weinberg  <zackw@panix.com>
7749         * scripts/check-installed-headers.sh: Generalize treatment of
7750         sys/elf.h to all target architectures.
7752         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7753         deleted typedef ucontext_t.
7755 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7757         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7758         (__INTERNAL_SYSCALL1): Likewise.
7759         (__INTERNAL_SYSCALL2): Likewise.
7760         (__INTERNAL_SYSCALL3): Likewise.
7761         (__INTERNAL_SYSCALL4): Likewise.
7762         (__INTERNAL_SYSCALL5): Likewise.
7763         (__INTERNAL_SYSCALL6): Likewise.
7764         (__INTERNAL_SYSCALL7): Likewise.
7765         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7766         (__INTERNAL_SYSCALL_NARGS): Likewise.
7767         (__INTERNAL_SYSCALL_DISP): Likewise.
7768         (INTERNAL_SYSCALL_CALL): Likewise.
7769         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7770         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7771         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7772         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7773         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7774         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7775         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7776         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7777         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7778         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7779         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7780         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7781         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7783 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7785         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7786         macro.
7787         * math/libm-test.inc (iszero_test_data): New array.
7788         (iszero_test): New function.
7789         (main): Call iszero_test.
7790         * manual/arith.texi (Floating Point Classes): Document iszero.
7791         * manual/libm-err-tab.pl: Update comment on interfaces without
7792         ulps tabulated.
7794 2016-09-23  Zack Weinberg  <zackw@panix.com>
7796         * scripts/check-installed-headers.sh: New script.
7797         * Rules: In each directory that defines header files to be installed,
7798         run check-installed-headers.sh on them as a special test.
7799         * Makefile: Likewise for the headers installed at top level.
7801         * include/aliases.h, include/alloca.h, include/argz.h
7802         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7803         * include/elf.h, include/envz.h, include/err.h
7804         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7805         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7806         * include/link.h, include/malloc.h, include/mcheck.h
7807         * include/mntent.h, include/netinet/ether.h
7808         * include/nss.h, include/obstack.h, include/printf.h
7809         * include/pty.h, include/resolv.h, include/rpc/auth.h
7810         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7811         * include/rpc/clnt.h, include/rpc/des_crypt.h
7812         * include/rpc/key_prot.h, include/rpc/netdb.h
7813         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7814         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7815         * include/rpc/rpc_msg.h, include/rpc/svc.h
7816         * include/rpc/svc_auth.h, include/rpc/xdr.h
7817         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7818         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7819         * include/rpcsvc/ypupd.h, include/shadow.h
7820         * include/stdio_ext.h, include/sys/epoll.h
7821         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7822         * include/sys/prctl.h, include/sys/profil.h
7823         * include/sys/statfs.h, include/sys/sysctl.h
7824         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7825         * sysdeps/arm/nacl/include/bits/setjmp.h
7826         * sysdeps/mips/include/sys/asm.h
7827         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7828         * sysdeps/unix/sysv/linux/include/sys/timex.h
7829         * sysdeps/x86/fpu/include/bits/fenv.h:
7830         Add #ifndef _ISOMAC guard around internal declarations.
7831         Add multiple-inclusion guard if not already present.
7833 2016-09-23  Zack Weinberg  <zackw@panix.com>
7835         * sysdeps/generic/sys/ucontext.h
7836         * sysdeps/arm/sys/ucontext.h
7837         * sysdeps/i386/sys/ucontext.h
7838         * sysdeps/m68k/sys/ucontext.h
7839         * sysdeps/mips/sys/ucontext.h
7840         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7841         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7842         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7843         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7844         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7845         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7846         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7847         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7848         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7849         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7850         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7851         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7852         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7853         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7854         Include both bits/sigcontext.h and bits/sigstack.h.
7855         Fix grammar error in comment, if present.
7857         * bits/sigstack.h
7858         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7859         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7860         * sysdeps/unix/sysv/linux/bits/sigstack.h
7861         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7862         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7863         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7864         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7865         * bits/sigcontext.h
7866         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7867         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7868         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7869         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7870         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7871         as well as signal.h, if this was not already allowed.  Request
7872         definition of size_t if necessary.  Minimize semantically-null
7873         differences across files.
7875 2016-09-23  Zack Weinberg  <zackw@panix.com>
7877         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7878         Remove all logic conditional on __need macros.  Move all the
7879         conditionally defined types to their own headers...
7880         * time/bits/types/clock_t.h: Define clock_t here.
7881         * time/bits/types/clockid_t.h: Define clockid_t here.
7882         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7883         * time/bits/types/struct_timespec.h: Define struct timespec here.
7884         * time/bits/types/struct_timeval.h: Define struct timeval here.
7885         * time/bits/types/struct_tm.h: Define struct tm here.
7886         * time/bits/types/time_t.h: Define time_t here.
7887         * time/bits/types/timer_t.h: Define timer_t here.
7888         * time/Makefile: Install the new headers.
7890         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7891         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7892         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7893         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7894         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7895         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7896         * sysdeps/unix/sysv/linux/bits/resource.h
7897         * sysdeps/unix/sysv/linux/bits/timex.h
7898         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7899         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7900         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7901         * sysdeps/unix/sysv/linux/sys/acct.h
7902         * sysdeps/unix/sysv/linux/sys/timerfd.h
7903         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7904         * time/sys/time.h, time/sys/timeb.h
7905         Use the new bits/types headers.
7907         * include/time.h: Remove __need logic.
7908         * include/bits/time.h
7909         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7910         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7911         * include/bits/types/struct_itimerspec.h
7912         * include/bits/types/struct_timespec.h
7913         * include/bits/types/struct_timeval.h
7914         * include/bits/types/struct_tm.h:
7915         New wrapper headers.
7917 2016-09-23  Zack Weinberg  <zackw@panix.com>
7919         * sysdeps/mach/hurd/net/if_ppp.h
7920         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7921         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7922         if __USE_MISC is defined, to ensure struct ifreq is declared.
7924         * inet/netinet/ether.h: Condition all function prototypes
7925         on __USE_MISC, to ensure struct ether_addr is declared.
7927         * socket/bits/types/struct_osockaddr.h: New header.
7928         * include/bits/types/struct_osockaddr.h: New wrapper.
7929         * socket/Makefile: Install the new header.
7930         * socket/sys/socket.h, inet/protocols/talkd.h:
7931         Refer to bits/types/struct_osockaddr.h for the definition of
7932         struct osockaddr.
7934 2016-09-23  Zack Weinberg  <zackw@panix.com>
7936         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7937         * inet/protocols/routed.h, inet/protocols/talkd.h
7938         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7939         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7940         * sysdeps/generic/netinet/if_ether.h
7941         * sysdeps/generic/netinet/in_systm.h
7942         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7943         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7944         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7945         * sysdeps/mach/hurd/net/if_arp.h
7946         * sysdeps/mach/hurd/net/if_ppp.h
7947         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7948         * sysdeps/unix/sysv/linux/bits/in.h
7949         * sysdeps/unix/sysv/linux/net/ethernet.h
7950         * sysdeps/unix/sysv/linux/net/if_arp.h
7951         * sysdeps/unix/sysv/linux/net/if_ppp.h
7952         * sysdeps/unix/sysv/linux/net/if_shaper.h
7953         * sysdeps/unix/sysv/linux/net/route.h
7954         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7955         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7956         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7957         * sysdeps/unix/sysv/linux/netipx/ipx.h
7958         * sysdeps/unix/sysv/linux/sys/acct.h
7959         * include/arpa/nameser.h, include/resolv.h:
7960         Change all uses of u_char to unsigned char,
7961         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7962         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7963         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7964         and u_int64_t and u_quad_t to uint64_t.
7966         * mach/sys/reboot.h: Remove two casts of integer literals
7967         to the types they already have.
7969         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7970         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7971         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7972         from referring to 'unsigned char' to 'uint8_t' for consistency with
7973         the macro definition below.
7975         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7976         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7977         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7978         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7979         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7980         * sysdeps/unix/sysv/linux/sys/acct.h
7981         * include/arpa/nameser.h, include/resolv.h:
7982         Fix indentation disrupted by mechanical edits.
7984         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7985         * sysdeps/generic/netinet/in_systm.h
7986         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7987         * sysdeps/gnu/netinet/udp.h
7988         * sysdeps/unix/sysv/linux/net/ethernet.h
7989         * sysdeps/unix/sysv/linux/net/if_arp.h
7990         * sysdeps/unix/sysv/linux/net/if_ppp.h
7991         * sysdeps/unix/sysv/linux/net/if_shaper.h
7992         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7993         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7994         * sysdeps/unix/sysv/linux/netipx/ipx.h
7995         * sysdeps/unix/sysv/linux/sys/acct.h
7996         Include stdint.h for uintNN_t definitions.
7997         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7999 2016-09-23  Zack Weinberg  <zackw@panix.com>
8001         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8002         * sysdeps/unix/sysv/linux/netrose/rose.h:
8003         Include sys/socket.h and netax25/ax25.h.
8005         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8006         * resolv/arpa/nameser_compat.h:
8007         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8009         * sysdeps/unix/sysv/linux/sys/quota.h:
8010         Use __caddr_t instead of caddr_t.
8011         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8012         Use __clockid_t instead of clockid_t.
8014         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8016         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8017         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8018         expanding it.
8020         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8021         Define __glibc_c99_flexarr_available to 1 when the compiler
8022         supports C99-compatible flexible array members, 0 otherwise.
8023         * sysdeps/unix/sysv/linux/bits/socket.h
8024         * sysdeps/mach/hurd/bits/socket.h
8025         * bits/socket.h: Use __glibc_c99_flexarr_available in
8026         definitions of struct cmsghdr and CMSG_DATA.
8028 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8030         * manual/nss.texi (NSS Modules Interface): Adjust function return
8031         type to enum nss_status.  Document errnop argument.  Clarify
8032         h_errnop semantics.  Fix cross-reference formatting.
8033         (NSS Module Function Internals): Mention that *errnop needs to be
8034         set on failure, but not to zero.
8036 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8038         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8039         (get_random_name): New functions.
8040         (check_wrapper_flags_mode): Use linkat to give the new file a name
8041         determined by get_random_name.
8042         (do_test): Add calls to test open64 and openat64.
8044 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8046         * test-skeleton.c: Remove #include <stdarg.h>.
8048 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8050         [BZ #19826]
8051         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8052         initialization of static TLS entries.
8053         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8054         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8056 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8058         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8059         _hurd_malloc_fork_prepare.
8060         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8061         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8062         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8063         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8064         (_hurd_fork_child_hook): Drop malloc_fork_child.
8065         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8066         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8067         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8068         after locking locks (notably hurd_dtable_lock). Call
8069         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8070         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8071         __malloc_fork_unlock_child.
8072         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8074 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8076         * soft-fp/extendhftf2.c: New.
8077         * soft-fp/fixhfti.c: Likewise.
8078         * soft-fp/fixunshfti.c: Likewise.
8079         * soft-fp/floattihf.c: Likewise.
8080         * soft-fp/floatuntihf.c: Likewise.
8081         * soft-fp/half.h: Likewise.
8082         * soft-fp/trunctfhf2.c: Likewise.
8084 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8086         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8087         macro.
8088         * math/libm-test.inc (issubnormal_test_data): New array.
8089         (issubnormal_test): New function.
8090         * manual/arith.texi (Floating Point Classes): Document
8091         issubnormal.
8092         * manual/libm-err-tab.pl: Update comment on interfaces without
8093         ulps tabulated.
8095         * sysdeps/generic/stdint.h: Define
8096         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8097         <bits/libc-header-start.h> instead of including <features.h>.
8098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8120         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8131         * manual/arith.texi (Integers): Document these macros for types
8132         specified by width properties.
8133         * manual/lang.texi (Width of Type): Document these macros for
8134         other standard typedefs.
8135         * stdlib/tst-width-stdint.c: New file.
8136         * stdlib/Makefile (tests): Add tst-width-stdint.
8138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8140         [BZ #20016]
8141         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8142         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8143         Move ...
8144         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8145         ... here, as compatibility symbols in a new file.
8146         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8147         * resolv/res_init.c (__res_vinit): Adjust member names.
8148         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8149         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8150         (res_send_rhook): Remove.
8151         (struct __res_state): Rename qhook, rhook members.
8153 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8155         malloc: Use __libc_lock wrappers.
8156         * malloc/arena.c (list_lock, free_list_lock): Define using
8157         __libc_lock_define_initialized.
8158         (arena_lock): Adjust formatting.
8159         * malloc/malloc.c (struct malloc_state): Define mutex using
8160         __libc_lock_define.
8161         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8162         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8163         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8164         (mutex_unlock, mutex_trylock): Remove.
8165         (__pthread_initialize): Remove unused macro.
8166         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8167         (mutex_unlock, mutex_trylock): Remove.
8169 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8171         [BZ #20592]
8172         Remove RR type classification macros.
8173         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8174         (ns_t_udp_p, ns_t_xfr_p): Remove.
8176 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8178         Remove misleading version information.
8179         * resolv/arpa/nameser.h (__NAMESER): Remove.
8180         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8182 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8184         Remove the always-defined BIND_4_COMPAT macro.
8185         * resolv/arpa/nameser.h: Unconditionally include
8186         <arpa/nameser_compat.h>.
8187         (BIND_4_COMPAT): Remove.
8188         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8190 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8192         [BZ #20591]
8193         Remove obsolete DNSSEC support.
8194         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8195         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8196         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8197         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8198         (ns_cert_types): Add comment.
8199         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8200         separately.
8201         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8202         (dst_s_dns_key_id): Remove.
8203         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8204         variables.
8206 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8208         [BZ #20524]
8209         * manual/string.texi (String/Array Comparison): Clarify the
8210         strverscmp behavior.
8212 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8214         * test-skeleton.c (xasprintf): Add function.
8215         * io/tst-open-tmpfile.c: New test.
8216         * io/Makefile (tests): Add it.
8218 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8220         Avoid running $(CXX) during build to obtain header file paths.
8221         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8222         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8223         * Makerules (cstdlib, cmath): Remove variables.  Use
8224         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8225         * configure: Regenerate.
8227 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8229         * Makeconfig (all-object-suffixes): Include .op only if
8230         $(build-profile).
8232 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8234         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8235         conditionals.  Do not define PATH_MAX.
8237 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8239         * posix/Makefile (tests): Add tst-spawn3.
8240         * posix/tst-spawn3.c: New file.
8241         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8242         if it is already opened for open action.
8244         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8245         all signals when executing the clone vfork child.
8246         (SIGALL_SET): Remove macro.
8248         * nptl/Makefile (tests): Add tst-exec5.
8249         * nptl/tst-exec5.c: New file.
8250         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8251         asynchronous cancellation.
8253 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8255         * hurd/exc2signal.c: #include <hurd/signal.h>
8256         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8257         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8258         accordingly.
8259         * mach/mach_error.c (mach_error): Fix old-style function definition.
8260         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8262 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8264         * math/Makefile (libm-calls): Remove s_nanF.
8265         (gen-libm-calls): Add s_nanF.
8267         * math/s_nan.c: Refactor into ...
8268         * math/s_nan_template.c: New file.
8270         * math/s_nanf.c: Removed.
8271         * math/s_nanl.c: Removed.
8272         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8273         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8275         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8276         (LDOUBLE_nanl_libm_version): New macro.
8278         * sysdeps/generic/math-type-macros-double.h:
8279         (M_STRTO_NAN): New macro.
8280         * sysdeps/generic/math-type-macros-float.h: Likewise.
8281         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8283         * sysdeps/generic/math-type-macros.h: Document
8284         M_STRTO_NAN.
8286 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8288         * math/s_nanf.c: Remove __nanf undef.
8289         * math/s_nan.c: Remove __nan undef.
8290         * math/s_nanl.c: Remove __nanl undef.
8292         * sysdeps/generic/math_private.h (__nan): Remove macro
8293         override.
8294         (__nanf): Likewise.
8295         (__nanl): Likewise.
8297 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8299         * math/Makefile (gen-all-calls): New variable.
8300         (generated): Replace gen-libm-calls with gen-all-calls.
8301         (gen-libm-templates.stmp): Likewise.  Also, ensure
8302         the output directory exists or is created and add
8303         dependency on the Makefile.
8304         (calls): Move s_ldexpF into gen-calls.
8305         (gen-calls): New variable.
8307         * math/s_ldexpf.c: Removed.
8308         * math/s_ldexpl.c: Removed.
8309         * math/s_ldexp.c: Refactored into ...
8310         * math/s_ldexp_template.c: New file.
8312         * sysdeps/generic/math-type-macros-double.h: Remove
8313         redundant fall-through definition of declare_mgen_alias.
8314         (declare_mgen_alias_2): New macro.
8316         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8317         New macro for function aliased to two exported symbols.
8319         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8320         new template file.
8321         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8323 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8325         * Makeconfig (all-object-suffixes): Remove .og.
8326         * Makerules (elide-routines.og): Remove.
8327         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8328         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8329         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8331 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8333         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8334         .os objects.
8336 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8338         [BZ #20615]
8339         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8340         fpu directory by non-fpu.
8341         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8342         on non-fpu directory from a fpu directory.
8344 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8346         * include/limits.h: Define
8347         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8348         <bits/libc-header-start.h> instead of including <features.h>.
8349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8360         * manual/lang.texi (Width of Type): Document these macros.
8361         * stdlib/tst-width.c: New file.
8362         * stdlib/Makefile (tests): Add tst-width.
8364 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8366         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8367         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8369 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8371         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8372         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8373         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8375 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8377         [BZ #18243]
8378         * rt/Makefile (test): Add tst-shm-cancel.
8379         * rt/tst-shm-cancel.c: New file.
8380         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8382         [BZ #18243]
8383         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8384         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8385         definition.
8386         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8387         uncontended case.
8388         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8389         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8390         (tf): Fix check for uncontended case.
8391         (do_test): Likewise.
8392         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8393         (tf): Fix check for uncontended case.
8394         (do_test): Likewise.
8395         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8396         (tf): Fix check for uncontended case.
8397         (do_test): Likewise.
8398         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8399         (tf): Fix check for uncontended case.
8400         (do_test): Likewise.
8402         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8403         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8405         [BZ #15765]
8406         * nptl/Makefile (tests): Add tst-sem16.
8407         * nptl/tst-sem16.c: New file.
8408         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8410         * nptl/sem_open.c (sem_open): Init pad value to 0.
8411         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8412         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8414 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8416         [BZ #20611]
8417         * inet/Makefile (routines): Add inet6_scopeid_pton.
8418         (tests): Add tst-inet6_scopeid_pton.
8419         * inet/inet6_scopeid_pton.c: New file.
8420         * inet/net-internal.h: Likewise.
8421         * inet/tst-inet6_scopeid_pton.c: New test.
8422         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8423         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8426 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8428         Remove support for compiling wrappers with PTW.
8429         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8430         * nptl/Makefile (pthread-compat-wrappers): Define.
8431         (libpthread-routines): Use pthread-compat-wrappers.
8432         * sysdeps/unix/sysv/linux/alpha/Makefile
8433         (libpthread-routines, libpthread-shared-only-routines): Remove
8434         ptw- prefix.
8435         * sysdeps/s390/nptl/Makefile
8436         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8437         * sysdeps/ia64/nptl/Makefile
8438         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8439         * sysdeps/nacl/Makefile (libpthread-routines): Use
8440         pthread-compat-wrappers to filter the routines list instead of the
8441         ptw- prefix.
8443 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8445         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8446         with L() and remove explicit suffix, convert real literals
8447         which can be equivalentally substituted with integers, and
8448         transform -L(x) to L(-x).
8450         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8451         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8452         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8453         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8454         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8456         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8457         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8458         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8460         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8461         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8463         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8464         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8465         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8466         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8467         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8468         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8469         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8470         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8471         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8472         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8473         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8474         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8475         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8476         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8477         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8478         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8479         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8480         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8481         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8482         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8483         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8484         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8485         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8486         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8487         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8489         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8490         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8494         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8497         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8498         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8499         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8501 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8503         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8505 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8507         * malloc/Makefile (tests): Remove individual static test names
8508         and just add all of tests-static.
8510         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8512 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8514         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8515         file.
8517         * sysdeps/sparc/fpu/fegetmode.c: New file.
8518         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8520         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8521         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8523         * sysdeps/s390/fpu/fegetmode.c: New file.
8524         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8526         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8527         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8528         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8529         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8533         * sysdeps/mips/fpu/fegetmode.c: New file.
8534         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8536         * sysdeps/m68k/fpu/fegetmode.c: New file.
8537         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8539         * sysdeps/ia64/fpu/fegetmode.c: New file.
8540         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8542         * sysdeps/hppa/fpu/fegetmode.c: New file.
8543         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8545         * sysdeps/arm/fegetmode.c: New file.
8546         * sysdeps/arm/fesetmode.c: Likewise.
8548         * sysdeps/alpha/fpu/fegetmode.c: New file.
8549         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8551         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8552         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8554         * math/fegetmode.c: New file.
8555         * math/fesetmode.c: Likewise.
8556         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8557         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8558         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8559         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8560         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8562         declaration.
8563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8564         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8565         typedef.
8566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8567         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8568         (femode_t): New typedef.
8569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8570         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8571         (femode_t): New typedef.
8572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8573         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8574         (femode_t): New typedef.
8575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8576         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8577         (femode_t): New typedef.
8578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8579         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8580         (femode_t): New typedef.
8581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8582         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8583         (femode_t): New typedef.
8584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8585         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8586         (femode_t): New typedef.
8587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8588         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8589         (femode_t): New typedef.
8590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8591         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8592         (femode_t): New typedef.
8593         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8594         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8595         (femode_t): New typedef.
8596         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8597         declaration.
8598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8599         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8600         (femode_t): New typedef.
8601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8602         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8603         (femode_t): New typedef.
8604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8605         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8606         (femode_t): New typedef.
8607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8608         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8609         (femode_t): New typedef.
8610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8611         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8612         (femode_t): New typedef.
8613         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8614         * manual/arith.texi (FE_DFL_MODE): Document macro.
8615         (fegetmode): Document function.
8616         (fesetmode): Likewise.
8617         * math/Versions (fegetmode): New libm symbol at version
8618         GLIBC_2.25.
8619         (fesetmode): Likewise.
8620         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8621         (tests): Add test-femode and test-femode-traps.
8622         * math/test-femode-traps.c: New file.
8623         * math/test-femode.c: Likewise.
8624         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8625         alias for __fe_dfl_env.
8626         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8627         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8628         (__fe_dfl_mode): Likewise.
8629         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8630         version GLIBC_2.25.
8631         * sysdeps/nacl/libm.abilist: Update.
8632         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8633         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8634         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8635         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8637         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8638         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8640         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8641         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8642         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8643         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8653         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8658         Likewise.
8659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8660         Likewise.
8661         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8662         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8663         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8665 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8667         [BZ #20495]
8668         [BZ #20508]
8669         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8670         processors, set Use_dl_runtime_resolve_slow and set
8671         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8672         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8673         New.
8674         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8675         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8676         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8677         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8678         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8679         if Use_dl_runtime_resolve_opt is set.  Use
8680         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8681         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8682         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8683         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8684         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8685         New.
8686         (_dl_runtime_resolve_opt): Likewise.
8687         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8688         defined.
8690 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8692         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8693         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8695 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8697         Convert malloc to __libc_lock.  Automated part, using this Perl
8698         s/// command:
8699           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8700             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8701         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8702         conversion.
8704 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8706         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8707         (linknamespace-symlists-tests): Likewise.
8708         (linknamespace-header-tests): Likewise.
8710 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8712         [BZ #19810]
8713         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8714         * elf/tst-noload.c: New test case.
8715         * elf/Makefile (tests): Add tst-noload.
8717 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8719         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8721         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8722         not any more.
8724         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8726 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8728         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8729         (do_cos_slow): Likewise.
8730         (do_sin): Likewise.
8731         (do_sin_slow): Likewise.
8732         (slow): Likewise.
8733         (slow1): Likewise.
8734         (slow2): Likewise.
8735         (sloww): Likewise.
8736         (sloww1): Likewise.
8737         (sloww2): Likewise.
8738         (bsloww): Likewise.
8739         (bsloww1): Likewise.
8740         (bsloww2): Likewise.
8741         (cslow2): Likewise.
8743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8745         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8746         arguments.  Consolidate input partitioning from callers here.
8747         (do_cos_slow): Likewise.
8748         (do_sin): Likewise.
8749         (do_sin_slow): Likewise.
8750         (do_sincos_1): Remove the no longer necessary input partitioning.
8751         (do_sincos_2): Likewise.
8752         (__sin): Likewise.
8753         (__cos): Likewise.
8754         (slow1): Likewise.
8755         (slow2): Likewise.
8756         (sloww1): Likewise.
8757         (sloww2): Likewise.
8758         (bsloww1): Likewise.
8759         (bsloww2): Likewise.
8760         (cslow2): Likewise.
8762 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8764         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8765         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8766         outside of allocated array.
8768 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8770         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8771         instead of MB_CUR_MAX to avoid variable-length array.
8773 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8775         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8776         (type-double-routines): Add k_rem_pio2.
8777         (type-float-routines): Add k_rem_pio2f.
8779         * sysdeps/generic/math_private.h:
8780         (__kernel_rem_pio2l): Removed.
8782         * math/k_rem_pio2l.c: Removed.
8783         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8784         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8785         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8786         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8788 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8790         * math/Makefile (gen-libm-calls): Add s_fmin
8791         (libm-calls): Remove above.
8793         * math/s_fmin.c: Refactor into ...
8794         * math/s_fmin_template.c: New file.
8796         * math/s_fminf.c: Removed.
8797         * math/s_fminl.c: Removed.
8798         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8799         (LDOUBLE_fmin_libm_version): New macro.
8801         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8802         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8804 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8806         * math/Makefile: (gen-libm-calls): Add s_fmax.
8807         (libm-calls): Remove above.
8809         * math/s_fmax.c: Refactor into ...
8810         * math/s_fmax_template.c: New file.
8811         * math/s_fmaxf.c: Removed.
8812         * math/s_fmaxl.c: Removed.
8814         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8815         (LDOUBLE_fmaxl_libm_version): New macro.
8817         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8818         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8820         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8821         s_fmin.c to pick the aarch64 version of the file.
8822         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8823         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8825 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8827         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8828         (libm-calls): Remove above.
8830         * math/s_nextdown.c: Refactor into ...
8831         * math/s_nextdown_template.c: New file.
8832         * math/s_nextdownf.c: Removed.
8833         * math/s_nextdownl.c: Removed.
8835         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8837 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8839         * math/Makefile (gen-libm-calls): Add s_fdim.
8840         (libm-calls): Move to above.
8842         * math/s_fdim.c: Renamed and refactored into to ...
8843         * math/s_fdim_template.c: New file.
8844         * math/s_fdiml.c: Removed.
8845         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8846         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8848         * sysdeps/generic/math-type-macros-double.h:
8849         (declare_mgen_alias): Don't declare if already declared.
8850         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8851         Likewise.
8853         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8854         (declare_mgen_alias): Don't declare if already declared.
8855         (M_LIBM_NEED_COMPAT): Likewise.
8856         (declare_mgen_libm_compat): Likewise.
8857         (LDOUBLE_fdiml_libm_version): New macro.
8859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8860         Include math/s_fdim.c now that ldbl-opt version is not needed.
8861         (declare_mgen_alias): New macro to disable aliasing.
8863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8864         (declare_mgen_alias): Likewise.
8865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8866         (declare_mgen_alias): Likewise.
8867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8868         (declare_mgen_alias): Likewise.
8869         (M_LIBM_NEED_COMPAT): Likewise.
8871 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8873         [BZ #20525]
8874         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8875         Include <linux/quota.h>.
8876         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8877         and btodb.
8878         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8879         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8880         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8881         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8882         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8883         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8884         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8885         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8886         types.
8887         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8888         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8890 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8892         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8893         (gammal_positive): Fix spacing.
8894         (__ieee754_gammal_r): Likewise.
8896 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8898         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8899         (_Float128): Define as long double, always.
8900         (L): Apply long double type suffix, always.
8902         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8903         _Float128, excepting comments.
8905         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8906         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8907         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8908         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8910         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8911         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8912         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8913         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8914         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8915         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8919         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8920         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8921         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8922         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8923         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8924         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8926         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8927         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8928         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8929         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8930         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8931         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8945         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8947         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8955         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8957         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8959         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8960         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8961         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8963         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8966         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8967         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8968         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8969         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8970         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8971         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8972         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8975         _Float128, and include math_private.h.
8976         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8979         long double semantics.
8980         (_Float128): Likewise.
8981         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8983         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8984         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8986 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8988         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8989         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8990         * sysdeps/s390/configure: Regenerated.
8991         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8992         instruction for raising over-/underflow if z196 zarch is supported
8993         by default.
8994         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8996 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8998         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8999         it point to a dumb buffer for RPC to fill it.
9001 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9003         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9004         instead of if/else.
9005         (do_sin_slow): Likewise.
9006         (do_sincos_1): Use fabs instead of if/else.
9007         (do_sincos_2): Likewise.
9008         (__sin): Likewise.
9009         (__cos): Likewise.
9010         (slow2): Likewise.
9011         (sloww): Likewise.
9012         (sloww1): Likewise.  Drop argument M.
9013         (sloww2): Use fabs instead of if/else.
9014         (bsloww): Likewise.
9015         (bsloww1): Likewise.
9016         (bsloww2): Likewise.
9018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9019         fall through comment.
9020         (do_sincos_1): Likewise.
9022         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9023         Consolidate switch cases 0 and 2.
9025 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9027         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9028         (libm-calls): Remove the above.
9030         * math/s_cexp_template.c: Update using type-generic macros.
9031         * math/s_clog10_template.c: Likewise.
9032         * math/s_cpow_template.c: Likewise.
9033         * math/s_clog_template.c: Likewise.
9034         * math/s_cproj_template.c: Likewise.
9035         * math/s_csqrt_template.c: Likewise.
9037         * math/s_cexp.c: Removed.
9038         * math/s_cexpf.c: Removed.
9039         * math/s_cexpl.c: Removed.
9040         * math/s_clog10.c: Removed.
9041         * math/s_clog10f.c: Removed.
9042         * math/s_clog10l.c: Removed.
9043         * math/s_cpow.c: Removed.
9044         * math/s_cpowf.c: Removed.
9045         * math/s_cpowl.c: Removed.
9046         * math/s_clog.c: Removed.
9047         * math/s_clogf.c: Removed.
9048         * math/s_clogl.c: Removed.
9049         * math/s_cproj.c: Removed.
9050         * math/s_cprojf.c: Removed.
9051         * math/s_cprojl.c: Removed.
9052         * math/s_csqrt.c: Removed.
9053         * math/s_csqrtf.c: Removed.
9054         * math/s_csqrtl.c: Removed.
9056         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9057         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9058         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9059         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9060         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9061         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9063         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9064         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9065         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9066         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9067         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9068         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9069         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9070         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9071         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9072         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9073         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9075         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9076         version.
9078         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9079         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9080         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9081         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9083 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9085         * s_cexp_template.c: Copy of s_cexp.c.
9086         * s_clog_template.c: Copy of s_clog.c.
9087         * s_clog10_template.c: Copy of s_clog10.c.
9088         * s_cpow_template.c: Copy of s_cpow.c.
9089         * s_cproj_template.c: Copy of s_cproj.c.
9090         * s_csqrt_template.c: Copy of s_csqrt.c.
9092 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9094         [BZ #20517]
9095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9096         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9097         exported.
9099 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9101         * math/fetestexceptflag.c: New file.
9102         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9103         Stefan Liebler.
9104         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9105         (fetestexceptflag): New function declaration.
9106         * manual/arith.texi (fetestexceptflag): Document function.
9107         * math/Versions (fetestexceptflag): New libm symbol at version
9108         GLIBC_2.25.
9109         * math/Makefile (libm-support): Add fetestexceptflag.
9110         (tests): Add test-fetestexceptflag.
9111         * math/test-fetestexceptflag.c: New file.
9112         * sysdeps/nacl/libm.abilist: Update.
9113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9126         Likewise.
9127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9128         Likewise.
9129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9130         Likewise.
9131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9132         Likewise.
9133         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9135         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9139         Likewise.
9140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9146 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9148         [BZ #20432]
9149         Avoid strong references to malloc-internal symbols when linking
9150         statically, to support statically interposed mallocs.
9151         * include/libc-symbols.h (call_function_static_weak): New macro.
9152         * malloc/Makefile (tests): Add tst-interpose-nothread,
9153         tst-interpose-thread, tst-interpose-static-nothread,
9154         tst-interpose-static-thread.
9155         (tests-static): Add tst-interpose-static-nothread,
9156         tst-interpose-static-thread.
9157         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9158         tst-interpose-aux-thread.o.
9159         (test-extras): Add tst-interpose-aux-nothread,
9160         tst-interpose-aux-thread.
9161         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9162         tst-interpose-aux-nothread.o.
9163         (tst-interpose-thread, tst-interpose-static-thread): Link with
9164         tst-interpose-aux-thread.o and libthread.
9165         * malloc/tst-interpose-aux-nothread.c: New file.
9166         * malloc/tst-interpose-aux-thread.c: Likewise.
9167         * malloc/tst-interpose-aux.c: Likewise.
9168         * malloc/tst-interpose-aux.h: Likewise.
9169         * malloc/tst-interpose-nothread.c: Likewise.
9170         * malloc/tst-interpose-skeleton.c: Likewise.
9171         * malloc/tst-interpose-static-nothread.c: Likewise.
9172         * malloc/tst-interpose-static-thread.c: Likewise.
9173         * malloc/tst-interpose-thread.c: Likewise.
9174         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9175         * sysdeps/mach/hurd/fork.c (__fork): Only call
9176         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9177         __malloc_fork_unlock_child if defined.
9178         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9180 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9182         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9183         timespec C99 designated initialization.
9185 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9187         [BZ #19946]
9188         Avoid expected SIGALRM signals.
9189         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9190         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9191         (xpthread_create, xpthread_detach, xpthread_join)
9192         (delayed_exit_thread, delayed_exit): New functions.
9193         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9194         (tf): Use xpthread_cond_wait.
9195         (do_test): Likewise.  Replace alarm with delayed_exit.
9196         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9197         (do_test): Call delayed_exit.  Report failure.
9198         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9199         (do_test): Call delayed_exit.
9200         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9201         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9202         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9203         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9204         error.
9205         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9206         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9207         error.
9208         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9209         (do_test): Call delayed_exit.
9210         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9211         (do_test): Call delayed_exit.
9212         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9213         (do_test): Call delayed_exit instead of alarm.  Use
9214         xpthread_mutex_lock.
9215         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9216         (do_test): Call delayed_exit instead of alarm.  Use
9217         xpthread_mutex_lock.
9218         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9219         (do_test): Call delayed_exit instead of alarm.
9220         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9221         (do_test): Call delayed_exit instead of alarm.  Use
9222         xpthread_spin_lock.
9223         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9224         (do_test): Call delayed_exit instead of alarm.  Use
9225         xpthread_join.
9227 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9229         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9230         adjust CFA when allocating register save area on re-aligned
9231         stack.
9233 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9235         * string/tst-cmp.c: New test.
9236         * string/Makefile (tests): Add it.
9238 2016-08-25  Mark Wielaard  <mark@klomp.org>
9240         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9241         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9242         (check_tree_recurse): Use newly defined accessors.
9243         (check_tree): Likewise.
9244         (maybe_split_for_insert): Likewise.
9245         (__tfind): Likewise.
9246         (__tdelete): Likewise.
9247         (trecurse): Likewise.
9248         (tdestroy_recurse): Likewise.
9249         (__tsearch): Likewise. And add asserts for malloc alignment.
9250         (__twalk): Cast root to node in case CHECK_TREE is defined.
9252 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9254         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9256 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9258         * math/Makefile (libm-gen-calls): Add
9259         catan, catanh, ctan, ctanh.
9260         (libm-calls): Remove the above.
9262         * math/s_catan_template.c: Update using type-generic macros.
9263         * math/s_catanh_template.c: Likewise.
9264         * math/s_ctan_template.c: Likewise.
9265         * math/s_ctanh_template.c: Likewise.
9267         * math/s_catanf.c: Removed.
9268         * math/s_catan.c: Removed.
9269         * math/s_catanl.c: Removed.
9270         * math/s_catanhf.c: Removed.
9271         * math/s_catanh.c: Removed.
9272         * math/s_catanhl.c: Removed.
9273         * math/s_ctanf.c: Removed.
9274         * math/s_ctan.c: Removed.
9275         * math/s_ctanl.c: Removed.
9276         * math/s_ctanhf.c: Removed.
9277         * math/s_ctanh.c: Removed.
9278         * math/s_ctanhl.c: Removed.
9280         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9281         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9282         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9283         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9284         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9285         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9287         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9288         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9289         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9290         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9292 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9294         * s_catan_template.c: Copy of s_catan.c.
9295         * s_catanh_template.c: Copy of s_catanh.c.
9296         * s_ctan_template.c: Copy of s_ctan.c.
9297         * s_ctanh_template.c: Copy of s_ctanh.c.
9299 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9301         * math/Makefile (gen-libm-calls): Move
9302         casin, casinh, csin, csinh here.
9303         (libm-calls): Remove the above.
9305         * math/s_casin_template.c: Update using type-generic macros.
9306         * math/s_casinh_template.c: Likewise.
9307         * math/s_csin_template.c: Likewise.
9308         * math/s_csinh_template.c: Likewise.
9309         * math/k_casinh_template.c: Likewise.
9311         * math/s_casinf.c: Removed.
9312         * math/s_casin.c: Removed.
9313         * math/s_casinl.c: Removed.
9314         * math/s_casinh.c: Removed.
9315         * math/s_casinhf.c: Removed.
9316         * math/s_casinhl.c: Removed.
9317         * math/s_csin.c: Removed.
9318         * math/s_csinf.c: Removed.
9319         * math/s_csinl.c: Removed.
9320         * math/s_csinh.c: Removed.
9321         * math/s_csinhf.c: Removed.
9322         * math/s_csinhl.c: Removed.
9323         * math/k_casinh.c: Removed.
9324         * math/k_casinhf.c: Removed.
9325         * math/k_casinhl.c: Removed.
9327         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9328         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9329         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9330         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9332         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9333         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9334         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9335         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9336         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9337         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9338         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9339         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9341         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9342         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9343         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9344         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9346         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9347         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9348         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9349         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9351 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9353         * s_casin_template.c: Copy of s_casin.c.
9354         * s_casinh_template.c: Copy of s_casinh.c.
9355         * s_csin_template.c: Copy of s_csin.c.
9356         * s_csinh_template.c: Copy of s_csinh.c.
9357         * k_casinh_template.c: Copy of k_casinh.c.
9359 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9361         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9363 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9365         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9366         (mul_split) Remove, rename as mul_splitl, remove
9367         redundant float.h include, and include via mul_splitl.h
9369         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9370         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9371         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9372         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9373         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9375         * math/mul_splitl.h: New file.
9377         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9378         Move into mul_split.h, and remove redundant float.h include.
9380         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9381         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9383         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9385         * math/mul_split.h: New file.
9387 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9389         * math/Makefile (libm-gen-calls): Move
9390         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9391         (libm-calls): Remove above.
9393         * math/s_cacos_template.c: Update using type-generic macros.
9394         * math/s_cacosh_template.c: Likewise.
9395         * math/s_ccos_template.c: Likewise.
9396         * math/s_ccosh_template.c: Likewise.
9398         * math/s_cacosf.c: Removed.
9399         * math/s_cacos.c: Removed.
9400         * math/s_cacosl.c: Removed.
9401         * math/s_cacoshf.c: Removed.
9402         * math/s_cacosh.c: Removed.
9403         * math/s_cacoshl.c: Removed.
9404         * math/s_ccosf.c: Removed.
9405         * math/s_ccos.c: Removed.
9406         * math/s_ccosl.c: Removed.
9407         * math/s_ccoshf.c: Removed.
9408         * math/s_ccosh.c: Removed.
9409         * math/s_ccoshl.c: Removed.
9411         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9412         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9413         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9414         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9415         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9416         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9418         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9419         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9420         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9421         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9423         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9424         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9425         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9426         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9428 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9430         * s_cacos_template.c: Copy of s_cacos.c.
9431         * s_cacosh_template.c: Copy of s_cacosh.c.
9432         * s_ccos_template.c: Copy of s_ccos.c.
9433         * s_ccosh_template.c: Copy of s_ccosh.c.
9435 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9437         * stdlib/tst-strtod-round-skeleton.c:
9438         Refactored from tst-strtod-round.c.
9440         (L_): New macro to apply literal modifier.
9441         (FNPFX): New macro to select str or wcs prefix.
9442         (CHAR): New macro to choose wchar_t or char.
9443         (STRM): New macro to choose printf for tested character type.
9445         (STRTO): New macro to choose appropriate string -> real function.
9446         (FNPFXS): Stringitized version of FNPFX.
9447         (STR): Support for above macro.
9448         (STRX): Likewise.
9450         (TEST): Update with above macros.
9451         (test): Likewise.
9452         (GEN_ONE_TEST): Likewise.
9453         (test_in_one_mode): Likewise.
9455         * stdlib/tst-strtod-round.c: New file.
9456         * wcsmbs/tst-wcstod-round.c: New file.
9458         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9459         (tst-wcstod-round): Add libm depencency for fesetround.
9461 2016-08-19  Zack Weinberg  <zackw@panix.com>
9463         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9465 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9467         [BZ #20477]
9468         * resolv/res_hconf.c (do_init): Use atomic access.
9469         * resolv/res_hconf.h: Add comments.
9470         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9471         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9474 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9477         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9478         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9479         Likewise.
9481 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9483         [BZ #16907]
9484         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9485         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9486         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9487         (__attribute__): Remove definition.
9489 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9491         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9492         Remove unused sqrtl declaration.
9494 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9496         * math/Makefile: (gen-libm-templates.stmp): New rule.
9497         (libm-calls): Move carg conj cimag and cabs into ...
9498         (gen-libm-calls): New variable.
9499         (generated): Inform Make objects from gen-libm-calls
9500         may be generated.
9502         * sysdeps/generic/math-type-macros.h: New file.
9503         * sysdeps/generic/math-type-macros-float.h: Likewise.
9504         * sysdeps/generic/math-type-macros-double.h: Likewise.
9505         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9506         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9507         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9509         * math/cabs.c: Refactor into
9510         * math/cabs_template.c: new file.
9511         * math/cabsf.c: Removed.
9512         * math/cabsl.c: Removed.
9513         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9514         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9516         * math/carg.c: Refactor into
9517         * math/carg_template.c: new file.
9518         * math/cargf.c: Removed.
9519         * math/cargl.c: Removed.
9520         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9521         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9523         * math/conj.c: Refactor into
9524         * math/conj_template.c: new file.
9525         * math/conjf.c: Removed.
9526         * math/conjl.c: Removed.
9527         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9528         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9530         * math/cimag.c: Refactor into
9531         * math/cimag_template.c: new file.
9532         * math/cimagf.c: Removed.
9533         * math/cimagl.c: Removed.
9534         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9535         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9537         * math/cimag.c: Refactor into
9538         * math/cimag_template.c: new file.
9539         * math/cimagf.c: Removed.
9540         * math/cimagl.c: Removed.
9541         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9542         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9544 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9546         Reduce time to expected nptl/tst-once5 failure.
9547         * nptl/tst-once5.cc (TIMEOUT): Define.
9549 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9551         [BZ #20452]
9552         Avoid additional copies of objects in libc.a in static libraries.
9553         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9554         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9555         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9556         rt-sysdep.
9557         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9558         Add nptl-sysdep.
9559         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9560         Add ptw-sysdep.
9561         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9562         rt-sysdep.
9563         * sysdeps/unix/sysv/linux/alpha/Makefile
9564         (libpthread-shared-only-routines): Add ptw-sysdep,
9565         ptw-sigprocmask, ptw-rt_sigaction.
9566         * sysdeps/unix/sysv/linux/ia64/Makefile
9567         (librt-shared-only-routines): Add rt-sysdep.
9568         * sysdeps/unix/sysv/linux/i386/Makefile
9569         (libpthread-shared-only-routines): Add libc-do-syscall.
9570         * sysdeps/unix/sysv/linux/microblaze/Makefile
9571         (libpthread-shared-only-routines): Add sysdep.
9572         * sysdeps/unix/sysv/linux/powerpc/Makefile
9573         (librt-shared-only-routines): Add rt-sysdep.
9574         (libpthread-shared-only-routines): Add sysdep.
9575         * sysdeps/unix/sysv/linux/s390/Makefile
9576         (librt-shared-only-routines): Add rt-sysdep.
9577         * sysdeps/unix/sysv/linux/sparc/Makefile
9578         (librt-shared-only-routines): Add rt-sysdep.
9579         (libpthread-shared-only-routines): Add sysdep.
9580         * sysdeps/unix/sysv/linux/tile/Makefile
9581         (libpthread-shared-only-routines): Likewise.
9583 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9585         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9586         Mask implicit bit out of unpacked value.
9587         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9591         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9593         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9595         * sysdeps/s390/fpu/fesetexcept.c: New file.
9597         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9598         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9599         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9601         * sysdeps/mips/fpu/fesetexcept.c: New file.
9603         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9605         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9607         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9609         * sysdeps/arm/fesetexcept.c: New file.
9611         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9613         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9615         * math/fesetexcept.c: New file.
9616         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9617         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9618         * math/fenv.h: Define
9619         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9620         <bits/libc-header-start.h> instead of including <features.h>.
9621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9622         declaration.
9623         * manual/arith.texi (fesetexcept): Document function.
9624         * math/Versions (fesetexcept): New libm symbol at version
9625         GLIBC_2.25.
9626         * math/Makefile (libm-support): Add fesetexcept.
9627         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9628         * math/test-fesetexcept.c: New file.
9629         * math/test-fesetexcept-traps.c: Likewise.
9630         * sysdeps/nacl/libm.abilist: Update.
9631         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9633         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9634         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9635         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9636         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9637         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9638         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9639         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9644         Likewise.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9646         Likewise.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9648         Likewise.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9657         Likewise.
9658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9659         Likewise.
9660         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9664 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9666         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9667         New.
9668         (do_test): Apply default_stack_size_in_mb if not set.
9669         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9671 2016-08-15  Andreas Schwab  <schwab@suse.de>
9673         [BZ #20435]
9674         CVE-2016-6323
9675         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9676         as .cantunwind.
9678 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9680         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9681         comment from fraiseexcpt.c.
9683         * math/test-fexcept.c (feraiseexcept_exact): New function.
9684         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9685         (test_except): Likewise.
9687 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #20455]
9690         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9691         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9692         to be restored.
9694         * math/test-fexcept-traps.c: New file.
9695         * math/test-fexcept.c: Likewise.
9696         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9697         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9698         macro.
9699         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9700         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9702 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9704         * include/atomic.h (atomic_fetch_and_relaxed,
9705         atomic_fetch_and_release, atomic_fetch_or_release,
9706         atomic_fetch_xor_release): New.
9708 2016-08-06  Christian Seiler  <christian@iwakd.de>
9710         [BZ #20444]
9711         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9712         MACH_PORT_NULL.
9714 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9716         * math/s_fdim.c: Avoid alias renamed.
9717         * math/s_fdimf.c: Likewise.
9718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9719         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9720         Add s_fdimf-vis3, s_fdim-vis3.
9721         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9722         (CFLAGS-s_fdim-vis3.c): Likewise.
9723         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9724         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9726 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9729         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9730         Remove s_fdimf-vis3, s_fdim-vis3.
9731         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9732         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9739         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9740         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9742 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9744         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9745         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9746         -Wa,-Av9a -mvis.
9748 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9750         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9751         LIT() to individual constants in simple expressions
9752         after splitting on spaces.
9753         (_apply_lit): Rename replaced version, and use it to
9754         apply to what appears to be a token.
9756         * math/libm-test.inc: Fix many, many issues with
9757         spacing.
9759 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9761         * math/math.h: Move comment about <bits/mathdef.h> definitions
9762         above inclusion of <bits/mathdef.h>.  Do not mention
9763         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9765 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9767         * include/atomic.h (atomic_exchange_relaxed): New.
9769 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9771         * math/e_scalb.c: Do not include <fenv.h>.
9772         (invalid_fn): Do calculation resulting in NaN instead of raising
9773         FE_INVALID and returning a NaN explicitly.
9774         * math/e_scalbf.c: Do not include <fenv.h>.
9775         (invalid_fn): Do calculation resulting in NaN instead of raising
9776         FE_INVALID and returning a NaN explicitly.
9777         * math/e_scalbl.c: Do not include <fenv.h>.
9778         (invalid_fn): Do calculation resulting in NaN instead of raising
9779         FE_INVALID and returning a NaN explicitly.
9781 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9783         * po/de.po: Updated from Translation Project.
9784         * po/fi.po: Likewise.
9785         * po/sv.po: Likewise.
9787 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9789         [BZ #20452]
9790         Use sysdep.o from libc.a in static libraries.
9791         * sysdeps/unix/sysv/linux/i386/Makefile
9792         (libpthread-shared-only-routines): Add sysdep.
9793         (librt-shared-only-routines): Likewise.
9795 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9797         * math/tgmath.h (nextdown): Define if
9798         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9799         (nextup): Likewise.
9801         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9802         macro.
9803         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9804         Document.
9805         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9806         Document macro.
9807         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9808         (exp10f): Likewise.
9809         (exp10l): Likewise.
9810         * math/bits/mathcalls.h (exp10): Declare if
9811         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9813         * manual/arith.texi (nextup): Fix typo in last change.
9815 2016-08-03  Zack Weinberg  <zackw@panix.com>
9817         [BZ #19239]
9818         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9819         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9820         define major, minor, and makedev to issue deprecation warnings on use.
9821         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9822         previously-activated deprecation warnings for these macros and prevent
9823         subsequent inclusions of this header from having any effect.
9824         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9825         including <sys/sysmacros.h>, and undefine it again afterward.
9827 2016-08-03  Zack Weinberg  <zackw@panix.com>
9829         * sysdeps/generic/sys/sysmacros.h: Delete file.
9830         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9831         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9832         * bits/sysmacros.h: ... here; this encoding is now the generic
9833         encoding.  Now defines only the following macros:
9834         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9835         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9836         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9838         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9839         bits/sysmacros.h and the above new macros to generate the
9840         public implementations of major, minor, and makedev.
9841         * misc/tst-makedev.c: New test.
9842         * include/sys/sysmacros.h: New wrapper.
9844         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9845         (routines): Add makedev.
9846         (tests): Add tst-makedev.
9847         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9848         gnu_dev_makedev.
9849         * posix/Makefile (headers): Remove sys/sysmacros.h.
9850         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9852         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9853         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9854         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9855         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9856         * sysdeps/unix/sysv/linux/arm/libc.abilist
9857         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9858         * sysdeps/unix/sysv/linux/i386/libc.abilist
9859         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9860         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9861         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9862         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9863         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9864         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9865         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9866         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9867         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9872         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9873         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9874         * sysdeps/unix/sysv/linux/sh/libc.abilist
9875         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9876         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9880         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9881         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9882         Add GLIBC_2.25.
9884         * include/features.h (__glibc_clang_prereq): New macro.
9885         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9886         (__attribute_deprecated_msg__): New macros.
9888 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9890         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9891         macro.
9892         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9893         * manual/arith.texi (issignaling): Document as ISO from TS
9894         18661-1:2014.
9895         (nextup): Likewise.
9896         (nextupf): Likewise.
9897         (nextupl): Likewise.
9898         (nextdown): Likewise.
9899         (nextdownf): Likewise.
9900         (nextdownl): Likewise.
9901         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9902         macro.
9903         * math/math.h: Define
9904         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9905         <bits/libc-header-start.h> instead of including <features.h>.
9906         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9907         [__USE_GNU].
9908         * math/bits/mathcalls.h (nextdown): Declare if
9909         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9910         (nextup): Likewise.
9911         (__issignaling): Likewise.
9913 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9915         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9916         check, and remove __glibc_likely hint
9917         from FP_INFINITE check.
9918         * s_csinhf.c (__csinhf): Likewise.
9920         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9921         hint from FP_INFINITE check.
9922         * s_csinhl.c (__csinhl): Likewise.
9924 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9926         * math/Makefile (libm-calls): Insert F placeholder into
9927         object names.  Move w_lgamma_compat* routines into
9928         (libm-compat-calls): New variable.
9929         (libm-compat-calls-ldouble-yes): New variable.
9930         (calls): Insert F placeholder.
9931         (generated): Redefine using new type-foreach macro call.
9932         (routines): Likewise.
9934         (types): New variable to hold a list of symbolic names
9935         for each type supported by the target machine.
9936         (libm-routines): Redefine using new types variable.
9937         (type-foreach): macro to replace fooF with the
9938         appropriately suffixed foo for each types.
9940         (type-ldouble-suffix): New variable.
9941         (type-ldouble-routines): Likewise.
9942         (type-ldouble-yes): Likewise.
9943         (type-double-suffix): Likewise.
9944         (type-double-routines): Likewise.
9945         (type-float-suffix): Likewise.
9946         (type-float-routines): Likewise.
9948         (dbl-only-routines): Remove.
9949         (long-c-yes): Likewise.
9950         (long-m-routines): Likewise.
9951         (long-m-support): Likewise.
9952         (long-m-yes): Likewise.
9953         (test-longdouble-yes): Likewise.
9955         (test-float.o): Simplify by increasing the scope of the
9956         recipe which adds libm-test.stmp to the vector types.
9957         (test-ifloat.o): Likewise.
9958         (test-float-finite.o): Likewise.
9959         (test-double.o): Likewise
9960         (test-idouble.o): Likewise.
9961         (test-double-finite.o): Likewise.
9962         (test-ldouble.o): Likewise
9963         (test-ildoubl.o): Likewise.
9964         (test-ldouble-finite.o): Likewise.
9966         (libm-tests): Redefine type tests using foreach and the
9967         list of types in types.
9969         (CPPFLAGS-test-ildoubl.c): Rename to
9970         (CPPFLAGS-test-ildouble.c): New variable
9972         * math/test-ildoubl.c: Rename to
9973         * math/test-ildouble.c: New file.
9975 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9977         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9978         Use fabsl instead of fabs.
9979         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9980         Likewise.
9981         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9982         Add long double suffix to constant to ensure proper
9983         promotion to long double.
9985 2016-08-03  Tom Tromey  <tom@tromey.com>
9987         [BZ #20311]
9988         * nptl_db/Makefile (headers): Add proc_service.h.
9989         * nptl_db/proc_service.h: Add include guard.  Use
9990         __BEGIN/__END_DECLS.
9991         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9992         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9993         arguments.
9996 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9998         [BZ #17730]
9999         Avoid using memalign for TCB allocations.
10000         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10001         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10002         Avoid alignment gap in the TLS_DTV_AT_TP case.
10003         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10004         determine the pointer to free.
10005         * nptl/tst-tls3-malloc.c: New test.
10006         * nptl/Makefile (tests): Add it.
10007         (tst-tls3-malloc): Link with libdl, libpthread.
10008         (LDFLAGS-tst-tls3-malloc): Set.
10009         (tst-tls3-malloc.out): Depend on DSO used in test.
10011 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10013         [BZ #17730]
10014         Avoid using memalign for TLS allocations.
10015         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10016         is_static member with to_free member.
10017         (union dtv): Use struct dtv_pointer.
10018         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10019         dtv_pointer instead of is_static.
10020         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10021         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10022         instead of val.
10023         (allocate_dtv_entry): New function.
10024         (allocate_and_init): Return struct dtv_pointer.  Call
10025         allocate_dtv_entry instead of __libc_memalign.
10026         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10027         instead of val.
10028         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10029         instead of is_static.  Adjust call to allocate_and_init.
10030         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10031         struct dtv_pointer instead of val.
10033 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10035         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10036         (MALLOC_ALIGN_MASK): Move ...
10037         * malloc/malloc-internal.h: ... to here.
10038         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10040 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10042         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10043         (UDP_ENCAP_GTP1U): Likewise.
10045         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10046         (PF_MAX): Update value.
10047         (AF_QIPCRTR): New macro.
10049 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10051         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10052         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10055         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10056         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10057         s_truncf-vis3, s_trunc-vis3.
10058         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10059         (CFLAGS-s_ceil-vis3.c): Likewise.
10060         (CFLAGS-s_floorf-vis3.c): Likewise.
10061         (CFLAGS-s_floor-vis3.c): Likewise.
10062         (CFLAGS-s_truncf-vis3.c): Likewise.
10063         (CFLAGS-s_trunc-vis3.c): Likewise.
10064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10072         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10073         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10074         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10075         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10077 2016-08-02  David S. Miller  <davem@davemloft.net>
10079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10080         (__nearbyint_vis3): Don't check for sNaN before float register is
10081         loaded with the incoming argument.
10082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10083         (__nearbyintf_vis3): Likewise.
10084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10085         Likewise.
10086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10087         Likewise.
10089         * string/test-strncmp.c (do_test_limit): Make sure the test data
10090         stream is aligned as required for the type "CHAR".
10091         (do_test): Likewise.
10093 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10095         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10096         by beq instructions jumping to the end of the function.
10097         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10098         clobber list. Use "i" constraint instead of "X".
10099         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10100         of "X".
10102 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10104         * bits/libc-header-start.h: New file.
10105         * Makefile (headers): Add bits/libc-header-start.h.
10106         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10107         (__GLIBC_USE): New macro.
10108         * libio/stdio.h: Define
10109         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10110         <bits/libc-header-start.h> instead of including <features.h>.
10111         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10112         (open_memstream): Likewise.
10113         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10114         (__asprintf): Likewise.
10115         (asprintf): Likewise.
10116         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10117         (getdelim): Likewise.
10118         (getline): Likewise.
10119         * string/string.h: Define
10120         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10121         <bits/libc-header-start.h> instead of including <features.h>.
10122         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10123         (strndup): Likewise.
10124         * wcsmbs/wchar.h: Define
10125         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10126         <bits/libc-header-start.h> instead of including <features.h>.
10127         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10128         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10130 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10132         Support linking against compatibility symbols, for use in tests.
10133         * include/libc-symbols.h (symbol_version_reference): New macro.
10134         (symbol_version): Use it.
10135         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10136         (compat_symbol): Use compat_symbol_reference.
10137         (compat_symbol_1, compat_symbol_2): Remove.
10138         (compat_symbol_reference, compat_symbol_reference_1)
10139         (compat_symbol_reference_2): New macro.  Use
10140         symbol_version_reference.
10142 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10144         [BZ #19469]
10145         * malloc/Makefile (CPPFLAGS): Compile tests with
10146         -DTEST_NO_MALLOPT.
10147         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10149 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10151         [BZ #20033]
10152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10153         finite version.
10154         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10156         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10157         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10158         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10168         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10169         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10170         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10171         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10172         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10173         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10174         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10175         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10176         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10177         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10178         in zero power.
10180 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10182         [BZ #20370]
10183         * malloc/arena.c (get_free_list): Update comment.  Assert that
10184         arenas on the free list have no attached threads.
10185         (remove_from_free_list): New function.
10186         (reused_arena): Call it.
10188 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10190         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10191         when it is a NaN.
10192         [_IEEE_FP_INEXACT] Remove.
10193         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10194         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10195         when it is a NaN.
10196         [_IEEE_FP_INEXACT] Remove.
10197         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10198         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10199         when it is a NaN.
10200         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10201         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10202         when its absolute value is greater than 0x1.0p52.
10203         [_IEEE_FP_INEXACT] Remove.
10204         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10205         when its absolute value is greater than 0x1.0p23.
10206         [_IEEE_FP_INEXACT] Remove.
10208 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10210         * version.h (RELEASE): Set to "development"
10211         (VERSION): Set to 2.24.90.
10212         * NEWS: Add 2.25 section.
10214         * version.h (RELEASE): Set to "stable"
10215         (VERSION): Set to 2.24.
10216         * include/features.h (__GLIBC_MINOR__): Set to 24.
10218         * NEWS: Add 2.24 fixed bugs.
10219         * po/libc.pot: Regenerate.
10221 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10224         [$(subdir) = math] (libm-sysdep_routines): Remove.
10225         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10226         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10227         s_truncf-vis3, s_trunc-vis3.
10228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10230         file.
10231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10264         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10265         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10266         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10267         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10268         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10269         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10270         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10271         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10272         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10273         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10275 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10277         [BZ #20384]
10278         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10279         test-double-libmvec-sincos-avx-main.o,
10280         test-double-libmvec-sincos-avx2-main.o,
10281         test-double-libmvec-sincos-main.o,
10282         test-float-libmvec-sincosf-avx-main.o,
10283         test-float-libmvec-sincosf-avx2-main.o and
10284         test-float-libmvec-sincosf-main.o.
10285         test-float-libmvec-sincosf-avx512-main.o.
10286         ($(objpfx)test-double-libmvec-sincos): Also link with
10287         $(objpfx)test-double-libmvec-sincos-main.o.
10288         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10289         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10290         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10291         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10292         ($(objpfx)test-float-libmvec-sincosf): Also link with
10293         $(objpfx)test-float-libmvec-sincosf-main.o.
10294         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10295         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10296         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10297         test-double-libmvec-sincos-avx512-main.o and
10298         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10299         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10300         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10301         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10302         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10303         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10304         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10305         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10306         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10307         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10308         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10309         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10310         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10311         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10312         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10313         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10314         -DREQUIRE_AVX2.
10315         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10316         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10317         -DREQUIRE_AVX512F.
10318         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10319         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10320         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10321         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10322         file.
10323         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10324         Likewise.
10325         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10326         Likewise.
10327         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10328         Likewise.
10329         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10330         Likewise.
10331         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10332         Likewise.
10333         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10334         Likewise.
10335         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10336         Likewise.
10338 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10340         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10342 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10344         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10345         and typo in a comment about AT_HWCAP entry.
10347 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10349         * sysdeps/aarch64/libm-test-ulps: Updated.
10351 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10353         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10354         of r13 as it is not restored in mvcle case.
10356 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10358         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10359         Rename "ret" to "__ret".
10360         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10361         inline_syscall5, inline_syscall6): Likewise.
10363 2016-07-19   Will Newton  <will.newton@gmail.com>
10365         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10366         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10367         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10368         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10369         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10371 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10373         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10374         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10375         -mfpmath=387 with $(rtld-CFLAGS).
10376         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10377         $(rtld-CFLAGS).
10379 2016-07-18   Ross Burton  <ross.burton@intel.com>
10380              Khem Raj  <raj.khem@gmail.com>
10382         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10383         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10384         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10385         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10386         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10387         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10388         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10389         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10390         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10391         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10392         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10393         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10394         R_METAG_TLS_DTPOFF): New.
10396 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10397             Matt Clay  <mclay@lycos.com>
10399         [BZ #20357]
10400         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10401         to call __mpsin/__mpcos and to negate values.
10402         * math/auto-libm-test-in: Add test.
10403         * math/auto-libm-test-out: Regenerate.
10405 2016-07-18  Zack Weinberg  <zackw@panix.com>
10407         * grp/Makefile: Don't install the internal header grp-merge.h.
10409 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10411         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10413 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10415         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10417 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10419         [BZ #15368]
10420         * sysdeps/unix/sysv/linux/nptl-signals.h
10421         (__nptl_clear_internal_signals): New function.
10422         (__libc_signal_block_all): Likewise.
10423         (__libc_signal_block_app): Likewise.
10424         (__libc_signal_restore_set): Likewise.
10425         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10426         implementation.
10427         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10428         the cached pid/tid value in pthread structure.
10430 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10432         [BZ #20347]
10433         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10435 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10437         [BZ #20348]
10438         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10439         preadv64, pwrite64 and pwritev64.
10441 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10443         [BZ #20350]
10444         * posix/tst-preadwrite.c: Renamed to ...
10445         * posix/tst-preadwrite-common.c: This.
10446         (PREAD): Removed.
10447         (PWRITE): Likewise.
10448         (STRINGIFY): Likewise.
10449         (STRINGIFY2): Likewise.
10450         (do_prepare): Make it static and remove function arguments.
10451         (do_test): Likewise.
10452         (PREPARE): Updated.
10453         (TEST_FUNCTION): New.
10454         (name): Make it static.
10455         (fd): Likewise.
10456         (do_prepare): Use create_temp_file.
10457         (do_test): Renamed to ...
10458         (do_test_with_offset): This.  Make it static and accept offset.
10459         Properly check return value of PWRITE and PREAD.  Return bytes
10460         read.  Don't close fd nor unlink name.
10461         * posix/tst-preadwrite.c: Rewrite.
10462         * posix/tst-preadwrite64.c: Likewise.
10464 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10466         [BZ #20309]
10467         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10468         -mtls-dialect=gnu2 works.
10469         * configure: Regenerated.
10470         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10471         (tests): Add tst-gnu2-tls1.
10472         (modules-names): Add tst-gnu2-tls1mod.
10473         ($(objpfx)tst-gnu2-tls1): New.
10474         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10475         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10476         * elf/tst-gnu2-tls1.c: New file.
10477         * elf/tst-gnu2-tls1mod.c: Likewise.
10478         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10479         bytes for push in the PLT entry to align the stack.
10481 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10483         [BZ #20349]
10484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10486 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10488         [BZ #18707]
10489         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10490         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10492 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10494         * sysdeps/unix/sysv/linux/sysdep.h
10495         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10496         guards.
10497         * misc/tst-preadvwritev-common.c: New file.
10498         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10499         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10500         a check for files larger than 2GB.
10502         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10503         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10504         * sysdeps/unix/sysv/linux/pread.c
10505         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10506         __OFF_T_MATCHES_OFF64_T.
10507         * sysdeps/unix/sysv/linux/pread64.c
10508         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10509         * sysdeps/unix/sysv/linux/preadv.c
10510         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10511         * sysdeps/unix/sysv/linux/preadv64.c
10512         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10513         * sysdeps/unix/sysv/linux/pwrite.c
10514         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10515         * sysdeps/unix/sysv/linux/pwrite64.c
10516         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10517         * sysdeps/unix/sysv/linux/pwritev.c
10518         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10519         * sysdeps/unix/sysv/linux/pwritev64.c
10520         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10522 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10524         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10525         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10527 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10529         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10531 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10533         [BZ #20240]
10534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10535         (CFLAGS-s_modf-ppc32.c): New variable.
10536         (CFLAGS-s_modff-ppc32.c): Likewise.
10537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10538         (CFLAGS-s_modf-ppc64.c): Likewise.
10539         (CFLAGS-s_modff-ppc64.c): Likewise.
10541 2016-07-07  Andreas Schwab  <schwab@suse.de>
10543         [BZ #20263]
10544         * nptl/tst-robust10.c: New test.
10545         * nptl/Makefile (tests): Add tst-robust10.
10547 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10549         [BZ #20263]
10550         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10552 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10554         * sysdeps/s390/linkmap.h (struct link_map_machine):
10555         Remove member gotplt and add member jmprel.
10556         * sysdeps/s390/s390-32/dl-machine.h
10557         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10558         instead of gotplt with &got[3].
10559         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10560         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10562 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10564         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10566 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10568         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10569         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10570         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10571         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10572         * libio/vtables.c (_IO_vtable_check)
10573         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10574         * libio/libioP.h (IO_set_accept_foreign_vtables)
10575         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10577 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10579         [BZ #20314]
10580         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10581         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10582         $(common-objpfx)cmath.
10583         ($(common-objpfx)cstdlib): New target.
10584         ($(common-objpfx)cmath): Likewise.
10586 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10588         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10590 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10592         [BZ #20327]
10593         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10594         are not part of the string.
10596 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10598         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10599         * nptl/tst-cancel4-common.h (fifoname): New variable.
10600         (fifofd): Likewise.
10601         (cl_fifo): New function.
10602         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10603         SIGINT.
10604         (tf_open): Add early cancel test.
10606 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10608         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10610 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10612         * sysdeps/generic/ldsodefs.h
10613         (dl_symbol_visibility_binds_local_p): New inline function.
10614         * elf/dl-addr.c (determine_info): Treat hidden and internal
10615         symbols as local.
10616         * elf/dl-lookup.c (do_lookup_x): Likewise.
10617         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10619 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10621         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10622         invalid exception for a sNaN input.
10623         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10624         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10625         (__nearbyint_vis3): Likewise
10626         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10627         (__nearbyintf_vis3): Likewise
10628         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10629         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10630         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10631         Likewise.
10632         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10633         Likewise.
10635 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10637         [BZ #20139]
10638         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10639         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10640         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10641         2.24 or above.
10642         (HAVE_AVX512_ASM_SUPPORT): Removed.
10643         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10644         * sysdeps/x86_64/configure: Regenerated.
10645         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10646         check unconditional.
10647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10648         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10649         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10650         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10651         Likewise.
10652         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10653         Likewise.
10654         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10655         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10656         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10657         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10658         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10659         Likewise.
10660         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10661         Likewise.
10662         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10663         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10665         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10667         Likewise.
10668         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10669         Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10671         Likewise.
10672         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10673         Likewise.
10674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10675         Likewise.
10676         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10677         Likewise.
10678         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10679         Likewise.
10680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10681         Likewise.
10682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10683         Likewise.
10684         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10685         Likewise.
10686         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10687         Likewise.
10689 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10691         [BZ #20024]
10692         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10694         of this implementation of vector function.
10695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10697         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10698         Likewise.
10699         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10701         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10702         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10703         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10704         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10705         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10706         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10707         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10708         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10709         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10710         for testing vector sincos with fixed ABI.
10711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10712         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10714         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10717         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10718         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10720         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10722         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10723         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10724         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10725         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10726         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10728 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10730         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10732 2016-06-30  Anton Blanchard  <anton@samba.org>
10734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10735         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10736         s_sinf-ppc64.
10737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10740         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10742 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10746         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10747         e_expf-ppc64.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10751         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10753 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10755         [BZ #20277]
10756         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10757         when SHARED is defined.
10759 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10761         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10762         (index_arch_Prefer_ERMS): Likewise.
10763         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10764         __memcpy_erms for Prefer_ERMS.
10765         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10766         (__memmove_erms): Enabled for libc.a.
10767         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10768         __memmove_erms or Prefer_ERMS.
10769         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10770         __mempcpy_erms for Prefer_ERMS.
10771         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10772         __memset_erms for Prefer_ERMS.
10774 2016-06-30  Andreas Schwab  <schwab@suse.de>
10776         [BZ #20262]
10777         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10778         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10779         of memory.
10781 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10783         [BZ #18645]
10784         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10785         (test-extras): Add tst-cleanupx4aux.
10786         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10787         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10788         tst-cleanupx4aux.o.
10789         * nptl/tst-cleanupx4aux.c: New file.
10791 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10793         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10795 2016-06-29  Andreas Schwab  <schwab@suse.de>
10797         [BZ #20260]
10798         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10799         address before the beginning of the string as an integer to avoid
10800         array-bounds warning.
10802 2016-06-28  Richard Henderson  <rth@redhat.com>
10804         * elf/elf.h (EM_BPF): New.
10805         (EM_NUM): Update.
10806         (R_BPF_NONE, R_BPF_MAP_FD): New.
10808         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10809         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10810         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10811         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10812         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10813         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10814         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10815         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10816         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10817         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10818         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10819         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10820         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10821         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10822         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10823         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10824         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10825         (EM_NUM): Update.
10827 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10829         [BZ #18960]
10830         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10831         Set _nl_current_LC_CATEGORY_used to two instead of one.
10833 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10835         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10836         (do_test): ... this.
10837         (TEST_FUNCTION): New macro.
10838          Include test-skeleton.c.
10839         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10840         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10842 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10844         [BZ #15479]
10845         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10846         floating-point environment rather than just control word.
10847         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10848         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10849         floating-point environment, with "invalid" exceptions merged in,
10850         rather than just control word.
10851         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10852         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10853         "inexact" exceptions.
10855         [BZ #15479]
10856         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10857         floating-point environment rather than just control word.
10858         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10859         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10860         floating-point environment, with "invalid" exceptions merged in,
10861         rather than just control word.
10862         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10863         * math/libm-test.inc (floor_test_data): Do not allow spurious
10864         "inexact" exceptions.
10866         [BZ #15479]
10867         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10868         floating-point environment rather than just control word.
10869         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10870         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10871         floating-point environment, with "invalid" exceptions merged in,
10872         rather than just control word.
10873         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10874         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10875         "inexact" exceptions.
10877 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10879         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10880         __libc_vfork.
10881         (__vfork) [IS_IN (libc)]: Remove alias.
10882         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10883         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10884         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10886 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10888         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10889         of atomic_compare_and_exchange_bool_rel.
10890         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10891         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10892         catomic_compare_and_exchange_bool_rel): Remove.
10893         * sysdeps/aarch64/atomic-machine.h
10894         (atomic_compare_and_exchange_bool_rel): Likewise.
10895         * sysdeps/alpha/atomic-machine.h
10896         (atomic_compare_and_exchange_bool_rel): Likewise.
10897         * sysdeps/arm/atomic-machine.h
10898         (atomic_compare_and_exchange_bool_rel): Likewise.
10899         * sysdeps/mips/atomic-machine.h
10900         (atomic_compare_and_exchange_bool_rel): Likewise.
10901         * sysdeps/microblaze/atomic-machine.h
10902         ( __arch_compare_and_exchange_bool_8_rel,
10903         __arch_compare_and_exchange_bool_16_rel): Likewise.
10904         * sysdeps/powerpc/atomic-machine.h
10905         ( __arch_compare_and_exchange_bool_8_rel,
10906         __arch_compare_and_exchange_bool_16_rel): Likewise.
10907         * sysdeps/powerpc/powerpc32/atomic-machine.h
10908         ( __arch_compare_and_exchange_bool_32_rel,
10909         __arch_compare_and_exchange_bool_64_rel): Likewise.
10910         * sysdeps/powerpc/powerpc64/atomic-machine.h
10911         ( __arch_compare_and_exchange_bool_32_rel,
10912         __arch_compare_and_exchange_bool_64_rel): Likewise.
10913         * sysdeps/tile/atomic-machine.h
10914         (atomic_compare_and_exchange_bool_rel): Likewise.
10916 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10918         [BZ #20296]
10919         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10920         when either argument is a NaN.
10921         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10922         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10924         * math/libm-test.inc (snan_value_ld): New macro.
10925         (isgreater_test_data): Add sNaN tests.
10926         (isgreaterequal_test_data): Likewise.
10927         (isless_test_data): Likewise.
10928         (islessequal_test_data): Likewise.
10929         (islessgreater_test_data): Likewise.
10930         (isunordered_test_data): Likewise.
10931         (nextafter_test_data): Likewise.
10932         (nexttoward_test_data): Likewise.
10933         (remainder_test_data): Likewise.
10934         (remquo_test_data): Likewise.
10935         (significand_test_data): Likewise.
10936         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10938 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10940         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10941         environment macros are defined.
10942         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10944 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10946         [BZ #20191]
10947         Implement vtable verification in libio.
10948         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10949         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10950         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10951         _IO_new_file_init_internal instead of _IO_file_init.
10952         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10953         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10954         * libio/Makefile (routines): Add vtables.
10955         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10956         (_IO_init): Remove, not for internal use.
10957         (_IO_init_internal): Declare, internal replacement for _IO_init.
10958         (_IO_file_init): Remove, not for internal use.
10959         (_IO_new_file_init): Remove, not for internal use.
10960         (_IO_new_file_init_internal): Declare, internal replacement for
10961         _IO_new_file_init.
10962         (_IO_old_file_init): Remove, not for internal use.
10963         (_IO_old_file_init_internal): Declare, internal replacement for
10964         _IO_old_file_init.
10965         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10966         internal use.
10967         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10968         Declare.
10969         (libio_vtable): New macro.
10970         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10971         functions.
10972         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10973         _IO_new_file_init.
10974         (_IO_new_file_init): New externally visible wrapper which disables
10975         vtable verification.
10976         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10977         Define as vtables.
10978         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10979         (_IO_init): New externally visible wrapper which disables
10980         vtable verification.
10981         * libio/iofdopen.c (_IO_new_fdopen): Call
10982         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10983         comment.
10984         * libio/iofopen.c (__fopen_internal): Call
10985         _IO_new_file_init_internal instead of _IO_file_init.
10986         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10987         Define as vtables.
10988         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10989         _IO_new_file_init_internal instead of _IO_file_init.
10990         * libio/iopopen.c (_IO_new_popen): Likewise.
10991         (_IO_proc_jumps): Define as vtable.
10992         * libio/iovdprintf.c (_IO_vdprintf): Call
10993         _IO_new_file_init_internal instead of _IO_file_init.
10994         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10995         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10996         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10997         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10998         _IO_old_file_init.
10999         (_IO_old_file_init): New externally visible wrapper which disables
11000         vtable verification.
11001         (_IO_old_file_jumps): Define as vtable.
11002         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11003         _IO_old_file_init_internal instead of _IO_old_file_init.
11004         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11005         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11006         (_IO_old_proc_jumps): Define as vtable.
11007         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11008         Define as vtables.
11009         * libio/vtables.c: New file.
11010         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11011         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11012         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11013         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11014         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11015         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11016         instead of _IO_init.
11018 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11020         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11022 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11024         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11025         potentially unused.
11027 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11029         * test-skeleton.c (write_message): New function.
11030         * malloc/tst-mallocfork2.c (write_message): Remove.
11031         * debug/tst-longjmp_chk2.c (write_indented): New function.
11032         (write_message): Remove.
11033         (stackoverflow_handler): Call write_indented.
11035 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11037         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11038         "inexact" exceptions after fnstenv.
11039         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11040         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11041         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11043 2015-06-22  Zack Weinberg  <zackw@panix.com>
11045         * sysdeps/generic/bits/hwcap.h: Moved to ...
11046         * bits/hwcap.h: Here.
11048 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11050         * sysdeps/aarch64/memcpy.S (memcpy):
11051         Further tuning for performance.
11053 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11055         [BZ #20284]
11056         * malloc/arena.c (reused_arena): Do not return NULL if we start
11057         out with a non-corrupted arena.
11059 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11061         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11062         * misc/tst-preadvwritev.c: New file.
11063         * misc/tst-preadvwritev64.c: Likewise.
11064         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11065         usage.
11066         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11067         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11068         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11069         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11071 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11073         [BZ #19654]
11074         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11075         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11076         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11077         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11078         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11079         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11080         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11081         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11082         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11083         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11084         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11085         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11086         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11087         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11088         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11089         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11090         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11091         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11092         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11093         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11094         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11095         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11096         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11097         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11098         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11099         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11101 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11103         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11104         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11106 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11108         * sysdeps/aarch64/memcpy.S (memcpy):
11109         Rewrite of optimized memcpy and memmove.
11110         * sysdeps/aarch64/memmove.S (memmove): Remove
11111         memmove code (merged into memcpy.S).
11113 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11115         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11116         * sysdeps/generic/dl-dtv.h: New file.
11117         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11118         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11119         (dtv_t): Remove.
11120         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11121         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11122         (dtv_t): Remove.
11123         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11124         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11125         (dtv_t): Remove.
11126         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11127         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11128         (dtv_t): Remove.
11129         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11130         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11131         (dtv_t): Remove.
11132         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11133         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11134         (dtv_t): Remove.
11135         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11136         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11137         (dtv_t): Remove.
11138         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11139         (dtv_t): Remove.
11140         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11141         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11142         (dtv_t): Remove.
11143         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11144         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11145         (dtv_t): Remove.
11146         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11147         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11148         (dtv_t): Remove.
11149         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11150         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11151         (dtv_t): Remove.
11152         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11153         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11154         (dtv_t): Remove.
11155         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11156         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11157         (dtv_t): Remove.
11158         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11159         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11160         (dtv_t): Remove.
11161         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11162         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11163         (dtv_t): Remove.
11165 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11167         Revert symbol poisoning of  __malloc_initialize_hook.
11168         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11169         poisoning.
11170         * malloc/Makefile: Remove un-poisoning.
11171         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11172         instead of old__malloc_initialize_hook.
11173         * malloc/malloc-hooks.h: Likewise.
11174         * malloc/malloc.c: Likewise.
11175         * malloc/mcheck-init.c: Likewise.
11177 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11179         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11181 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11183         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11184         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11185         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11186         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11188 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11190         * NEWS: Mention addition of nextup and nextdown.
11191         * manual/arith.texi: Document nextup and nextdown.
11192         * manual/libm-err-tab.pl: Add nextup and nextdown.
11193         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11194         * math/Versions (libm): Add GLIBC_2.24.
11195         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11196         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11197         Add new test.
11198         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11199         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11200         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11201         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11202         (nextup_test_data): Likewise.
11203         (nextdown_test_data): Likewise.
11204         * math/s_nextdown.c: New file.
11205         * math/s_nextdownf.c: Likewise.
11206         * math/s_nextdownl.c: Likewise.
11207         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11208         F(nextup): New function.
11209         F(nextdown): Likewise.
11210         * math/tgmath.h: Add nextup and nextdown.
11211         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11212         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11213         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11214         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11215         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11216         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11217         Add nextup and nextdown.
11218         (CFLAGS-nldbl-nextup.c): New variable.
11219         (CFLAGS-nldbl-nextdown.c): Likewise.
11220         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11221         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11222         * sysdeps/nacl/libm.abilist: Update.
11223         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11225         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11226         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11227         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11228         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11229         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11230         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11231         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11232         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11237         Likewise.
11238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11242         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11244         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11247         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11248         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11249         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11250         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11252 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11254         * manual/pattern.texi: Fix typos & grammar errors.
11256 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11258         * manual/search.texi: Fix typos & grammar errors.
11260 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11262         * manual/message.texi: Fix typos & grammar errors.
11264 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11266         * manual/contrib.texi: Fix spelling typos.
11267         * manual/crypt.texi: Likewise.
11268         * manual/filesys.texi: Likewise.
11269         * manual/locale.texi: Likewise.
11270         * manual/message.texi: Likewise.
11271         * manual/nss.texi: Likewise.
11272         * manual/string.texi: Likewise.
11274 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11276         * manual/locale.texi: Fix typos & grammar errors.
11278 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11280         * manual/charset.texi: Fix typos & grammar errors.
11282 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11284         * manual/string.texi: Fix typos.
11286 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11288         * manual/ctype.texi: Fix typos.
11290 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11292         * manual/memory.texi: Fix various typos & grammar errors.
11294 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11296         [BZ #20255]
11297         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11298         * math/libm-test.inc (fdim_test_data): Add another test.
11300         [BZ #6796]
11301         [BZ #20255]
11302         [BZ #20256]
11303         * math/s_fdim.c: Include <math_private.h>.
11304         (__fdim): Use math_narrow_eval on result.
11305         * math/s_fdimf.c: Include <math_private.h>.
11306         (__fdimf): Use math_narrow_eval on result.
11307         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11308         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11309         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11310         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11311         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11312         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11313         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11314         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11315         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11316         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11317         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11318         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11319         overflow.  Add sNaN tests.
11321         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11322         fpclassify.
11323         * math/s_fdimf.c (__fdimf): Likewise.
11324         * math/s_fdiml.c (__fdiml): Likewise.
11326 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11328         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11329         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11331         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11332         ifunc'ed strcasecmp/strncasecmp.
11333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11334         [EALIGN]: Removed.
11335         [END]: Likewise.
11336         [__strcasecmp]: Define instead of the above to control symbol name.
11337         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11338         for __strcasecmp_power8.
11339         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11340         for __strncasecmp_power8.
11341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11343         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11344         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11345         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11346         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11348 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11350         [BZ #20252]
11351         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11352         arguments when second argument is a NaN.
11353         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11354         qNaN tests.
11356         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11357         (conj_test_data): Likewise.
11358         (copysign_test_data): Likewise.
11359         (creal_test_data): Likewise.
11360         (fma_test_data): Likewise.
11361         (fmod_test_data): Likewise.
11363         [BZ #20250]
11364         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11365         itself.
11366         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11367         zero input to itself.
11368         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11369         Likewise.
11370         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11371         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11373         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11374         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11376 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11378         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11379         * nptl/tst-cancel4-common.c: New file.
11380         * nptl/tst-cancel4-common.h: Likewise.
11381         * nptl/tst-cancel4.c: Move common definitions to
11382         tst-cancel4-common.{c,h} file.
11383         * nptl/tst-cancel4_1.c: New test.
11384         * nptl/tst-cancel4_2.c: New test.
11386 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11388         [BZ #20248]
11389         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11390         (write_message): New function.
11391         (stackoverflow_handler): Call it instead of printf, to avoid
11392         excessive stack usage by printf.
11393         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11395 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11397         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11398         (prio_inherit_missing): Remove define.
11399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11400         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11402         Likewise.
11403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11404         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11406         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11407         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11408         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11410 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11412         [BZ #19670]
11413         [BZ #19672]
11415         * io/test-lfs.c (do_prepare): Use xmalloc.
11416         * io/tst-fcntl.c (do_prepare): Likewise.
11417         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11418         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11419         * login/tst-utmp.c (do_prepare): Likewise.
11420         * posix/tst-exec.c (do_prepare): Likewise.
11421         * posix/tst-pathconf.c (prepare): Likewise.
11422         * posix/tst-spawn.c (do_prepare): Likewise.
11423         * posix/tst-truncate.c (do_prepare): Likewise.
11424         * rt/tst-aio.c (do_prepare): Likewise.
11425         * rt/tst-aio64.c (do_prepare): Likewise.
11427 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11429         [BZ #20237]
11430         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11431         (get*ent): Set entidx to NULL during initialization.  If entidx is
11432         NULL, start iteration from the beginning.
11434 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11436         * malloc/malloc.c (musable): Return correct size for dumped fake
11437         mmapped chunk.
11439 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11441         [BZ #20222]
11442         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11443         (_IO_cookie_write): Likewise.
11444         (_IO_cookie_seek): Likewise.
11445         (_IO_cookie_close): Likewise.
11446         (_IO_old_cookie_seek): Likewise.
11447         (set_callbacks): New function.
11448         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11450 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11452         * locale/programs/localedef.c (oldstyle_tables): Remove.
11453         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11455 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11457         [BZ #20240]
11458         * math/Makefile (CFLAGS-s_modf.c): New variable.
11459         (CFLAGS-s_modff.c): Likewise.
11460         (CFLAGS-s_modfl.c): Likewise.
11461         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11463 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11465         [BZ #20215]
11466         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11467         [!__GNUC_PREREQ (3,2)]: Likewise.
11469 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11471         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11472         (msghdr.msg_controllen): Likewise.
11473         (cmsghdr.cmsg_len): Likewise.
11474         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11475         ptw-oldsendmsg.
11476         (CFLAGS-oldrecvmsg.c): Remove rule.
11477         (CFLAGS-oldsendmsg.c): Likewise.
11478         (CFLAGS-recvmsg.c): Add rule.
11479         (CFLAGS-sendmsg.c): Likewise.
11480         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11481         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11482         (CFLAGS-recvmsg.c): Remove rule.
11483         (CFLAGS-sendmsg.c): Likewise.
11484         (CFLAGS-oldrecvmsg.c): Likewise.
11485         (CFLAGS-oldsendmsg.c): Likewise.
11486         (CFLAGS-recvmmsg.c): Likewise.
11487         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11488         to kernel defined interfaces.
11489         (msghdr.msg_controllen): Likewise.
11490         (cmsghdr.cmsg_len): Likewise.
11491         (msghdr.__glibc_reserved1): Remove member.
11492         (msghdr.__glibc_reserved2): Likewise.
11493         (cmsghdr.__glibc_reserved1): Likewise.
11494         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11495         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11496         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11497         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11498         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11499         version.
11500         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11501         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11502         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11503         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11504         Remove recvmsg and sendmsg.
11505         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11506         Likewise.
11507         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11508         Likewise.
11509         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11510         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11511         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11516         [libc] (GLIBC_2.24): Likewise.
11517         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11518         Likewise.
11519         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11520         Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11522         [libc] (GLIBC_2.24): Likewise.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11524         Likewise.
11525         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11526         Likewise.
11527         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11528         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11529         Likewise.
11530         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11531         Likewise.
11532         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11533         Likewise.
11534         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11535         Likewise.
11536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11537         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11538         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11539         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11540         version for {recv,send,recm,sendm}msg.
11541         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11542         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11543         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11544         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11545         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11546         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11547         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11548         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11549         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11550         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11551         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11552         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11554         Likewise.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11556         Likewise.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11559         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11560         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11561         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11562         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11563         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11564         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11567         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11568         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11569         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11571 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11573         [BZ #19564]
11574         Remove __malloc_initialize_hook from the API.
11575         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11576         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11577         #pragma GCC poison.
11578         * malloc/malloc-hooks.h: New file.
11579         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11580         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11581         (old__malloc_initialize_hook): Rename from
11582         __malloc_initialize_hook to evade poisoning.  Turn into compat
11583         symbol.
11584         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11585         __malloc_initialize_hook.
11586         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11587         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11588         * manual/memory.texi (Hooks for Malloc): Remove
11589         __malloc_initialize_hook.  Adjust hook example.
11591 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11593         [BZ #20235]
11594         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11595         itself.
11596         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11597         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11599         [BZ #20234]
11600         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11601         infinity or NaN input to itself.
11603         [BZ #20233]
11604         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11605         to itself.
11607         [BZ #20232]
11608         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11609         itself.
11611 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11613         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11614         __libc_start_main via GOT.
11616 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11618         * sysdeps/x86_64/memcopy.h: New file.
11619         * sysdeps/x86_64/wordcopy.c: Likewise.
11621 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11623         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11624         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11625         <cstdlib>.
11626         (optimization_barrier): New.
11627         (do_test): Use it.  Call quick_exit in the global namespace.
11628         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11629         instead of <cstdlib>, <thread>.
11630         (optimization_barrier): New.
11631         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11632         Call quick_exit in the global namespace.
11633         (do_test): Call optimization_barrier.  Use pthread_create,
11634         pthread_join instead of std::thread.
11636 2016-06-09  Andreas Schwab  <schwab@suse.de>
11638         [BZ #19755]
11639         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11640         new entries in auto-propagate mode.
11641         * nscd/grpcache.c (cache_addgr): Likewise.
11643 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11645         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11646         New functions.
11647         (add_temp_file): Use them.
11649 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11651         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11653 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11655         [BZ #20229]
11656         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11657         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11658         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11660         [BZ #20228]
11661         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11662         itself.
11663         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11664         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11666         [BZ #20227]
11667         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11668         itself.
11669         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11670         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11671         * math/libm-test.inc (log_test_data): Add sNaN tests.
11673         [BZ #20226]
11674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11675         itself.
11676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11677         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11678         (exp10_test_data): Likewise.
11679         (expm1_test_data): Likewise.
11681         [BZ #20225]
11682         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11683         itself.
11684         * math/s_ldexpf.c (__ldexpf): Likewise.
11685         * math/s_ldexpl.c (__ldexpl): Likewise.
11686         * math/w_scalbln.c (__w_scalbln): Likewise.
11687         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11688         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11689         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11690         (scalbln_test_data): Likewise.
11692         [BZ #20224]
11693         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11694         argument to itself.
11695         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11697 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11699         [BZ #19776]
11700         * sysdeps/x86_64/memcpy.S: Make it dummy.
11701         * sysdeps/x86_64/mempcpy.S: Likewise.
11702         * sysdeps/x86_64/memmove.S: New file.
11703         * sysdeps/x86_64/memmove_chk.S: Likewise.
11704         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11705         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11706         * sysdeps/x86_64/memmove.c: Removed.
11707         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11708         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11709         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11710         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11711         Likewise.
11712         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11713         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11715         memcpy-sse2-unaligned, memmove-avx-unaligned,
11716         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11718         (__libc_ifunc_impl_list): Replace
11719         __memmove_chk_avx512_unaligned_2 with
11720         __memmove_chk_avx512_unaligned.  Remove
11721         __memmove_chk_avx_unaligned_2.  Replace
11722         __memmove_chk_sse2_unaligned_2 with
11723         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11724         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11725         with __memmove_avx512_unaligned.  Replace
11726         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11727         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11728         with __memcpy_chk_avx512_unaligned.  Remove
11729         __memcpy_chk_avx_unaligned_2.  Replace
11730         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11731         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11732         Replace __memcpy_avx512_unaligned_2 with
11733         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11734         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11735         with __mempcpy_chk_avx512_unaligned.  Remove
11736         __mempcpy_chk_avx_unaligned_2.  Replace
11737         __mempcpy_chk_sse2_unaligned_2 with
11738         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11739         Replace __mempcpy_avx512_unaligned_2 with
11740         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11741         Replace __mempcpy_sse2_unaligned_2 with
11742         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11743         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11744         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11745         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11746         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11747         (ENTRY): Removed.
11748         (END): Likewise.
11749         (ENTRY_CHK): Likewise.
11750         (libc_hidden_builtin_def): Likewise.
11751         Don't include ../memcpy.S.
11752         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11753         __memcpy_chk_avx512_unaligned_erms and
11754         __memcpy_chk_avx512_unaligned.  Use
11755         __memcpy_chk_avx_unaligned_erms and
11756         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11757         Default to __memcpy_chk_sse2_unaligned.
11758         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11759         Change function suffix from unaligned_2 to unaligned.
11760         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11761         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11762         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11763         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11764         (ENTRY): Removed.
11765         (END): Likewise.
11766         (ENTRY_CHK): Likewise.
11767         (libc_hidden_builtin_def): Likewise.
11768         Don't include ../mempcpy.S.
11769         (mempcpy): New.  Add a weak alias.
11770         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11771         __mempcpy_chk_avx512_unaligned_erms and
11772         __mempcpy_chk_avx512_unaligned.  Use
11773         __mempcpy_chk_avx_unaligned_erms and
11774         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11775         Default to __mempcpy_chk_sse2_unaligned.
11777 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11779         [BZ #19881]
11780         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11781         into ...
11782         * sysdeps/x86_64/memset.S: This.
11783         (__bzero): Removed.
11784         (__memset_tail): Likewise.
11785         (__memset_chk): Likewise.
11786         (memset): Likewise.
11787         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11788         defined.
11789         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11790         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11791         (__memset_zero_constant_len_parameter): Check SHARED instead of
11792         PIC.
11793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11794         memset-avx2 and memset-sse2-unaligned-erms.
11795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11796         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11797         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11798         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11799         (__bzero): Enabled.
11800         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11801         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11802         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11803         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11804         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11805         (memset): Removed.
11806         (__memset_chk): Likewise.
11807         (MEMSET_SYMBOL): New.
11808         (libc_hidden_builtin_def): Replace __memset_sse2 with
11809         __memset_sse2_unaligned.
11810         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11811         __memset_chk_sse2 and __memset_chk_avx2 with
11812         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11813         Use __memset_chk_sse2_unaligned_erms or
11814         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11815         __memset_chk_avx512_unaligned_erms and
11816         __memset_chk_avx512_unaligned.
11818 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11820         * math/gen-auto-libm-test.c (fp_format_desc): remove
11821         suffix member.
11822         (output_generic_value): Remove usage of suffix member,
11823         and the resulting unuse of the fp_format argument.
11824         (output_for_one_input_case): Remove unused fp_format
11825         parameter.
11827         * math/auto-libm-test-out: Regenerate.
11829         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11830         usage with TEST_COND_ibm128.
11831         (TEST_COND_flt_32): Remove.
11832         (TEST_COND_dbl_64): Remove.
11833         (TEST_COND_ldbl_96_intel): Remove.
11834         (TEST_COND_ldbl_96_m68k): Remove.
11835         (TEST_COND_ldbl_128): Remove.
11837 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11839         * auto-libm-test-in:
11840         Replace flt-32 usage with binary32.
11841         Replace dbl-64 usage with binary64.
11842         Replace ldbl-intel-96 usage with intel96.
11843         Replace ldbl-m68k-96 usage with m68k96.
11844         Replace ldbl-128ibm usage with ibm128.
11845         Replace ldbl-128 usage with binary128.
11847         * auto-libm-test-out: Regenerate.
11849 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11851         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11852         (parse_ulps): Dynamically generate type name matching
11853         string from all_floats.
11854         (get_ulps): Generate the ulps as an array instead.
11855         (output_ulps): Dynamically compose the type based
11856         on the number of supported formats, and print
11857         the indices as type specific helper macros.
11859         * math/libm-test.inc: Remove comment about CHOOSE.
11860         (ulp_data): Generate the type in libm-test-ulps.h.
11861         (ULP_IDX): New macro.
11862         (find_ulps): Update usage of max_ulp.
11864         * math/test-double-vlen2.h (CHOOSE): Remove.
11865         * math/test-double-vlen4.h (CHOOSE): Likewise.
11866         * math/test-double-vlen8.h (CHOOSE): Likewise.
11867         * math/test-float.c (CHOOSE): Likewise.
11868         * math/test-float-finite.c (CHOOSE): Likewise.
11869         * math/test-double.c (CHOOSE): Likewise.
11870         * math/test-double-finite.c (CHOOSE): Likewise.
11871         * math/test-idouble.c (CHOOSE): Likewise.
11872         * math/test-ifloat.c (CHOOSE): Likewise.
11873         * math/test-ildoubl.c (CHOOSE): Likewise.
11874         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11875         * math/test-ldouble.c (CHOOSE): Likewise.
11877         * math/test-float.h (TEST_FLOAT): Remove.
11878         * math/test-double.h (TEST_DOUBLE): Likewise.
11879         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11881 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11883         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11884         (parse_args): Strip C suffix from floating point literals
11885         typed with 'f' and wrap them with LIT().
11887         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11888         (test_ff_f_data_nexttoward): Rename to
11889         (test_fj_f_data): New struct.
11890         (nexttoward_test_data): Relabel tests as
11891         TEST_fj_f instead of TEST_ff_f.
11893 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11895         Emacs bug 23726.
11896         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11897         (__libc_realloc): Correct size computation for dumped fake mmapped
11898         chunks.
11900 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11902         [BZ #20219]
11903         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11904         to itself.
11905         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11907         [BZ #20218]
11908         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11909         to itself.
11910         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11912 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11914         [BZ #20195]
11915         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11916         check to ...
11917         (init_cpu_features): Here.
11919 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11921         [BZ #20214]
11922         * sysdeps/unix/sysv/linux/bits/in.h
11923         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11924          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11925         Define to 1.
11926         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11927          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11928         Define to 0.
11929         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11930         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11932 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11934         [BZ #20198]
11935         * stdlib/Makefile (tests): Add tst-quick_exit, and
11936         tst-thread-quick_exit.
11937         [ifeq ($(have-cxx-thread_local),yes)]
11938         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11939         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11940         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11941         (LDLIBS-tst-thread-quick_exit): Likewise.
11942         [ifneq ($(have-cxx-thread_local),yes)]
11943         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11944         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11945         If run_dtors is true call __call_tls_dtors.
11946         (exit): Call __run_exit_handlers with run_dtors set to true.
11947         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11948         definition.
11949         * stdlib/quick_exit.c (quick_exit): Remove function.
11950         (__new_quick_exit): New function.
11951         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11952         function.
11953         * stdlib/tst-quick_exit.cc: New file.
11954         * stdlib/tst-thread-quick_exit.cc: New file.
11955         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11956         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11957         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11958         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11959         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11960         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11961         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11962         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11963         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11964         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11965         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11966         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11967         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11968         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11970         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11975         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11976         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11977         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11978         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11982         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11984         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11986 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11988         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11989         a typo in comments.
11991 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #20213]
11994         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11995         argument to itself.
11996         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11998 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12000         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12001         required flags.
12002         (CFLAGS-pwritev64.c): Likewise.
12003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12005         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12006         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12007         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12008         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12009         syscall from auto-generation.
12010         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12011         [WORDSIZE == 64] (pwritev64): Remove macro.
12012         [!PWRITEV] (PWRITEV): Likewise.
12013         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12014         [!PWRITEV] (PWRITE): Likewise.
12015         [!PWRITEV] (OFF_T): Likewise.
12016         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12017         (LO_HI_LONG): Remove macro.
12018         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12019         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12020         (PWRITEV): Remove macro.
12021         (PWRITEV_REPLACEMENTE): Likewise.
12022         (PWRITE): Likewise.
12023         (OFF_T): Likewise.
12024         (pwritev64): New function.
12025         * nptl/tst-cancel4.c (tf_writev): Add test.
12027         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12028         required flags.
12029         (CFLAGS-preadv64.c): Likewise.
12030         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12031         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12032         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12033         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12034         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12035         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12036         syscall from auto-generation.
12037         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12038         [WORDSIZE == 64] (preadv64): Remove macro.
12039         [!PREADV] (PREADV): Likewise.
12040         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12041         [!PREADV] (PREAD): Likewise.
12042         [!PREADV] (OFF_T): Likewise.
12043         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12044         (LO_HI_LONG): Remove macro.
12045         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12046         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12047         (PREADV): Remove macro.
12048         (PREADV_REPLACEMENTE): Likewise.
12049         (PREAD): Likewise.
12050         (OFF_T): Likewise.
12051         (preadv64): New function.
12052         * nptl/tst-cancel4.c (tf_preadv): Add test.
12054 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12056         [BZ #20212]
12057         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12058         argument to itself.
12059         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12061 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12063         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12064         New symbol defined as libc_hidden_def.
12065         (strcasestr): Became a weak alias to __strcasestr.
12066         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12067         according to multi-arch support.  Move __stpncpy hidden
12068         definition from here to...
12069         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12070         symbol stpncpy.
12071         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12072         libc_hidden_builtin_def.
12073         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12074         memset symbol to use when multi-arch support is available.
12076 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12078         * dlfcn/tst-rec-dlopen.c: Include string.h.
12080 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12082         * manual/install.texi: Remove mention of --without-tls
12083         * INSTALL: Regenerate.
12085 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12087         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12088         Remove.
12089         (call_function, interposed_malloc_called): New variables.
12090         (malloc): New function.
12091         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12092         and clear call_function as needed.
12094 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12096         * include/wchar.h (__wmemset): Use __typeof.
12098 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12100         * include/wchar.h (__wmemset): Declare function without typeof.
12102 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12104         [BZ #20205]
12105         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12106         exponent when incrementing negative subnormal with low mantissa
12107         word zero.
12108         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12109         Add another test.
12111 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12113         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12114         __wmemset instead of wmemset.
12116 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12118         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12119         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12120         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12121         __USE_KERNEL_IPV6_DEFS to 0.
12122         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12123         Update comment.
12125 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12127         [BZ #19861]
12128         Do not use IFUNC resolver with potentially unrelocated symbol.
12129         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12130         (DEFINE_FORK): Remove macro and inline definition.
12131         (fork_alias): Renamed from fork_ifunc.
12132         (__fork_alias): Renamed from __fork_ifunc.
12134 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12136         [BZ 19653]
12137         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12138         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12140 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12142         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12143         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12144         i386-linux-gnu).
12145         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12146         Set to no.
12147         * sysdeps/mach/hurd/configure: Refresh.
12149 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12151         [BZ #20178]
12152         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12153         on failure instead of exit.
12155 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12157         [BZ #3629]
12158         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12159         of POSIX.1-2008.
12161 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12163         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12164           Use PLT entry for calling _hurd_self_sigstate.
12166 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12168         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12169         available logical processors with SMT level type sharing L2
12170         cache for Intel processors.
12172 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12174         [BZ #20160]
12175         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12176         argument to itself before returning the result.
12177         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12178         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12179         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12181         Likewise.
12182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12183         Likewise.
12184         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12185         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12186         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12187         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12188         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12189         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12191         [BZ #20160]
12192         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12193         argument to itself before returning the result.
12194         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12195         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12196         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12197         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12198         Likewise.
12199         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12200         Likewise.
12201         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12202         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12203         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12204         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12205         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12206         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12208 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12210         * libm-test.inc: Replace usage of M_El with
12211         (lit_e): New macro.
12213 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12215         * libm-test.inc: Replace usage of M_PI_4l with
12216         (lit_pi_4_d): New macro.
12218 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12220         * libm-test.inc: Replace usage of M_PIl with
12221         (lit_pi): New macro.
12223 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12225         * libm-test.inc: Replace usage of M_PI2l with
12226         (lit_pi_2_d): New macro.
12228         * math/test-double.h (LITM): New macro.
12229         * math/test-float.h (LITM): Likewise.
12230         * math/test-ldouble.h (LITM): Likewise.
12232 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12234         * libm-test.inc (M_PI_34l): Rename to
12235         (lit_pi_3_m_4_d): New Macro.
12236         (M_PI_34_LOG10El): Rename to
12237         (lit_pi_3_m_4_ln10_m_d): New Macro.
12238         (M_PI2_LOG10El): Rename to
12239         (lit_pi_2_ln10_m_d):  New Macro.
12240         (M_PI4_LOG10El): Rename to
12241         (lit_pi_4_ln10_m_d):  New Macro.
12242         (M_PI_LOG10El): Rename to
12243         (lit_pi_ln10_d):  New Macro.
12245 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12247         [BZ #20157]
12248         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12249         determine whether to negate low half if [_ARCH_PPCGR], and integer
12250         comparison otherwise.
12251         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12252         determine whether to negate low half.
12254         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12255         (NO_TEST_INLINE_DOUBLE): Likewise.
12256         (TEST_COND_x86_64): Likewise.
12257         (TEST_COND_x86): Likewise.
12258         (M_PI_6l): Likewise.
12260 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12262         * math/libm-test.inc:
12263         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12264         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12265         (TEST_LDOUBLE): Update usage to evaluate as true if
12266         the guarded tests match the property being tested.
12267         (LDBL_MAX_EXP): Change to MAX_EXP.
12268         (LDBL_MIN_EXP): Change to MIN_EXP.
12269         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12270         nexttoward tests.
12272 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12274         * math/libm-test.inc:
12275         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12276         (TYPE_MIN): Likewise.
12277         (TYPE_TRUE_MIN): Likewise.
12278         (TYPE_MAX): Likewise.
12279         (MIN_EXP): Likewise.
12280         (MAX_EXP): Likewise.
12281         (MANT_DIG): Likewise.
12283         (FSTR_MAX): New macro.
12284         (__CONCATX): Likewise.
12285         (QTYPE_STR): Likewise.
12286         (TEST_COND_binary32): Likewise.
12287         (TEST_COND_binary64): Likewise.
12288         (TEST_COND_binary128): Likewise.
12289         (TEST_COND_ibm128): Likewise.
12290         (TEST_COND_intel96): Likewise.
12291         (TEST_COND_m68k96): Likewise.
12293         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12294         (TEST_COND_dbl_64): Likewise.
12295         (TEST_COND_ldbl_96_intel): Likewise.
12296         (TEST_COND_ldbl_96_m68k): Likewise.
12297         (TEST_COND_ldbl_128): Likewise.
12298         (TEST_COND_ldbl_128ibm): Likewise.
12300         (plus_zero): Redefine using LIT macro.
12301         (minus_zero): Likewise.
12302         (plus_infty): Redefine as (INF).
12303         (minux_infty): Redefine as (-INF).
12304         (max_value): Redefine as TYPE_MAX.
12305         (min_value): Redefine as TYPE_MIN.
12306         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12308         (print_float): Refactor to use snprintf to convert FLOAT values
12309         to string. This brings it closer to dropin replacement of strtof
12310         for the TS 18661 defined types.
12311         (update_stats): Likewise.
12312         (print_complex_function_ulps): Likewise.
12313         (print_max_error): Likewise.
12314         (print_complex_max_error): Likewise.
12315         (check_float_internal): Likewise.
12317         * math/test-float.h (PREFIX): New macro.
12318         (LIT): Likewise.
12319         (TYPE_STR): Likewise.
12320         (FTOSTR): Likewise.
12322         * math/test-double.h (PREFIX): New macro.
12323         (LIT): Likewise.
12324         (TYPE_STR): Likewise.
12325         (FTOSTR): Likewise.
12327         * math/test-ldouble.h (PREFIX): New macro.
12328         (LIT): Likewise.
12329         (TYPE_STR): Likewise.
12330         (FTOSTR): Likewise.
12332 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12334         [BZ #20156]
12335         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12336         to itself when zero or not finite.
12337         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12338         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12339         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12340         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12342 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12344         [BZ #20153]
12345         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12346         x * x + x for infinities and NaNs.
12348         [BZ #20151]
12349         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12350         argument to itself before returning result.
12351         (__ieee754_y0l): Likewise.
12352         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12353         (__ieee754_y1l).
12355         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12356         (atan_test_data): Likewise.
12357         (ceil_test_data): Likewise.
12358         (cos_test_data): Likewise.
12359         (cosh_test_data): Likewise.
12360         (erf_test_data): Likewise.
12361         (exp2_test_data): Likewise.
12362         (fabs_test_data): Likewise.
12363         (floor_test_data): Likewise.
12364         (ilogb_test_data): Likewise.
12365         (j0_test_data): Likewise.
12366         (j1_test_data): Likewise.
12367         (jn_test_data): Likewise.
12368         (lgamma_test_data): Likewise.
12369         (lrint_test_data): Likewise.
12370         (llrint_test_data): Likewise.
12371         (logb_test_data): Likewise.
12372         (lround_test_data): Likewise.
12373         (llround_test_data): Likewise.
12374         (nearbyint_test_data): Likewise.
12375         (rint_test_data): Likewise.
12376         (round_test_data): Likewise.
12377         (sin_test_data): Likewise.
12378         (sincos_test_data): Likewise.
12379         (sinh_test_data): Likewise.
12380         (sqrt_test_data): Likewise.
12381         (tan_test_data): Likewise.
12382         (tanh_test_data): Likewise.
12383         (tgamma_test_data): Likewise.
12384         (trunc_test_data): Likewise.
12385         (y0_test_data): Likewise.
12386         (y1_test_data): Likewise.
12387         (yn_test_data): Likewise.
12389         * math/libm-test.inc: Update comment about NaN testing.
12390         (TEST_SNAN): New macro.
12391         (snan_value): Likewise.
12392         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12393         (fpclassify_test_data): Add sNaN tests.
12394         (isfinite_test_data): Likewise.
12395         (isinf_test_data): Likewise.
12396         (isnan_test_data): Likewise.
12397         (isnormal_test_data): Likewise.
12398         (issignaling_test_data): Likewise.
12399         (signbit_test_data): Likewise.
12400         * math/gen-libm-test.pl (%beautify): Add snan_value.
12401         (show_exceptions): Add argument $test_snan.
12402         (parse_args): Handle snan_value as non-finite.  Update call to
12403         show_exceptions.
12404         * math/Makefile (libm-test-no-inline-cflags): Add
12405         -fsignaling-nans.
12407 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12409         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12410         (CFLAGS-oldsendmsg.c): Add rule.
12411         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12412         Correct recvmsg symbol name.
12413         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12414         Likewise.
12416 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12418         * sysdeps/unix/sysv/linux/Makefile
12419         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12420         oldsendmmsg.
12421         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12422         sendmmsg.
12423         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12424         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12425         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12426         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12431         Likewise.
12432         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12434         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12435         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12436         iovlen and controllen fields to adjust to POSIX specification.
12437         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12439         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12440         and change to correct expected type.
12441         (msghdr.msg_controllen): Likewise.
12442         (cmsghdr.cmsg_len): Likewise.
12443         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12444         expected POSIX assumption about the size.
12445         (msghdr.msg_controllen): Likewise.
12446         (msghdr.__glibc_reserved1): Likewise.
12447         (msghdr.__glibc_reserved2): Likewise.
12448         (cmsghdr.cmsg_len): Likewise.
12449         (cmsghdr.__glibc_reserved1): Likewise.
12450         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12451         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12452         (CFLAGS-sendmsg.c): Remove rule.
12453         (CFLAGS-recvmsg.c): Likewise.
12454         (CFLAGS-oldsendmsg.c): Add rule.
12455         (CFLAGS-oldrecvmsg.c): Likewise.
12456         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12457         recvmsg and sendmsg.
12458         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12461         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12462         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12463         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12464         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12465         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12466         Likewise.
12467         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12468         Likewise.
12469         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12470         Likewise.
12471         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12472         Likewise.
12473         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12476         Likewise.
12477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12478         (GLIBC_2.24): Likewise.
12479         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12484         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12485         Likewise.
12486         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12487         Likewise.
12488         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12489         Likewise.
12490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12491         (GLIBC_2.24): Likewise.
12492         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12493         Likewise.
12494         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12495         Likewise.
12496         * sysdeps/unix/sysv/linux/Makefile
12497         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12498         (CFLAGS-sendmsg.c): Add rule.
12499         (CFLAGS-recvmsg.c): Likewise.
12500         (CFLAGS-oldsendmsg.c): Likewise.
12501         (CFLAGS-oldrecvmsg.c): Likewise.
12502         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12503         initialization.
12504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12505         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12506         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12507         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12508         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12509         iovlen and controllen fields to adjust to POSIX specification.
12510         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12511         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12512         added recvmsg and sendmsg.
12513         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12514         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12515         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12516         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12517         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12518         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12524         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12526         Likewise.
12527         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12529         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12530         Likewise.
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12533         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12534         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12535         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12536         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12539         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12541         Likewise.
12542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12543         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12545         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12546         from auto-generation.
12547         (sendmsg): Likewise.
12548         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12549         (sendmsg): Likewise.
12550         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12551         (sendmsg): Likewise.
12552         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12553         (sendmsg): Likewise.
12554         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12555         (sendmsg): Likewise.
12556         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12557         (sendmsg): Likewise.
12558         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12559         Likewise.
12560         (sendmsg): Likewise.
12561         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12562         (sendmsg): Likewise.
12563         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12565         Remove.
12566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12567         Likewise.
12568         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12569         Undefine.
12570         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12571         Likewise.
12572         * sysdeps/unix/sysv/linux/kernel-features.h
12573         (__ASSUME_SENDMSG_SYSCALL): Define.
12574         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12577         Remove.
12578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12579         Likewise.
12580         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12581         Undefine.
12582         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12583         Likewise.
12584         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12586         Remove.
12587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12588         Likewise.
12589         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12590         Undefine.
12591         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12592         Likewise.
12593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12594         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12595         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12596         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12597         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12598         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12599         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12600         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12601         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12603 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12605         * stdlib/gen-tst-strtod-round.c: Add backslash to
12606         compile command in comment.
12607         (printfp): Remove the literal suffix, and define an infinite
12608         value as INF to avoid expansion clash with INFINITY.
12609         (round_str): Remove the literal suffix.
12610         (round_for_all): Likewise, remove the now duplicate ldbl-64
12611         entry, and remove some magic constants.
12613         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12614         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12615         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12616         (_CONCAT): New macro.
12617         (CONCAT): Likewise.
12618         (CHOOSE_ld): Likewise.
12619         (CHOOSE_f): Likewise.
12620         (CHOOSE_d): Likewise.
12621         (FTYPE_MEMBER): Likewise.
12622         (BOOL_MEMBER): Likewise.
12623         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12624         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12625         (_XNTRY): Likewise.
12626         (XNTRY): Likewise.
12627         (_ENTRY): Likewise.
12628         (ENTRY): Likewise.
12629         (test_exactness): Generate members via macro.
12630         (test_results): Likewise.
12631         (test): Update members.
12632         (TEST): Redefine using new macros.
12633         (INF): New macro.
12634         (fetestmodes): New structure.
12635         (do_test): Refactor to be type generic.
12636         (test_in_one_mode): Refactor duplicate code into
12637         (GEN_ONE_TEST): New macro.
12639         * stdlib/tst-strtod-round-data.h: Regenerate.
12641         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12642         Extend to pass additional arbitrary parameters to
12643         generators.
12645 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12647         [BZ #15479]
12648         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12649         floating-point state after first floating-point operation on
12650         input.  Restore full floating-point state instead of just rounding
12651         mode.
12652         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12653         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12654         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12655         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12656         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12658         [BZ #15479]
12659         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12660         floating-point state after first floating-point operation on
12661         input.  Restore full floating-point state instead of just rounding
12662         mode.
12663         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12664         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12665         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12666         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12667         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12671         [BZ #19727]
12672         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12673         valid high surrogate.
12674         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12675         of an utf16 surrogate.
12676         * iconv/gconv_simple.c (BODY): Likewise.
12677         * iconvdata/bug-iconv12.c: New file.
12678         * iconvdata/Makefile (tests): Add bug-iconv12.
12680 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12682         [BZ #19726]
12683         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12684         outptrp in case of an illegal input.
12685         * iconv/tst-iconv6.c: New file.
12686         * iconv/Makefile (tests): Add tst-iconv6.
12688 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12690         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12691         an error in case of a value in range of an utf16 low surrogate.
12693 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12695         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12696         an error in case of a value in range of an utf16 low surrogate.
12698 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12700         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12701         Move to ...
12702         * sysdeps/s390/Makefile: ... here.
12703         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12704         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12705         (BRANCH_ON_COUNT): New define.
12706         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12707         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12708         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12709         run on s390-32, too.
12710         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12711         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12712         run on s390-32, too.
12713         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12714         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12715         run on s390-32, too.
12717 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12719         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12720         etf3eh or new vector loop-variant.
12722 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12724         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12725         etf3eh or new vector loop-variant.
12727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12729         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12730         or new vector loop-variant.
12732 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12734         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12735         Rename to TR_LOOP and usage of tr instead of troo instruction.
12737 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12739         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12742 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12744         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12745         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12746         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12747         New override define.
12748         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12750 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12752         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12753         * sysdeps/s390/configure.ac: Add test for S390 vector register
12754         support in gcc.
12755         * sysdeps/s390/configure: Regenerated.
12757 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12759         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12760         Install file from $(objpfx)gconv-modules.
12761         ($(objpfx)gconv-modules): Concatenate architecture specific file
12762         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12763         * sysdeps/s390/gconv-modules: New file.
12764         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12765         Deleted.
12766         ($(objpfx)gconv-modules-s390): Deleted.
12767         (sysdeps-gconv-modules): New variable.
12769 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12771         [BZ #15479]
12772         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12773         of immediate operand to rounding instruction.
12774         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12775         Likewise.
12776         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12777         Likewise.
12778         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12779         Likewise.
12781 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12783         * math/libm-test.inc (MIN_EXP): Directly define as
12784         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12786 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12788         * math/libm-test.inc (MANT_DIG): Directly define as
12789         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12791 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12793         * stdlib/gen-tst-strtod-round.c (main):
12794           Change usage to more closely match the generated
12795           output.  Add usage and compilation instructions.
12796           (string_to_fp): Add and use FILE* parameter as
12797           output target.
12798           (print_fp): Likewise.
12799           (round_str): Likewise.
12800           (round_for_all): Likewise.
12801         * stdlib/tst-strtod-round.c (tests): Move into
12802         * stdlib/tst-strtod-round-data.h: New file.
12804 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12806         [BZ #15479]
12807         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12808         (__round): Do not force "inexact" exception.
12809         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12810         variable.
12811         (__round): Do not force "inexact" exception.
12812         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12813         (__roundf): Do not force "inexact" exception.
12814         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12815         (__roundl): Do not force "inexact" exception.
12816         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12817         (__roundl): Do not force "inexact" exception.
12818         * math/libm-test.inc (round_test_data): Do not allow spurious
12819         "inexact" exceptions.
12821         [BZ #15479]
12822         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12823         exception in comment.
12824         (huge): Remove variable.
12825         (__floor): Do not force "inexact" exception.
12826         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12827         "inexact" exception in comment.
12828         (huge): Remove variable.
12829         (__floor): Do not force "inexact" exception.
12830         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12831         exception in comment.
12832         (huge): Remove variable.
12833         (__floorf): Do not force "inexact" exception.
12834         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12835         exception in comment.
12836         (huge): Remove variable.
12837         (__floorl): Do not force "inexact" exception.
12839         [BZ #15479]
12840         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12841         exception in comment.
12842         (huge): Remove variable.
12843         (__ceil): Do not force "inexact" exception.
12844         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12845         "inexact" exception in comment.
12846         (huge): Remove variable.
12847         (__ceil): Do not force "inexact" exception.
12848         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12849         (__ceilf): Do not force "inexact" exception.
12850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12851         exception in comment.
12852         (huge): Remove variable.
12853         (__ceill): Do not force "inexact" exception.
12855 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12857         * config.h.in (BIND_NOW): New.
12858         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12859         * configure: Regenerated.
12860         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12861         indirect branch via the GOT slot.
12863 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12865         [BZ #19765]
12866         * sysdeps/s390/mempcpy.S: New File.
12867         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12869         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12870         Add mempcpy variants.
12871         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12872         (memcpy): Adjust to be usable from mempcpy entry point.
12873         (__memcpy_mvcle): Likewise.
12874         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12875         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12876         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12877         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12878         (__memcpy_z10): Likewise.
12879         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12881 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12883         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12884         Remove __GI_ symbol.
12885         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12886         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12887         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12888         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12889         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12890         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12892 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12894         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12895         Use cghi instead of chi to compare 64bit value.
12897 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12899         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12900         Jump to 1MB check before executing mvc-loop.
12902 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12904         [BZ #6527]
12905         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12906         unconditionally.
12907         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12909 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12911         * stdlib/tst-strtod6.c (do_test): Use new type generic
12912         invocation of the test function.
12913         (test): Refactor into ...
12914         (TEST_STRTOD): New macro base function.
12916 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12918         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12919         (TEST_STRTOD): New macro.
12920         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12922 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12924         * stdlib/tst-strtod6.c (do_test): Use new type generic
12925         invocation of the test function.
12926         (test): Refactor into ...
12927         (TEST_STRTOD): New macro base function.
12929 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12931         CVE-2016-4429
12932         [BZ #20112]
12933         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12934         payload.
12936 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12938         [BZ #20111]
12939         * bits/sockaddr.h (_SS_SIZE): Define.
12940         * bits/socket.h (_SS_SIZE): Remove.
12941         (_SS_PADSIZE): Adjust to account for all padding.
12942         (struct sockaddr_storage): Update comment.  Avoid implicit
12943         padding.
12944         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12945         (_SS_PADSIZE): Adjust to account for all padding.
12946         (struct sockaddr_storage): Update comment.  Avoid implicit
12947         padding.
12948         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12949         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12950         (_SS_PADSIZE): Adjust to account for all padding.
12951         (struct sockaddr_storage): Update comment.  Avoid implicit
12952         padding.
12953         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12954         __SS_SIZE is 126 in this version.
12955         * inet/tst-sockaddr.c: New file.
12956         * inet/Makefile (tests): Add tst-sockaddr.c
12957         (tst-sockaddr.c): Compile with non-strict aliasing.
12959 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12961         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12962         [XPG3 || XPG4].
12963         (NL_ARGMAX): Also expect for [XPG3].
12964         (NL_LANGMAX): Likewise.
12965         (NL_MSGMAX): Likewise.
12966         (NL_NMAX): Likewise.
12967         (NL_SETMAX): Likewise.
12968         (NL_TEXTMAX): Likewise.
12969         (NZERO): Likewise.
12970         (TMP_MAX): Likewise.
12971         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12972         variable.
12974         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12975         (PF_MAX): Update value.
12976         (AF_KCM): New macro.
12977         (SOL_NETBEUI): Likewise.
12978         (SOL_LLC): Likewise.
12979         (SOL_DCCP): Likewise.
12980         (SOL_NETLINK): Likewise.
12981         (SOL_TIPC): Likewise.
12982         (SOL_RXRPC): Likewise.
12983         (SOL_PPPOL2TP): Likewise.
12984         (SOL_BLUETOOTH): Likewise.
12985         (SOL_PNPIPE): Likewise.
12986         (SOL_RDS): Likewise.
12987         (SOL_IUCV): Likewise.
12988         (SOL_CAIF): Likewise.
12989         (SOL_ALG): Likewise.
12990         (SOL_NFC): Likewise.
12991         (SOL_KCM): Likewise.
12992         (MSG_BATCH): New enum value and macro.
12994 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12996         [BZ #18185]
12997         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12998         sharing L2 cache to 2 for Knights Landing.
13000 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13002         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13003         (FTW_DP): Do not expect for [XPG3 || XPG4].
13004         (FTW_SL): Do not expect for [XPG3].
13005         (FTW_SLN): Likewise.
13006         (FTW_PHYS): Likewise.
13007         (FTW_MOUNT): Likewise.
13008         (FTW_DEPTH): Likewise.
13009         (FTW_CHDIR): Likewise.
13010         (nftw): Likewise.
13011         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13012         variable.
13014 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13016         * manual/errno.texi: Fix various typos & grammar errors.
13018 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13020         * manual/intro.texi: Fix duplicated typo.
13022 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13024         [BZ #13304]
13025         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13026         <float.h>, <math_private.h> and <stdlib.h>.
13027         (add_split): New function.
13028         (mul_split): Likewise.
13029         (ext_val): New typedef.
13030         (store_ext_val): New function.
13031         (mul_ext_val): New function.
13032         (compare): New function.
13033         (add_split_ext): New function.
13034         (__fmal): After checking for Inf, NaN and zero, compute result as
13035         an exact sum of scaled double values in round-to-nearest before
13036         adding those up and adjusting for other rounding modes.
13037         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13038         tests of fma.
13039         * math/auto-libm-test-out: Regenerated.
13041 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13043         [BZ #20119]
13044         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13045         processor level type mask for CPUID with EAX == 11.
13047 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13049         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13050         logical threads if the HTT bit is 0.
13051         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13052         (index_cpu_HTT): Likewise.
13053         (reg_HTT): Likewise.
13055 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13057         [BZ #20115]
13058         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13059         Remove alignments on jump targets.
13061 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13063         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13064         (getpwent): Likewise.
13065         (setpwent): Likewise.
13066         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13067         variable.
13069         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13070         (remque): Likewise.
13071         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13072         variable.
13074 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13076         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13077         not being tested.
13079 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13082         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13083         call.
13084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13085         (__condvar_cleanup1): Likewise.
13087 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13089         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13090         New
13091         (__pthread_unwind): Renamed to ...
13092         (PTHREAD_UNWIND): This.
13093         (__pthread_enable_asynccancel): Replace
13094         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13096 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13098         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13099         (CLONE_NEWCGROUP): New macro.
13101         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13102         (Q_GETNEXTQUOTA): New macro.
13104 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13106         [BZ #19907]
13107         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13108         buffer updated by the previous run.
13109         * string/test-memcpy.c (do_one_test): Likewise.
13110         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13111         * string/test-memmove.c (do_one_test): Likewise.
13113 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13115         [BZ #20094]
13116         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13117         not [__USE_XOPEN].
13118         (unlockpt): Likewise.
13119         (ptsname): Likewise.
13120         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13121         variable.
13123         [BZ #20076]
13124         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13125         instead of [__USE_UNIX98].
13126         (S_ISSOCK): Likewise.
13127         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13128         variable.
13130         [BZ #20074]
13131         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13132         [__USE_POSIX].
13133         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13134         variable.
13136         [BZ #20051]
13137         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13138         (ttyslot): Do not declare.
13139         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13140         (ttyslot): New prototype.
13141         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13142         variable.
13143         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13145 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13147         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13149 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13151         Fix race condition in tst-mallocfork2, use fewer resources.
13152         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13153         to current process group.
13154         (signal_sender): Yield in the non-sleeping case.
13156 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13158         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13159         (ecvt): Likewise.
13160         (fcvt): Likewise.
13161         (gcvt): Likewise.
13162         (getsubopt): Likewise.
13163         (grantpt): Likewise.
13164         (initstate): Likewise.
13165         (l64a): Likewise.
13166         (mktemp): Likewise.
13167         (mkstemp): Likewise.
13168         (ptsname): Likewise.
13169         (random): Likewise.
13170         (realpath): Likewise.
13171         (setstate): Likewise.
13172         (srandom): Likewise.
13173         (ttyslot): Likewise.
13174         (unlockpt): Likewise.
13175         (valloc): Likewise.
13177         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13178         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13179         variable.
13181 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13183         [BZ #20072]
13184         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13185         init_cpu_features only if SHARED is defined.
13186         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13188 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13190         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13191         non-inclusive caches on Intel processors.
13193 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13195         * malloc/malloc.c (dumped_main_arena_start)
13196         (dumped_main_arena_end): New variables.
13197         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13198         (do_check_chunk): Skip dumped fake mmapped chunks.
13199         (munmap_chunk): Likewise.
13200         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13201         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13202         mmapped chunks.
13203         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13204         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13205         and dumped_main_arena_end to cover the dumped heap.
13207 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13209         * conform/data/time.h-data (getdate_err): Do not expect for
13210         [XPG3].
13211         (getdate): Likewise.
13212         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13213         variable.
13215         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13216         (F_ULOCK): Likewise.
13217         (F_TEST): Likewise.
13218         (F_TLOCK): Likewise.
13219         (useconds_t): Likewise.
13220         (intptr_t): Do not expect for [XPG3] or [XPG4].
13221         (brk): Do not expect for [XPG3]
13222         (fchown): Likewise.
13223         (fchdir): Likewise.
13224         (ftruncate): Likewise.
13225         (getdtablesize): Likewise.
13226         (gethostid): Likewise.
13227         (getpagesize): Likewise.
13228         (getpgid): Likewise.
13229         (getsid): Likewise.
13230         (getwd): Likewise.
13231         (lchown): Likewise.
13232         (lockf): Likewise.
13233         (readlink): Likewise.
13234         (sbrk): Likewise.
13235         (setpgrp): Likewise.
13236         (setregid): Likewise.
13237         (setreuid): Likewise.
13238         (symlink): Likewise.
13239         (sync): Likewise.
13240         (truncate): Likewise.
13241         (ualarm): Likewise.
13242         (usleep): Likewise.
13243         (vfork): Likewise.
13244         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13245         variable.
13247         [BZ #20054]
13248         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13249         not [__USE_UNIX98].
13250         * conform/data/unistd.h-data (gethostname): Do not expect for
13251         [XPG3].
13253         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13254         [!POSIX] (S_IFBLK): Likewise.
13255         [!POSIX] (S_IFCHR): Likewise.
13256         [!POSIX] (S_IFIFO): Likewise.
13257         [!POSIX] (S_IFREG): Likewise.
13258         [!POSIX] (S_IFDIR): Likewise.
13259         [!POSIX] (S_IFLNK): Likewise.
13260         [!POSIX] (S_IFSOCK): Likewise.
13261         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13262         variable.
13263         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13265 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13267         * sysdeps/aarch64/memset.S (__memset):
13268         Rewrite of optimized memset.
13270 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13272         [BZ #19703]
13273         Partially async-signal-safe fork for single-threaded processes.
13274         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13275         variable.  Do not acquire and reset/release malloc and libio locks
13276         in single-threaded processes.
13277         * malloc/tst-mallocfork2.c: New file.
13278         * malloc/Makefile (tests): Add it.
13280 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13282         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13283         argument.  Use scratch buffer instead of extend_alloca.
13284         (gethosts): Use scratch buffer instead of extend_alloca.
13285         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13286         extend_alloca.
13287         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13289 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13291         [BZ #20055]
13292         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13293         instead of [__USE_UNIX98].
13294         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13295         [__USE_UNIX98].
13296         * conform/data/termios.h-data (tcgetsid): Do not expect for
13297         [XPG3].
13298         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13299         variable.
13300         (test-xfail-XPG4/termios.h/conform): Likewise.
13302 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13304         Do not use mcheck in localedef.
13305         * locale/programs/localedef.c (turn_on_mcheck)
13306         (__malloc_initialize_hook): Remove.
13308 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13310         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13311         * sysdeps/s390/s390-64/Makefile: Likewise.
13313 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13315         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13316         Remove ifunc-defines.sym.
13317         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13318         Likewise.
13319         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13320         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13321         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13322         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13323         rtld-global-offsets.sym.
13324         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13325         * sysdeps/x86/cpu-features-offsets.sym: This.
13326         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13327         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13329 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #20073]
13332         * io/sys/stat.h (fchmod): Declare for
13333         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13334         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13335         variable.
13337         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13338         [XPG3] (S_IFSOCK): Likewise.
13339         [XPG3] (S_ISVTX): Likewise.
13340         [XPG3] (S_ISLNK): Likewise.
13341         [XPG3] (S_ISSOCK): Likewise.
13342         [XPG3] (fchmod): Likewise.
13343         [XPG3] (lstat): Likewise.
13344         [XPG3] (mknod): Likewise.
13346         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13347         [XPG3].  Expect type long and XFAIL for [XPG4].
13348         (st_blocks): Likewise.
13350         [BZ #20044]
13351         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13352         (pthread_atfork): New prototype.
13353         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13354         variable.
13356         [BZ #20043]
13357         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13358         prototype.
13360 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13362         [BZ #20017]
13363         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13364         gmtime.
13366 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13368         [BZ #19994]
13369         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13370         flag in _res.options.
13372 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13374         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13375         [XPG3 || XPG4].
13376         (blksize_t): Likewise.
13377         (clockid_t): Likewise.
13378         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13379         variable.
13380         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13382 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13384         * sysdeps/unix/sysv/linux/s390/init-first.c:
13385         Add VDSO_SYMBOL(getcpu).
13386         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13387         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13388         Add VDSO_SYMBOL(getcpu).
13389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13390         New define HAVE_GETCPU_VSYSCALL.
13391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13393 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13395         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13396         instead of <sysdeps/x86_64/cacheinfo.c>.
13397         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13398         * sysdeps/x86/cacheinfo.c: Here.
13400 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13402         * malloc/malloc-internal.h: Adjust header file guard.
13404 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13406         [BZ #19787]
13407         * inet/getnameinfo.c (check_sprintf_result): New function.
13408         (CHECKED_SNPRINTF): New macro.
13409         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13410         to the host buffer.
13411         (gni_host_local): Use checked_copy to copy the host name.
13412         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13413         (gni_serv_local): Use checked_copy to copy the service name.
13414         (getnameinfo): Remove unnecessary truncation of result buffers.
13416 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13418         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13419         in case of inet_ntop failure.
13421 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13423         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13424         avoid long lines.
13425         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13426         variables.
13427         (gni_host_inet, gni_host_local): Add comment.
13428         (gni_host): Add comment.  Use temporary to avoid long lines.
13430 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13432         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13433         registers specifiers where general purpose registers specifiers should
13434         have been used.
13436 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13438         [BZ #19779]
13439         CVE-2016-1234
13440         Avoid copying names of directory entries.
13441         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13442         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13443         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13444         (struct readdir_result): New type.
13445         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13446         (GL_READDIR): New macros.
13447         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13448         (convert_dirent, convert_dirent64): New functions.
13449         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13450         convert_dirent64.  Adjust references to the readdir result.
13451         * sysdeps/unix/sysv/linux/i386/glob64.c:
13452         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13453         * posix/bug-glob2.c (LONG_NAME): Define.
13454         (filesystem): Add LONG_NAME.
13455         (my_DIR): Increase the size of room_for_dirent.
13457 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13459         [BZ #20041]
13460         * misc/sys/select.h (__need_timespec): Only define if
13461         [__USE_XOPEN2K].
13462         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13463         variable.
13464         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13465         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13466         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13468 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13469             Segher Boessenkool  <segher@gcc.gnu.org>
13471         [BZ #20004]
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13473         (__novec_swapcontext): Add missing load.
13475 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13477         [BZ #20023]
13478         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13479         <time.h>.
13480         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13481         variable.
13482         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13484 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13487         flags CLONE_VM compare.
13489 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13491         [BZ #20031]
13492         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13493         completely empty.
13495 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13497         [BZ #19573]
13498         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13499         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13500         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13501         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13502         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13503         (hesiod_free_list): Mark as hidden.
13504         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13505         res_set, res_get.
13506         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13507         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13508         (hesiod_init): Remove obsolete res_ninit call.
13509         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13510         (hesiod_bind): Do not call init.
13511         (get_txt_records): Use res_mkquery, res_send instead of
13512         res_nmkquery, res_nsend.
13513         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13514         instead of _nss_hesiod_init.
13515         (_nss_hesiod_initgroups_dyn): Likewise.
13516         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13517         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13518         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13520 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13522         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13523         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13525 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13527         * hesiod/hesiod.h: Remove RCS keyword.
13528         * hesiod/hesiod_p.h: Likewise.
13530         * hesiod/hesiod.c: Likewise.
13532 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13534         [BZ #12450]
13535         * locale/iso-639.def: Add Samogitian/sgs.
13537 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13539         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13541         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13543 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13544             Carlos O'Donell  <carlos@redhat.com>
13546         [BZ #19072]
13547         * grp/Makefile (headers): Add grp-merge.h
13548         (routines): Add grp-merge.
13549         * grp/getgrgid_r.c: Include grp-merge.h.
13550         (DEEPCOPY_FN): Define.
13551         (MERGE_FN): Define.
13552         * grp/getgrname_r.c: Include grp-merge.h.
13553         (DEEPCOPY_FN): Define.
13554         (MERGE_FN): Define.
13555         * grp/grp-merge.c: New file.
13556         * grp/grp-merge.h: New file.
13557         * include/grp-merge.h: New file.
13558         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13559         __copy_grp@GLIBC_PRIVATE.
13560         * manual/nss.texi (Actions in the NSS configuration): Describe
13561         return, continue, and merge.
13562         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13563         (DEEPCOPY_FN): Define.
13564         (MERGE_FN): Define.
13565         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13566         (DEEPCOPY_FN): Define.
13567         (MERGE_FN): Define.
13568         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13569         [!MERGE_FN]: Define __merge_einval.
13570         (CHECK_MERGE): Define.
13571         (REENTRANT_NAME): Process merge if do_merge is true.
13572         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13573         (__nss_getent_r): Likewise.
13574         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13575         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13577 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13579         [BZ #20012]
13580         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13581         length to calculate the buffer to read.
13582         (fmemopen_write): Set the buffer position based on bytes written.
13583         (fmemopen_seek): Return EINVAL for invalid whence modes.
13585         [BZ #19957]
13586         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13587         tst-getpid2.
13588         (test): Add tst-clone2.
13589         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13590         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13591         pid/tid fields for CLONE_VM.
13592         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13593         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13594         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13595         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13596         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13597         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13598         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13599         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13601         Likewise.
13602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13603         Likewise.
13604         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13605         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13606         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13607         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13608         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13609         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13610         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13611         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13613 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13615         [BZ #19642]
13616         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13617         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13618         (gni_serv_local, gni_serv): New functions extracted from
13619         getnameinfo.
13620         (getnameinfo): Call gni_host and gni_serv to perform the
13621         processing.  Always free scratch buffer.
13623 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13625         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13626         remaining bytes in the dest string, with zeros.
13628 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13630         [BZ #20010]
13631         CVE-2016-3706
13632         * sysdeps/posix/getaddrinfo.c
13633         (convert_hostent_to_gaih_addrtuple): New function.
13634         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13635         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13636         AF_INET data.
13638 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13640         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13641         callback function gl_readdir.
13642         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13643         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13644         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13645         memcpy to copy the name.
13646         * manual/pattern.texi (Calling Glob): Document requirements for
13647         implementations of the gl_readdir callback function.
13648         * manual/examples/mkdirent.c: New example.
13649         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13650         per the manual guidance.
13651         * posix/tst-gnuglob.c (my_readdir): Likewise.
13653 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13655         [BZ #20014]
13656         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13657         not [__USE_POSIX].
13658         (getchar_unlocked): Likewise.
13659         (putc_unlocked): Likewise.
13660         (putchar_unlocked): Likewise.
13661         (flockfile): Likewise.
13662         (ftrylockfile): Likewise.
13663         (funlockfile): Likewise.
13664         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13665         variable.
13666         (test-xfail-XPG4/stdio.h/conform): Likewise.
13668         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13669         Expect constant.
13670         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13671         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13672         variable.
13673         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13674         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13676         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13677         [__USE_LARGEFILE64] (off64_t): Likewise.
13678         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13679         variable.
13681 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13683         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13687         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13688         * resolv/res_init.c: Likewise.
13689         * resolv/res_mkquery.c: Likewise.
13691 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13693         * resolv/res_init.c (isascii): Do not define.  Use definition in
13694         <ctype.h>.
13695         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13696         (LOG_AUTH): Remove.
13697         (SPRINTF): Remove, adjust caller.
13698         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13700 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13702         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13703         SUNSECURITY conditional.
13704         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13706 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13708         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13709         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13710         Remove BSD-related preprocessor conditionals.
13711         * conf/portability.h: Remove.
13713 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13715         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13716         * resolv/res_data.c: Likewise.
13718 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13720         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13721         * resolv/res_data.c: Remove code conditional on ultrix.
13723 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13725         * resolv/res_init.c (RFC1535): Do not define.  Remove
13726         RFC1535 preprocessor conditionals.
13727         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13728         because there configuration options which make the resolver
13729         behavior different.
13731 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13733         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13734         RESOLVSORT preprocessor conditionals.
13735         * resolv/nss_dns/dns-host.c: Likewise.
13736         * resolv/res_init.c: Likewise.
13738 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13740         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13741         is never defined.
13743 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13745         * inet/inet_lnaof.c: Remove SCSS keyword.
13746         * inet/inet_mkadr.c: Likewise.
13747         * inet/inet_net.c: Likewise.
13748         * inet/inet_netof.c: Likewise.
13749         * inet/rcmd.c: Likewise.
13750         * inet/rexec.c: Likewise.
13751         * inet/ruserpass.c: Likewise.
13753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13755         * resolv/inet_addr.c: Remove _LIBC conditionals.
13756         * resolv/res_data.c: Likewise.
13757         * resolv/res_init.c: Likewise.
13758         * resolv/res_mkquery.c: Likewise.
13759         * resolv/res_libc.c: Update comment.
13760         * resolv/README: Update.
13762 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13764         * resolv/gethnamaddr.c: Remove SCSS keyword.
13765         * resolv/herror.c: Likewise.
13766         * resolv/inet_addr.c: Likewise.
13767         * resolv/inet_net_ntop.c: Likewise.
13768         * resolv/inet_net_pton.c: Likewise.
13769         * resolv/inet_neta.c: Likewise.
13770         * resolv/inet_ntop.c: Likewise.
13771         * resolv/inet_pton.c: Likewise.
13772         * resolv/ns_date.c: Remove RCS keyword.
13773         * resolv/ns_name.c: Likewise.
13774         * resolv/ns_netint.c: Likewise.
13775         * resolv/ns_parse.c: Likewise.
13776         * resolv/ns_print.c: Likewise.
13777         * resolv/ns_samedomain.c: Likewise.
13778         * resolv/ns_ttl.c: Likewise.
13779         * resolv/nsap_addr.c: Likewise.
13780         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13781         * resolv/res_data.c: Remove RCS keyword.
13782         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13783         * resolv/res_init.c: Likewise.
13784         * resolv/res_mkquery.c: Likewise.
13785         * resolv/res_query.c: Likewise.
13786         * resolv/res_send.c: Likewise.
13788 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13790         * conform/data/stdio.h-data (fdopen): Expect also for
13791         [XPG3 || XPG4].
13793         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13794         (fseeko): Likewise.
13795         (ftello): Likewise.
13796         (ftrylockfile): Likewise.
13797         (funlockfile): Likewise.
13798         (getc_unlocked): Likewise.
13799         (getchar_unlocked): Likewise.
13800         (putc_unlocked): Likewise.
13801         (putchar_unlocked): Likewise.
13803 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13805         [BZ #19868]
13806         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13807         DNS packet syntax checks (which were not needed before).  Skip
13808         over non-PTR records.
13810 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13812         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13813         definition.  Include <stddef.h> instead.
13815 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13817         [BZ #19831]
13818         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13819         function.
13820         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13821         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13823 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13825         [BZ #19862]
13826         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13827         (getanswer_r): Do not call syslog.
13828         (gaih_getanswer_slice): Likewise.
13829         * resolv/gethnamaddr.c (AskedForGot): Remove.
13830         (getanswer): Do not call syslog.
13831         (gethostbyaddr): Likewise.
13833 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13835         * conform/data/signal.h-data (union sigval): Expect also if
13836         [XOPEN2K].
13837         (struct sigevent): Likewise.
13838         (SIGEV_NONE): Likewise.
13839         (SIGEV_SIGNAL): Likewise.
13840         (SIGEV_THREAD): Likewise.
13841         (SIGRTMIN): Likewise.
13842         (SIGRTMAX): Likewise.
13843         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13844         variable.
13845         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13847 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13849         [BZ #19830]
13850         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13851         (gaih_getanswer_slice): Likewise.
13852         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13853         Also check for availability of RR metadata.
13855 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13857         [BZ #19825]
13858         * resolv/res_send.c (send_vc): Remove early *resplen2
13859         initialization.  Set *resplen2 on socket error.  Call
13860         close_and_return_error for other errors.
13862 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13864         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13865         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13866         (SCM_IUCV_TRGCLS): New define.
13868 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13870         [BZ #20005]
13871         * libio/fmemopen.c (fmemopen_write): Update internal position after
13872         write.
13873         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13874         * stdio-common/tst-fmemopen4.c: New file..
13876 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13878         [BZ #19996]
13879         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13880         not [__USE_XOPEN2K].
13881         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13882         variable.
13884         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13885         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13886         variable.
13888         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13889         [__USE_XOPEN2K8].
13890         [__USE_LARGEFILE64] (off64_t): Likewise.
13891         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13892         variable.
13894 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13896         [BZ #19989]
13897         * libio/stdio.h (cuserid): Do not declare if
13898         [__USE_XOPEN2K && !__USE_GNU].
13899         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13900         variable.
13902 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13904         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13905         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13907         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13908         ifunc'ed strcspn.
13909         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13910         [EALIGN]: Removed.
13911         [END]: Likewise
13912         [STRSPN]: Define instead of the above to control symbol name.
13913         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13914         New file.
13915         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13916         Likewise.
13917         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13918         Likewise.
13919         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13920         Likewise.
13921         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13922         [INITIAL_MASK]: New macro.
13923         [STRCSPN]: Likewise.
13924         [UPDATE_MASK]: Likewise.
13925         [USE_AS_STRCSPN]: Likewise.
13927 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13929         [BZ #19931]
13930         * stdio-common/tst-vfprintf-width-prec.c: New file.
13931         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13932         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13933         (generated): Add mtrace-related files.
13934         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13935         (tst-%-mem.out): New pattern rule, replaces
13936         tst-printf-bz18872-mem.out.
13937         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13938         specifier, deallocate any previously allocated work buffer.
13940 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13942         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13943         Add nop before __startcontext, add explaining comments.
13945 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13947         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13948         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13949         completely different API.
13951         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13952         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13953         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13954         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13955         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13956         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13957         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13958         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13959         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13960         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13962 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13964         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13966 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13968         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13969         when it is the default of 0.
13971 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13973         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13974         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13975         (sysdep_routines): Add new strcasestr targets.
13976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13977         (__libc_ifunc_impl_list): Likewise.
13978         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13979         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13980         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13981         * sysdeps/powerpc/powerpc64/power8/Makefile:
13982         New file to add strcasestr-ppc64 to sysdep_routines.
13983         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13984         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13986 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13988         * benchtests/Makefile (wcsmbs-benchset): Include only for
13989         native builds and runs.
13990         (LOCALES): Likewise.
13991         (bench-build): Build timing-type here instead of the bench
13992         target.  Generate locale only for native builds.
13993         * benchtests/README: Add note for cross-building.
13995         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13997         * benchtests/README: Update README to include instructions on
13998         using bench-build.
14000         * Makefile.in (bench-build): New target.
14001         * Rules (PHONY): Add bench-build target.
14002         * benchtests/Makefile (bench): Depend on bench-build.
14003         (bench-build): New target.
14005 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14007         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14008         profil_reply_port.
14009         (profile_waiter): Do not initialize profil_reply_port.
14010         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14011         frequency instead of tick length in us.
14013 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14015         [BZ #18712]
14016         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14017         (__old_mempcpy_small): Likewise.
14018         (__old_strcpy_small): Likewise.
14019         (__old_stpcpy_small): Likewise.
14020         (__old_strpbrk_c2): Fix compat symbol name.
14021         (__old_strpbrk_c3): Likewise.
14022         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14023         (__mempcpy_small): Remove.
14024         (__strcpy_small): Remove.
14025         (__stpcpy_small): Remove.
14027 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14029         [BZ #19400]
14030         * locale/iso-639.def: Add the Talossan/tzl language.
14032 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14034         [BZ #16983]
14035         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14036         comment.  Add "ln" to strchr check on postal_fmt.
14038 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14040         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14041         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14042         tel_dom_fmt.
14044 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14046         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14047         (sysdep_routines): Added __strlen_power8.
14048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14049         __strlen_power8 entry.
14050         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14051         Implementation for POWER8.
14052         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14053         for __strlen_power8.
14054         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14055         Implementation for POWER8.
14057 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14059         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14061 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14063         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14064         Goldmont and Airmont processors.
14066 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14068         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14069         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14070         (__STRING2_SMALL_GET32): Remove.
14071         (memset): Remove.
14072         (__memset_1): Remove.
14073         (__memset_gc): Remove.
14074         (__mempcpy): Remove.
14075         (mempcpy): Remove.
14076         (__mempcpy_args): Remove.
14077         (strchr): Remove.
14078         (strcpy): Remove.
14079         (strcpy_args): Remove.
14080         (__stpcpy_args): Remove.
14081         (__strcmp_cc): Remove.
14082         (__strcmp_gc): Remove.
14083         (strstr): Remove.
14085 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14087         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14088         * nis/nis_call.c (nis_server_cache_add): Likewise.
14090 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14092         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14094 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14096         * malloc/arena.c (__malloc_fork_lock_parent)
14097         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14098         internal_function attribute.
14100 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14102         * stdio-common/printf_fp.c (__printf_fp_l):
14103         Rename ___printf_fp_l to __printf_fp_l and
14104         remove strong alias. Use libc_hidden_def instead
14105         of ldbl_hidden_def macro.
14107 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14109         Remove malloc hooks from fork handler.  They are no longer needed
14110         because malloc runs right before fork, and no malloc calls from
14111         other fork handlers are not possible anymore.
14112         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14113         declarations.
14114         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14115         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14116         (atfork_recursive_cntr): Remove.
14117         (__malloc_fork_lock_parent): Do not override malloc hooks and
14118         thread_arena.
14119         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14120         thread_arena.
14121         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14122         thread_arena instead of save_arena.
14124 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14126         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14127         (thread_atfork, thread_atfork_static): Remove.
14128         * sysdeps/mach/hurd/malloc-machine.h:
14129         (thread_atfork, thread_atfork_static): Remove.
14131 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14133         [BZ #19431]
14134         Run the malloc fork handler as late as possible to avoid deadlocks.
14135         * malloc/malloc-internal.h: New file.
14136         * malloc/malloc.c: Include it.
14137         * malloc/arena.c (ATFORK_MEM): Remove.
14138         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14139         Update comment.
14140         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14141         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14142         Remove outdated comment.
14143         (ptmalloc_init): Do not call thread_atfork.  Remove
14144         thread_atfork_static.
14145         * malloc/tst-malloc-fork-deadlock.c: New file.
14146         * Makefile (tests): Add tst-malloc-fork-deadlock.
14147         (tst-malloc-fork-deadlock): Link against libpthread.
14148         * manual/memory.texi (Aligned Memory Blocks): Update safety
14149         annotation comments.
14150         * sysdeps/nptl/fork.c (__libc_fork): Call
14151         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14152         __malloc_fork_unlock_child.
14153         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14155 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14157         [BZ #19613]
14158         Remove union wait.
14159         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14160         (w_stopsig, w_stopval): Remove.
14161         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14162         stat_loc argument.
14163         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14164         (__WAIT_STATUS_DEFN): Remove.
14165         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14166         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14167         (wait, wait3, wait4): Use int * for the stat_loc argument.
14168         * posix/wait.c (__wait): Likewise.
14169         * posix/wait3.c (__wait3): Likewise.
14170         * posix/wait4.c (__wait4): Likewise.
14171         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14172         (__WAIT_STATUS_DEFN): Remove.
14173         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14174         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14175         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14176         argument.
14177         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14178         * sysdeps/posix/wait3.c (__wait3): Likewise.
14179         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14180         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14181         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14182         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14183         stat_loc argument.
14184         * manual/process.texi (BSD Wait Functions): Remove union wait.
14186 2016-04-13  Andreas Schwab  <schwab@suse.de>
14188         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14189         (test-extras): Add tst-tlsalign-vars.
14190         * math/Makefile: Wrap long lines.
14191         (libm-vec-test-wrappers): Define.
14192         (test-extras): Add $(libm-vec-test-wrappers).
14193         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14194         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14195         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14196         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14197         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14198         (extra-test-objs): Add corresponding objects.
14200 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14202         [BZ #19928]
14203         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14204         New.
14205         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14206         times of shared cache size.
14207         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14208         (VMOVNT): New.
14209         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14210         (VMOVNT): Likewise.
14211         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14212         (VMOVNT): Likewise.
14213         (VMOVU): Changed to movups for smaller code sizes.
14214         (VMOVA): Changed to movaps for smaller code sizes.
14215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14216         comments.
14217         (PREFETCH): New.
14218         (PREFETCH_SIZE): Likewise.
14219         (PREFETCHED_LOAD_SIZE): Likewise.
14220         (PREFETCH_ONE_SET): Likewise.
14221         Rewrite to use forward and backward loops, which move 4 vector
14222         registers at a time, to support overlapping addresses and use
14223         non temporal store if size is above the threshold and there is
14224         no overlap between destination and source.
14226 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14228         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14229         Include dl-vdso.
14230         * sysdeps/unix/sysv/linux/mips/Versions: Add
14231         __vdso_clock_gettime.
14232         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14233         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14234         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14235         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14236         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14237         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14238         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14239         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14240         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14242 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14244         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14245         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14248         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14249         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14252         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14254         syscalls generation.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14256         [__NR_pwrite64] (__NR_write): Remove define.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14258         [__NR_pwrite64] (__NR_write): Remove define.
14259         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14260         Remove define.
14261         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14262         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14263         Remove define.
14264         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14265         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14266         Linux implementation as base.
14267         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14269         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14270         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14275         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14276         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14277         syscall generation.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14279         [__NR_pread64] (__NR_pread): Remove define.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14281         [__NR_pread64] (__NR_pread): Likewise.
14282         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14283         define.
14284         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14285         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14286         Remove define.
14287         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14288         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14289         Linux implementation as base.
14290         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14291         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14292         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14294         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14295         definition.
14296         (__ALIGNMENT_COUNT): Likewise.
14297         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14298         (__ALIGNMENT_COUNT): Likewise.
14299         (SYSCALL_LL): New define.
14300         (SYSCALL_LL64): Likewise.
14301         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14302         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14303         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14304         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14306         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14307         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14308         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14309         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14310         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14311         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14313 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14315         [BZ #19865]
14316         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14317         original buffer before retry.
14319 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14321         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14322         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14323         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14324         GLRO(dl_auxv) list.
14325         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14326         including <ldsodefs.h>.
14327         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14329 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14331         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14332         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14333         $(CPPFLAGS).
14335 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14337         [BZ #17950]
14338         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14339         Add -mfpmath=387.
14341 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14343         * sysdeps/i386/configure.ac: Change == to = when calling test.
14344         * sysdeps/x86_64/configure.ac: Likewise.
14345         * sysdeps/i386/configure: Regenerated.
14346         * sysdeps/x86_64/configure: Likewise.
14348 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14350         [BZ #16137]
14351         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14352         * benchtests/bench-strcoll.c (input_files): Likewise.
14353         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14354         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14355         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14357 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14359         [BZ #19929]
14360         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14361         [__USE_XOPEN2K8 && !__USE_GNU].
14362         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14363         variable.
14365         [BZ #19925]
14366         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14367         define if [!__USE_MISC && __USE_XOPEN2K].
14368         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14369         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14371         Likewise.
14372         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14373         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14374         variable.
14375         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14377 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14379         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14380         (sysdep_routines): Add new strspn targets.
14381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14382         (__libc_ifunc_impl_list): Add strspn.
14383         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14384         New file.
14385         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14386         Likewise.
14387         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14388         Likewise.
14389         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14390         Likewise.
14392 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14394         * misc/hsearch_r.c: Include <limits.h>.
14396 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14398         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14400 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14402         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14403         (MEMCPY_SYMBOL): New.
14404         (MEMPCPY_SYMBOL): Likewise.
14405         (MEMMOVE_CHK_SYMBOL): Likewise.
14406         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14407         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14408         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14409         Provide alias for memcpy in libc.a and ld.so.
14411 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14413         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14414         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14415         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14416         Disabled fro now.
14417         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14418         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14420 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14422         * benchtests/Makefile (string-benchset): Add memcpy-large,
14423         memmove-large and memset-large.
14424         * benchtests/bench-memcpy-large.c: New file.
14425         * benchtests/bench-memmove-large.c: Likewise.
14426         * benchtests/bench-memmove-large.c: Likewise.
14427         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14429 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14431         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14432         32-bit displacement to avoid long nop between instructions.
14434 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14436         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14437         a comment on VMOVU and VMOVA.
14439 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14441         [BZ #19633]
14442         Use specified locale for number formatting in strfmon_l.
14443         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14444         (__nl_lookup_word): New inline functions.
14445         * include/printf.h (__print_fp_l): Declare.
14446         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14447         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14448         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14449         (___printf_fp): New function.
14450         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14451         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14452         * stdlib/tst-strfmon_l.c (do_test): New test.
14453         * stdlib/Makefile (tests): Add kt.
14454         (LOCALES): Build additional locales.
14455         (tst-strfmon_l.out): Require locales.
14457 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14459         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14460         if not in libc.
14461         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14462         Likewise.
14463         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14464         Likewise.
14465         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14466         Likewise.
14468 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14470         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14471         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14472         with unaligned_erms.
14473         (__memmove_erms): Skip if source == destination.
14474         (__memmove_unaligned_erms): Don't check source == destination
14475         first.
14477 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14479         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14480         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14482 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14484         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14485         * string/strspn.c (strspn): Likewise.
14487 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14489         * benchtests/bench-memset.c (do_test): Support 64-byte
14490         alignment.
14491         (test_main): Test 64-byte alignment.
14493 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14495         * benchtests/bench-memmove.c (test_main): Test 64-byte
14496         alignment.
14498 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14500         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14502 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14504         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14505         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14506         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14508         * string/strpbrk.c (strpbrk): Rewrite function.
14509         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14510         (__strpbrk_c2): Likewise.
14511         (__strpbrk_c3): Likewise.
14512         * string/string-inlines.c
14513         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14514         Likewise.
14515         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14516         Likewise.
14518         * string/strspn.c (strcspn): Rewrite function.
14519         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14520         (__strspn_c1): Remove inline function.
14521         (__strspn_c2): Likewise.
14522         (__strspn_c3): Likewise.
14523         * string/string-inlines.c
14524         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14525         compatibility symbol.
14526         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14527         Likewise.
14528         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14529         Likewise.
14530         * string/string-inlines.c: Include generic version.
14532 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14533             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14535         * string/Version (libc): Add GLIBC_2.24.
14536         * string/strcspn.c (strcspn): Rewrite function.
14537         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14538         (__strcspn_c1): Remove inline function.
14539         (__strcspn_c2): Likewise.
14540         (__strcspn_c3): Likewise.
14541         * string/string-inline.c
14542         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14543         compatibility symbol.
14544         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14545         Likewise.
14546         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14547         Likewise.
14548         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14550 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14552         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14553         Use ahi instead of aghi to adjust stack pointer.
14555 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14557         [BZ #19853]
14558         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14559         TEST to take significant digits as second parameter.
14560         [TEST]: Redefine in terms of TEST_N taking 30
14561         significant digits.
14562         (do_test): Add test case to demonstrate precision
14563         failure in the ldbl-128ibm printf.
14564         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14565         (__mpn_extract_long_double): Carry 7 extra intermediate
14566         bits of precision to aide computing difference when
14567         signs differ.
14569 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14571         [BZ #19881]
14572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14573         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14574         memset-avx512-unaligned-erms.
14575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14576         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14577         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14578         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14579         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14580         __memset_sse2_unaligned_erms, __memset_erms,
14581         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14582         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14583         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14584         file.
14585         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14586         Likewise.
14587         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14588         Likewise.
14589         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14590         Likewise.
14592 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14594         [BZ #19776]
14595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14596         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14597         memmove-avx512-unaligned-erms.
14598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14599         (__libc_ifunc_impl_list): Test
14600         __memmove_chk_avx512_unaligned_2,
14601         __memmove_chk_avx512_unaligned_erms,
14602         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14603         __memmove_chk_sse2_unaligned_2,
14604         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14605         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14606         __memmove_avx512_unaligned_erms, __memmove_erms,
14607         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14608         __memcpy_chk_avx512_unaligned_2,
14609         __memcpy_chk_avx512_unaligned_erms,
14610         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14611         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14612         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14613         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14614         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14615         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14616         __mempcpy_chk_avx512_unaligned_erms,
14617         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14618         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14619         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14620         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14621         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14622         __mempcpy_erms.
14623         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14624         file.
14625         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14626         Likewise.
14627         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14628         Likewise.
14629         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14630         Likewise.
14632 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14634         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14635         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14636         (La_s390_64_regs): Likewise.
14637         (La_s390_32_retval): Append vector register lrv_v24.
14638         (La_s390_64_retval): Likeweise.
14639         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14640         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14641         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14642         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14644 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14646         [BZ #19916]
14647         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14648         to create a non-vector/vector version for _dl_runtime_resolve and
14649         _dl_runtime_profile. Move implementation to ...
14650         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14651         (_dl_runtime_resolve) Save and restore fpr/vrs.
14652         (_dl_runtime_profile) Save and restore vrs and fix some issues
14653         if _dl_call_pltexit is called.
14654         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14655         Choose the correct resolver function if running on a machine with vx.
14656         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14657         to create a non-vector/vector version for _dl_runtime_resolve and
14658         _dl_runtime_profile. Move implementation to ...
14659         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14660         (_dl_runtime_resolve) Save and restore fpr/vrs.
14661         (_dl_runtime_profile) Save and restore vrs and fix some issues
14662         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14663         Choose the correct resolver function if running on a machine with vx.
14665 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14667         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14669 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14671         [BZ #19509]
14672         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14673         skip_map != NULL.
14674         * elf/tst-dlsym-error.c: New file.
14675         * elf/Makefile (tests): Add tst-dlsym-error.
14676         (tst-dlsym-error): Link against libdl.
14678 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14681         (__ASSUME_FUTIMESAT): Remove macro.
14682         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14684 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14686         [BZ #19879]
14687         CVE-2016-3075
14688         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14689         copy name.
14691 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14693         [BZ #19837]
14694         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14695         error if parse_line fails.
14697 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14699         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14700         (index_cpu_ERMS): Likewise.
14701         (reg_ERMS): Likewise.
14703 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14705         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14706         PER_LINUX_FDPIC): Add.
14708 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14711         memcpy-avx512-no-vzeroupper.
14712         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14713         to ...
14714         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14715         (MEMCPY): Don't define.
14716         (MEMCPY_CHK): Likewise.
14717         (MEMPCPY): Likewise.
14718         (MEMPCPY_CHK): Likewise.
14719         (MEMPCPY_CHK): Renamed to ...
14720         (__mempcpy_chk_avx512_no_vzeroupper): This.
14721         (MEMPCPY_CHK): Renamed to ...
14722         (__mempcpy_chk_avx512_no_vzeroupper): This.
14723         (MEMCPY_CHK): Renamed to ...
14724         (__memmove_chk_avx512_no_vzeroupper): This.
14725         (MEMCPY): Renamed to ...
14726         (__memmove_avx512_no_vzeroupper): This.
14727         (__memcpy_avx512_no_vzeroupper): New alias.
14728         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14730 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14732         [BZ #18858]
14733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14734         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14735         and mempcpy-avx512-no-vzeroupper.
14736         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14737         New.
14738         (MEMPCPY): Likewise.
14739         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14740         (MEMPCPY_CHK): New.
14741         (MEMPCPY): Likewise.
14742         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14743         (MEMPCPY): Likewise.
14744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14745         (MEMPCPY): Likewise.
14746         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14747         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14748         Likewise.
14749         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14750         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14752 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14753              Amit Pawar  <Amit.Pawar@amd.com>
14755         [BZ #19583]
14756         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14757         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14758         processors.  Set Fast_Copy_Backward for AMD Excavator
14759         processors.
14760         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14761         New.
14762         (index_arch_Fast_Unaligned_Copy): Likewise.
14763         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14764         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14766 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14768         [BZ #19791]
14769         * resolv/res_send.c (close_and_return_error): New function.
14770         (send_dg): Initialize *resplen2 after reopen failure.  Call
14771         close_and_return_error for error returns.  On error paths without
14772         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14773         successful return.
14775 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14777         [BZ# 19860]
14778         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14779         zero if the compiler does not provide the AVX512F bit.
14781 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #19848]
14784         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14785         from 8 to 4.
14786         (__ieee754_powl): Compare integer exponent against 4 not 8.
14787         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14788         from 8 to 4.
14789         (__ieee754_powl): Compare integer exponent against 4 not 8.
14790         * math/auto-libm-test-in: Add more tests of pow.
14791         * math/auto-libm-test-out: Regenerated.
14792         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14797         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14798         Make code unconditional.
14799         [!__NR_utimensat]: Remove conditional code.
14800         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14801         Make code unconditional.
14802         [!__NR_utimensat]: Remove conditional code.
14803         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14804         Make code unconditional.
14805         [!__NR_utimensat]: Remove conditional code.
14807 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14809         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14810         Make code unconditional.
14812 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14814         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14815         call-clobbered %eax on retry path.
14816         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14818 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14820         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14821         Don't set %rcx twice before "rep movsb".
14823 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14825         [BZ #19583]
14826         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14827         inline.  Check family before setting family, model and
14828         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14829         bits here.
14830         (init_cpu_features): Replace HAS_CPU_FEATURE and
14831         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14832         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14833         for Intel processors with usable AVX2.  Call get_common_indeces
14834         for other processors with family == NULL.
14835         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14836         (CPU_FEATURES_ARCH_P): Likewise.
14837         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14838         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14840 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14842         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14843         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14844         $(shared-thread-library) instead of hardcoding the path to libpthread.
14846 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14848         * sysdeps/unix/sysv/linux/kernel-features.h
14849         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14850         * sysdeps/unix/sysv/linux/getdents.c
14851         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14852         [!have_no_getdents64_defined]: Likewise.
14853         (__GETDENTS): Remove __have_no_getdents64 conditional.
14855 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14857         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14858         Remove macro.
14859         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14860         <kernel-features.h>.
14861         (signalfd) [__NR_signalfd4]: Make code unconditional.
14862         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14864 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14866         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14867         style.
14869 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14871         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14872         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14873         __pthread_unwind.
14874         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14875         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14876         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14877         (__condvar_cleanup1): Likewise.
14879 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14881         [BZ #19822]
14882         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14883         move it to the final $@ location.
14885 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14887         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14888         access where posix_spawn success and pid argument is null.
14889         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14890         success case.
14892 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14894         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14896         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14898         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14899         and __fcntl.
14900         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14901         __fcntl only.
14902         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14903         adding attribute_hidden to __open and __fcntl.
14905         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14906         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14907         depend on libc-modules.h,
14908         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14910 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14913         Remove macro.
14914         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14915         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14916         entry.
14918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14919         Remove macro.
14920         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14921         include <kernel-features.h>.
14922         [!__ASSUME_FALLOCATE]: Remove conditional code.
14923         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14925 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14927         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14928         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14929         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14930         (_ZGVdN4v_cos_avx2): Likewise.
14931         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14932         (_ZGVdN4v_cos): Likewise.
14933         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14934         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14935         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14936         (_ZGVdN4v_exp_avx2): Likewise.
14937         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14938         (_ZGVdN4v_exp): Likewise.
14939         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14940         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14941         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14942         (_ZGVdN4v_log_avx2): Likewise.
14943         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14944         (_ZGVdN4v_log): Likewise.
14945         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14946         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14947         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14948         (_ZGVdN4vv_pow_avx2): Likewise.
14949         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14950         (_ZGVdN4vv_pow): Likewise.
14951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14952         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14954         (_ZGVdN4v_sin_avx2): Likewise.
14955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14956         (_ZGVdN4v_sin): Likewise.
14957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14958         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14960         (_ZGVdN4vvv_sincos_avx2): Likewise.
14961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14962         (_ZGVdN4vvv_sincos): Likewise.
14963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14964         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14965         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14966         (_ZGVbN4v_cosf_sse4): Likewise.
14967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14968         (_ZGVdN8v_cosf_avx2): Likewise.
14969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14970         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14972         (_ZGVbN4v_expf_sse4): Likewise.
14973         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14974         (_ZGVdN8v_expf_avx2): Likewise.
14975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14976         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14978         (_ZGVbN4v_logf_sse4): Likewise.
14979         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14980         (_ZGVdN8v_logf_avx2): Likewise.
14981         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14982         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14983         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14984         (_ZGVbN4vv_powf_sse4): Likewise.
14985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14986         (_ZGVdN8vv_powf_avx2): Likewise.
14987         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14988         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14989         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14990         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14991         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14992         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14994         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14996         (_ZGVbN4v_sinf_sse4): Likewise.
14997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14998         (_ZGVdN8v_sinf_avx2): Likewise.
14999         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15000         Use JUMPTARGET to call callee.
15001         (WRAPPER_IMPL_SSE2_ff): Likewise.
15002         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15003         (WRAPPER_IMPL_AVX): Likewise.
15004         (WRAPPER_IMPL_AVX_ff): Likewise.
15005         (WRAPPER_IMPL_AVX_fFF): Likewise.
15006         (WRAPPER_IMPL_AVX512): Likewise.
15007         (WRAPPER_IMPL_AVX512_ff): Likewise.
15008         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15009         Likewise.
15010         (WRAPPER_IMPL_SSE2_ff): Likewise.
15011         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15012         (WRAPPER_IMPL_AVX): Likewise.
15013         (WRAPPER_IMPL_AVX_ff): Likewise.
15014         (WRAPPER_IMPL_AVX_fFF): Likewise.
15015         (WRAPPER_IMPL_AVX512): Likewise.
15016         (WRAPPER_IMPL_AVX512_ff): Likewise.
15017         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15019 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15021         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15022         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15023         qualifier.
15024         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15025         internal_function qualifiers.
15027 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15029         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15030         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15031         * math/atest-exp.c (exp_mpn): Mark chk unused.
15032         * math/atest-exp2.c (exp_mpn): Likewise.
15033         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15034         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15036 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15039         Remove macro.
15040         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15041         <kernel-features.h>.
15042         [__NR_ppoll]: Make code unconditional.
15043         [!__ASSUME_PPOLL]: Remove conditional code.
15045         * sysdeps/unix/sysv/linux/kernel-features.h
15046         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15047         (__ASSUME_ACCEPT4): Likewise.
15048         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15049         Define.
15050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15051         Likewise.
15052         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15053         Likewise.
15054         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15055         Likewise.
15056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15057         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15058         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15059         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15060         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15061         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15063         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15064         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15065         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15066         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15067         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15068         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15069         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15070         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15071         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15072         Likewise.
15073         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15074         Likewise.
15075         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15076         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15077         0x040300].
15078         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15079         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15081         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15082         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15083         0x030300].
15084         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15086         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15087         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15088         0x040300].
15089         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15091         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15092         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15093         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15094         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15095         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15096         0x030300].
15097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15098         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15099         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15102         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15103         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15104         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15105         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15106         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15107         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15108         0x040300].
15109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15111         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15112         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15113         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15114         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15115         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15116         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15117         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15118         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15119         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15120         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15121         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15122         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15123         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15124         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15126         Likewise.
15127         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15128         Likewise.
15130 2016-03-15  Andreas Schwab  <schwab@suse.de>
15132         [BZ #19257]
15133         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15134         statp->_u._ext.nscount as loop count.
15136 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15138         * math/test-signgam-finite-c99.c: Also #undef
15139         __LIBC_INTERNAL_MATH_INLINES.
15140         * math/test-signgam-main.c: Likewise.
15142 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15144         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15145         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15146         (MADV_FREE): Likewise.
15147         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15148         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15149         EPOLLEXCLUSIVE.
15151 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15153         * timezone/README: Remove mention of checktab.awk. Mention wiki
15154         SharedSourceFiles.
15156 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15158         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15159         WUNTRACED.
15161 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15163         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15164         order to match the type of p when calling atomic_exchange_acq().
15166 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15168         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15169         cfi_offset calls.
15170         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15171         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15172         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15173         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15174         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15176 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15178         * timezone/checktab.awk: Removed.
15180 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15182         * manual/math.texi (Errors in Math Functions): Document relaxed
15183         accuracy goals for IBM long double.
15184         * math/libm-test.inc (test_exceptions): Always allow spurious
15185         "underflow" and "inexact" exceptions for IBM long double.
15187 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15189         [BZ #19762]
15190         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15191         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15192         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15193         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15194         (bit_arch_*): This for feature array.
15195         (bit_*): Renamed to ...
15196         (bit_cpu_*): This for cpu array.
15197         (index_*): Renamed to ...
15198         (index_arch_*): This for feature array.
15199         (index_*): Renamed to ...
15200         (index_cpu_*): This for cpu array.
15201         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15202         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15203         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15204         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15205         bit_##name with index_cpu_##name and bit_cpu_##name.
15206         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15207         bit_##name with index_arch_##name and bit_arch_##name.
15209 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15211         [BZ #19792]
15212         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15213         Terminate FDE before return label.
15215 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15217         [BZ #19790]
15218         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15219         (rintl): Define as macro.
15220         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15221         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15222         of fesetround.  Ensure results are evaluated before end of scope.
15223         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15224         USE_AS_NEARBYINTL and include s_rintl.c.
15225         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15226         Disable exception traps in new environment.
15227         (libc_feholdsetround_ppc_ctx): Likewise.
15229 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15231         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15232         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15233         (tst_audit10_aux) [__AVX512F__]: ... here.
15235 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15237         * include/sys/auxv.h: New file.
15239 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15241         [BZ #19759]
15242         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15244 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15246         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15247         operand modifier.
15248         (feclearexcept): Likewise.
15250 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15252         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15253         to reflect the entire 32-bit HWCAP.
15254         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15255         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15257 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15259         [BZ #19783]
15260         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15261         $(test-via-rtld-prefix).
15262         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15264 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15266         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15267         union wait.  Report any non-zero exit status as error.
15269 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15271         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15272         configured with --enable-hardcoded-path-in-tests.
15274 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15276         [BZ #19677]
15277         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15278         (__ieee754_remainderl): Put zero low parts in canonical form.
15279         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15280         file.  Based on
15281         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15282         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15283         with wrapper round test-fmodrem-ldbl-128ibm.c.
15284         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15285         file.
15286         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15287         Likewise.
15288         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15289         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15291 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15293         [BZ #19610]
15294         * elf/ldconfig.c (opt_link): Update comment.
15295         (options): Update help string for option -X.
15296         (search_dir): Unlink stale symbolic link only if updating symbolic
15297         links.
15298         * elf/tst-ldconfig-X.sh: New file.
15299         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15300         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15302 2016-03-07  Andreas Schwab  <schwab@suse.de>
15304         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15305         needed arguments.
15307 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15309         [BZ #15333]
15310         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15311         to lstat64.
15313 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15315         * libio/filedoalloc.c (isatty): Remove.
15316         (local_isatty): Add comment.  Call __isatty directly.
15317         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15318         * libio/wfiledoalloc.c (isatty): Remove.
15319         (_IO_wfile_doallocate): Update comment.
15321 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15323         [BZ #19269]
15324         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15325         tst-audit4-aux.o.
15326         (tst-audit10): Depend on tst-audit10-aux.o.
15327         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15328         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15329         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15330         instead of inline AVX code.
15331         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15332         instead of inline AVX512 code.
15333         * sysdeps/x86_64/tst-audit4-aux.c: New file
15334         * sysdeps/x86_64/tst-audit10-aux.c: New file
15336         [BZ #19648]
15337         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15339 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15341         [BZ #14750]
15342         [BZ #10354]
15343         [BZ #18433]
15344         * include/sched.h (__clone): Add hidden prototype.
15345         (__clone2): Likewise.
15346         * include/unistd.h (__dup): Likewise.
15347         * posix/Makefile (tests): Add tst-spawn2.
15348         * posix/tst-spawn2.c: New file.
15349         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15350         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15351         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15352         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15353         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15354         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15355         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15356         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15357         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15358         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15359         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15361         Likewise.
15362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15363         Likewise.
15364         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15365         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15366         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15367         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15368         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15369         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15370         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15371         * sysdeps/unix/sysv/linux/nptl-signals.h
15372         (____nptl_is_internal_signal): New function.
15373         * sysdeps/unix/sysv/linux/spawni.c: New file.
15375         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15376         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15377         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15378         * posix/tst-execvp2.c (do_test): Likewise.
15379         * posix/tst-execvp3.c (do_test): Likewise.
15380         * posix/tst-execvp4.c (do_test): Likewise.
15381         * posix/tst-execvpe1.c: New file.
15382         * posix/tst-execvpe2.c: Likewise.
15383         * posix/tst-execvpe3.c: Likewise.
15384         * posix/tst-execvpe4.c: Likewise.
15385         * posix/tst-execvpe5.c: Likewise.
15386         * posix/tst-execvpe6.c: Likewise.
15388         [BZ #19534]
15389         * posix/execl.c (execl): Remove dynamic memory allocation.
15390         * posix/execle.c (execle): Likewise.
15391         * posix/execlp.c (execlp): Likewise.
15393 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15395         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15396         Replace .text with .text.avx512.
15397         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15398         Likewise.
15400 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15402         * sysdeps/generic/libnsl.abilist: New file.
15403         * sysdeps/generic/libutil.abilist: New file.
15405 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15407         [BZ #19762]
15408         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15409         HAS_ARCH_FEATURE with Fast_Rep_String.
15410         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15411         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15412         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15413         Likewise.
15414         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15415         Likewise.
15416         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15417         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15418         Likewise.
15419         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15420         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15421         Likewise.
15423 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15425         [BZ #19745]
15426         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15427         with *%rax in call.
15429 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15431         [BZ #19745]
15432         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15433         with *__libc_start_main@GOTPCREL(%rip) in call.
15435 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15437         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15438         inside conditional for nonempty $(CXX).
15440         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15441         nonempty.
15443         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15444         to test for empty $(CXX) rather than $(CXX) of "no".
15446 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15448         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15450 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15451             H.J. Lu  <hongjiu.lu@intel.com>
15453         [BZ #18880]
15454         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15455         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15456         enable __memcpy_ssse3_back.
15458 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15460         [BZ #19758]
15461         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15462         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15464 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15466         [BZ #19490]
15467         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15468         (__fentry__): Likewise.
15470 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15472         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15473         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15475 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15477         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15478         __mcount_internal directly.
15479         (C_LABEL(__fentry__)): Likewise.
15480         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15481         directly.
15483 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15485         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15486         (__start_context): Call __setcontext directly.
15488 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15491         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15492         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15493         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15495         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15496         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15497         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15498         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15499         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15500         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15501         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15503         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15504         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15506         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15508         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15509         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15510         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15511         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15512         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15513         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15514         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15515         Remove conditional code.
15516         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15517         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15518         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15519         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15520         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15521         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15522         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15523         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15524         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15525         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15526         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15527         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15529 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15531         * NEWS (2.23): Fix typo in bug 19048 text.
15533 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15535         [BZ #14259]
15536         * Makeconfig: Rename msgcatdir to localedir.
15537         Rename inst_msgcatdir to inst_localedir.
15538         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15539         * config.make.in: Add localedir.
15540         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15541         (ldd-rewrite): Likewise.
15542         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15543         (install-others): Use inst_localedir.
15544         (CPPFLAGS): Use localedir.
15545         * locale/Makefile (locale-CPPFLAGS): Likewise.
15546         * po/Makefile (mo-installed): Use inst_localedir.
15548         [BZ #19575]
15549         * localedata/charmaps/GB18030: Update comments regarding PAU to
15550         non-PUA mappings.
15552 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15554         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15555         test for header.
15556         * sysdeps/unix/sysv/linux/configure: Regenerated.
15557         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15558         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15559         Remove conditional code.
15560         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15562         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15563         Define to 3.2.0.
15564         (arch_minimum_kernel): Likewise.
15565         * sysdeps/unix/sysv/linux/configure: Regenerated.
15566         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15567         Define to 2.6.32.
15568         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15569         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15570         (arch_minimum_kernel): Define to 2.6.32.
15571         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15572         * README: Document Linux 3.2 requirement.
15573         * manual/install.texi (Linux): Document Linux 3.2 headers
15574         requirement.
15575         * INSTALL: Regenerated.
15577 2016-02-24  Andreas Schwab  <schwab@suse.de>
15579         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15580         if !NO_LONG_DOUBLE.
15582 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15584         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15585         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15587 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15589         [BZ #19512]
15590         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15592 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15594         * posix/tst-dir.c: Include libc-internal.h.
15596 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15598         [BZ #19056]
15599         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15600         * manual/filesys.texi (Reading/Closing Directory): Mention
15601         deprecaion.
15602         * posix/tst-dir.c (main): Disable deprecation warning in test.
15604 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15606         [BZ #19679]
15607         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15608         Renamed to ...
15609         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15610         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15611         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15612         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15613         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15614         * sysdeps/x86_64/dl-trampoline.h
15615         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15616         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15618 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15620         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15622 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15624         * elf/elf.h (R_386_GOT32X): New.
15625         (R_386_NUM): Update.
15626         (R_X86_64_GOTPCRELX: New.
15627         (R_X86_64_REX_GOTPCRELX): New.
15628         (R_X86_64_NUM): Update.
15630 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15632         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15634 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15636         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15637         assign attr->stackaddr to it, and adjust it down when
15638         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15639         [_STACK_GROWS_UP]: Delete assert.
15640         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15641         Implement stack grows up logic.
15642         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15643         stack grows up logic.
15645 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15647         * NEWS: Update with 2.24 template.
15649 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15651         [BZ #19678]
15652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15653         Ensure +0.0 is returned when taking the next value below the least
15654         positive value.
15656 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15658         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15659         available.  Do not define NO_THREADS.
15660         * malloc/malloc.c: Do not check NO_THREADS.
15661         * malloc/arena.c: Likewise.
15663 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15665         * malloc/malloc.c (__libc_mallinfo): Update comment.
15666         (struct malloc_par): Remove max_total_mem member, it was always 0.
15667         (int_mallinfo): Store 0 into usmblks (no functional change).
15668         * malloc/hooks.c (struct malloc_state): Document that
15669         max_total_mem is always 0.
15670         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15671         always 0.
15672         * manual/memory.texi (Statistics of Malloc): Likewise.
15674 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15676         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15677         * malloc/arena.c (arena_max): Remove.
15678         (heap_trim, _int_new_arena): Do not update arena_max.
15680 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15682         * resolv/res_init.c (res_ninit): Update comment.
15684 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15686         [BZ #19505]
15687         * posix/spawn_int.h: Add headers and include guard.
15688         (__spawn_valid_fd): New function.
15689         * posix/spawn_faction_addopen.c
15690         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15691         * posix/spawn_faction_addclose.c
15692         (posix_spawn_file_actions_addclose): Likewise.
15693         * posix/spawn_faction_adddup2.c
15694         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15695         second file descriptor.
15696         * posix/spawn_valid_fd.c: New file.
15697         * posix/tst-posix_spawn-fd.c: New file.
15698         * posix/Makefile (routines): Add spawn_valid_fd.
15699         (tests): Add tst-posix_spawn-fd.
15701 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15703         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15704         (do_test): Limit the number of arenas, so that we can use fewer
15705         outer threads.  Limit timeout to 3 seconds, in preparation for a
15706         larger TIMEOUT value.
15708 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15710         [BZ #19674]
15711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15712         sign in overflowing and underflowing results when overflow or
15713         underflow is detected early.  Include sign in result before rather
15714         than after scaling.
15716         [BZ #19603]
15717         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15718         (__ieee754_remainderl): Adjust sign of integer version of low part
15719         when taking absolute value of high part.
15720         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15721         * math/libm-test.inc (remainder_test_data): Add another test.
15722         (remquo_test_data): Likewise.
15724 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15726         [BZ #19602]
15727         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15728         equal high parts and both low parts zero specially.
15729         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15730         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15731         Add test-fmodl-ldbl-128ibm.
15733         [BZ #19595]
15734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15735         common logic for all cases of shifting subnormal results.  Do not
15736         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15737         exponent to ldbl_insert_mantissa in subnormal case.
15739         [BZ #19594]
15740         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15741         on high and low parts then adjust result and use
15742         ldbl_canonicalize_int if needed.
15744         [BZ #19593]
15745         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15746         on high part and __floor or __ceil on low part then use
15747         ldbl_canonicalize_int if needed.
15749         [BZ #19592]
15750         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15751         high and low parts then use ldbl_canonicalize_int if needed.
15753         [BZ #17899]
15754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15755         New function.
15756         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15757         on high and low parts then use ldbl_canonicalize_int if needed.
15759 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15761         * configure: Regenerated.
15763         * po/libc.pot: Regenerated.
15765         * po/be.po: Updated translation.
15766         * po/bg.po: Likewise.
15767         * po/ca.po: Likewise.
15768         * po/cs.po: Likewise.
15769         * po/da.po: Likewise.
15770         * po/el.po: Likewise.
15771         * po/eo.po: Likewise.
15772         * po/es.po: Likewise.
15773         * po/fi.po: Likewise.
15774         * po/fr.po: Likewise.
15775         * po/gl.po: Likewise.
15776         * po/hr.po: Likewise.
15777         * po/hu.po: Likewise.
15778         * po/ia.po: Likewise.
15779         * po/id.po: Likewise.
15780         * po/it.po: Likewise.
15781         * po/ja.po: Likewise.
15782         * po/lt.po: Likewise.
15783         * po/nb.po: Likewise.
15784         * po/nl.po: Likewise.
15785         * po/pt_BR.po: Likewise.
15786         * po/rw.po: Likewise.
15787         * po/sk.po: Likewise.
15788         * po/sl.po: Likewise.
15789         * po/sv.po: Likewise.
15790         * po/tr.po: Likewise.
15791         * po/zh_CN.po: Likewise.
15792         * po/zh_TW.po: Likewise.
15794         * version.h (RELEAES): Set to "development".
15795         (VERSION): Set to 2.23.90.
15797         * version.h (RELEASE): Set to "stable".
15798         (VERSION): Set to 2.23.
15799         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15801         * NEWS: Updated fixed bugs.
15803 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15804             Wilco Dijkstra  <wdijkstr@arm.com>
15806         [BZ #19462]
15807         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15808         (_STRING_INLINE_unaligned): This.
15809         * include/string.h: Include <string_private.h>.
15810         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15811         _STRING_INLINE_unaligned.
15812         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15813         (_STRING_INLINE_unaligned): New.
15814         * sysdeps/aarch64/string_private.h: New file.
15815         * sysdeps/generic/string_private.h: Likewise.
15816         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15817         * sysdeps/s390/string_private.h: Likewise.
15818         * sysdeps/x86/string_private.h: Likewise.
15819         * sysdeps/m68k/m680x0/m68020/bits/string.h
15820         (_STRING_ARCH_unaligned): Renamed to ...
15821         (_STRING_INLINE_unaligned): This.
15822         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15823         to ...
15824         (_STRING_INLINE_unaligned): This.
15825         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15826         to ...
15827         (_STRING_INLINE_unaligned): This.
15828         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15829         to ...
15830         (_STRING_INLINE_unaligned): This.
15832 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15833             H.J. Lu  <hongjiu.lu@intel.com>
15835         [BZ #19590]
15836         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15837         relocation.
15839 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15841         [BZ #18665]
15842         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15843         *herrno_p.
15844         (gaih_getanswer): Document functional behviour. Return tryagain
15845         if any result is tryagain.
15846         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15847         when freed.
15848         * resolv/res_send.c: Add copyright text.
15849         (__libc_res_nsend): Document that MAXPACKET is expected.
15850         (send_vc): Document. Remove buffer reuse.
15851         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15852         size of the buffer. Add Dprint for truncated UDP buffer.
15854 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15856         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15857         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15858         * INSTALL: Regenerate.
15860 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15861             Jonathan Wakely  <jwakely@redhat.com>
15862             Carlos O'Donell  <carlos@redhat.com>
15864         [BZ 19439]
15865         * math/Makefile (tests): Add test-math-isinff.
15866         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15867         * math/bits/mathcalls.h [__USE_MISC]: Use
15868         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15869         functions not in C++11 and which don't conflict e.g. isinff,
15870         isinfl etc.
15871         * math/test-math-isinff.cc: New file.
15873 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15875         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15877 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15879         [BZ #19529]
15880         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15882 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15884         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15886 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15888         [BZ #19550]
15889         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15890         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15891         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15892         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15893         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15894         New syscall entry.
15895         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15896         New syscall entry.
15897         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15898         syscall entry.
15900 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15902         [BZ #18240]
15903         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15904         unsigned int wraparound.
15906 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15908         [BZ #18240]
15909         * misc/bug18240.c: New test.
15910         * misc/Makefile (tests): Add it.
15912 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15913             Joseph Myers  <joseph@codesourcery.com>
15915         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15916         load in branch delay slot when less than a word of input left.
15918 2016-01-27  Andreas Schwab  <schwab@suse.de>
15920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15921         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15922         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15923         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15925 2016-01-26  David S. Miller  <davem@davemloft.net>
15927         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15929 2016-01-25  David S. Miller  <davem@davemloft.net>
15931         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15932         __sqrtl_finite.
15933         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15934         instead using versioned_symbol.
15935         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15936         of entries.
15938         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15939         __sqrtl_finite to GLIBC_2.23
15941 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15943         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15945 2016-01-25  Andreas Schwab  <schwab@suse.de>
15947         [BZ #17514]
15948         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15949         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15950         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15951         * nptl/tst-mutex-errorcheck.c: New file.
15953 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15955         [BZ #18560]
15956         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15957         (IPCOP_semop): Likewise.
15958         (IPCOP_semget): Likewise.
15959         (IPCOP_semctl): Likewise.
15960         (IPCOP_msgsnd): Likewise.
15961         (IPCOP_msgrcv): Likewise.
15962         (IPCOP_msgget): Likewise.
15963         (IPCOP_msgctl): Likewise.
15964         (IPCOP_shmat): Likewise.
15965         (IPCOP_shmdt): Likewise.
15966         (IPCOP_shmget): Likewise.
15967         (IPCOP_shmctl): Likewise.
15969 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15971         * string/tst-endian.c: Include <libc-internal.h>.
15972         (do_test): Ignore tautological-compare warnings around
15973         "htobeXX (beXXtoh (i)) != i" and
15974         "htoleXX (leXXtoh (i)) != i" if-statements.
15976 2016-01-24  David S. Miller  <davem@davemloft.net>
15978         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15979         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15980         alias.
15981         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15982         __sqrtl_finite.
15984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15986 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15988         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15989         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15990         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15992 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15994         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15995         (thread_func): Use new function to simplify barrier check.
15996         (do_test): Use new function to simplify checking barrier exit
15997         code, and actually join the child thread.
15999 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16001         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16002         semicolon.
16003         (__libc_tend): Likewise.
16004         (__libc_tabort): Likewise.
16006 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16008         * sysdeps/nios2/libm-test-ulps: Update.
16009         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16010         (__gtsf2): Likewise.
16011         (__unorddf2): Likewise.
16012         (__unordsf2): Likewise.
16013         (__ledf2): Likewise.
16015 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16017         * nis/nis_table.c (__follow_path): Disable diagnostic for
16018         uninitialized variable that is a false positive for gcc 4.7.
16019         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16021 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16023         * sysdeps/nacl/lowlevellock-futex.h
16024         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16025         Always evaluate PRIVATE argument.
16027 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16029         [BZ #19490]
16030         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16031         (pthread_cond_broadcast): Use ENTRY/END
16032         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16033         (pthread_cond_signal): Likewise.
16034         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16035         Likewise.
16036         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16037         Likewise.
16038         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16039         Likewise.
16041 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16043         * sysdeps/ieee754/dbl-64/s_finite.c
16044         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16045         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16046         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16047         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16048         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16051         (__gtsf2): Add as optional for libc.so.
16052         (__unordsf2): Likewise.
16053         (__signbit): Remove for libc.so.
16054         (__signbitl): Likewise.
16056 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16058         * iconvdata/bug-iconv11.c (test_ibm93x):
16059         Use %zu printf format specifier for size_t argument.
16061 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16063         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16064         already-recorded ulps.
16065         * sysdeps/arm/libm-test-ulps: Regenerated.
16066         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16067         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16068         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16070 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16071             Paul Pluzhnikov  <ppluzhnikov@google.com>
16073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16074         assembler not supporting AVX-512.
16076 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16078         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16080 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16082         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16083         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16085         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16087         * sysdeps/arm/libm-test-ulps: Regenerated.
16089 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16091         [BZ #19451]
16092         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16094 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16096         [BZ #19486]
16097         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16098         * sysdeps/generic/fix-fp-int-convert-overflow.h
16099         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16100         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16101         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16102         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16103         Likewise.
16104         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16105         Avoid conversions to long int where inexact exceptions
16106         could be raised.
16107         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16108         Likewise.
16109         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16110         Avoid conversions to long long int where inexact exceptions
16111         could be raised.
16112         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16113         Likewise.
16115 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16117         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16118         * configure: Regenerated.
16120 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16122         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16124 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16126         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16127         outside of comment.
16129 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16131         * nptl/tst-barrier1.c: Add description on first line.
16132         * nptl/tst-barrier2.c: Likewise.
16133         * nptl/tst-barrier3.c: Likewise.
16134         * nptl/tst-barrier4.c: Likewise.
16135         * nptl/tst-barrier5.c: Likewise.
16137 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16139         [BZ #18868]
16140         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16142 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16146         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16147         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16148         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16149         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16150         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16151         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16152         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16153         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16154         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16156 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16158         [BZ #13065]
16159         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16160         new implementation.
16161         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16162         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16163         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16164         (BARRIER_IN_THRESHOLD): New macro.
16165         * nptl/pthread_barrierattr_setpshared.c
16166         (pthread_barrierattr_setpshared): Clean up.
16167         * nptl/tst-barrier4.c: Correct comment.
16168         * nptl/tst-barrier5.c: New file.
16169         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16170         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16171         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16172         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16173         * nptl/lowlevelbarrier.sym: Remove.
16174         * nptl/DESIGN-barrier.txt: Remove.
16175         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16176         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16177         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16178         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16179         error.
16180         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16181         implementation.
16183 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16185         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16186         (do_child): Mask SIGRTMIN while thr is running.
16188 2016-01-15  Martin Sebor  <msebor@redhat.com>
16190         [BZ #19432]
16191         * iconvdata/Makefile: Add bug-iconv11.
16192         * iconvdata/bug-iconv11.c: New test.
16193         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16194         * iconvdata/ibm933.c: Same.
16195         * iconvdata/ibm935.c: Same.
16196         * iconvdata/ibm937.c: Same.
16197         * iconvdata/ibm939.c: Same.
16199 2016-01-15  Martin Sebor  <msebor@redhat.com>
16201         [BZ #19443]
16202         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16203         [DEBUG] (_ufc_set_bits): Declare used.
16204         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16205         [DEBUG] (print_all): Declare used.
16206         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16207         operands of the ternary ?: expression to target type.
16208         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16209         calling the undeclared abort.
16210         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16212 2016-01-15  Martin Sebor  <msebor@redhat.com>
16214         [BZ #18755]
16215         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16216         warnings.
16217         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16218         (__gai_create_helper_thread): Same.
16219         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16220         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16221         to suppress -Wmaybe-uninitialized warnings.
16223 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16225         [BZ #19465]
16226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16227         inside if.
16228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16232 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16234         [BZ #19466]
16235         * time/tst-mktime2.c (time_t_max): Removed.
16236         (time_t_min): Likewise.
16237         (TYPE_SIGNED): New.
16238         (TYPE_MINIMUM): Likewise.
16239         (TYPE_MAXIMUM): Likewise.
16240         (TIME_T_MIN): Likewise.
16241         (TIME_T_MAX): Likewise.
16242         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16243         and TIME_T_MIN.
16244         (do_test): Likewise.
16246 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16248         [BZ #19467]
16249         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16250         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16252 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16254         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16256 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16258         * benchtests/Makefile (PYTHON): Define.
16259         (bench-func): Use $(PYTHON) to run python scripts.
16260         ($(objpfx)bench-%.c): Likewise.
16262 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16264         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16265         leading slash when `file_name' is "/".
16267 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16269         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16270         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16271         Likewise.
16272         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16273         Likewise.
16274         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16275         Likewise.
16276         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16277         enum constant and macro.
16278         (PTRACE_SETSIGMASK): Likewise.
16279         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16280         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16281         (PTRACE_GETSIGMASK): Likewise.
16282         (PTRACE_SETSIGMASK): Likewise.
16283         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16284         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16285         Likewise.
16286         (PTRACE_SETSIGMASK): Likewise.
16287         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16288         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16289         (PTRACE_GETSIGMASK): Likewise.
16290         (PTRACE_SETSIGMASK): Likewise.
16291         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16293         Likewise.
16294         (PTRACE_SETSIGMASK): Likewise.
16295         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16296         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16297         Likewise.
16298         (PTRACE_SETSIGMASK): Likewise.
16299         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16300         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16301         Likewise.
16302         (PTRACE_SETSIGMASK): Likewise.
16303         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16305 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16306             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16308         [BZ #19439]
16309         * math/bits/mathcalls.h
16310         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16311         prototype.
16312         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16314 2016-01-11  Andreas Schwab  <schwab@suse.de>
16316         [BZ #19253]
16317         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16318         cache when TZDEFRULES was used.
16319         * time/tst-tzname.c: New file.
16320         * time/Makefile (test): Add tst-tzname.
16321         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16322         * timezone/Makefile (test-zones): Add $(posixrules-file).
16323         ($(testdata)/$(posixrules-file)): New rule.
16325 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16327         Fix doc quoting problems with Texinfo 5
16328         Without this change, in the info file output, Texinfo 5 quotes code
16329         in text with undirected single quotes 'like this' and generates
16330         code examples that with many PDF readers cannot be cut out of PDFs
16331         and pasted into code.
16332         * manual/libc.texinfo: Configure the libc manual like the GNU
16333         Emacs manual, by using @documentencoding and setting
16334         txicodequoteundirected and txicodequotebacktick.  This way,
16335         Texinfo 5 quotes code in text with directed single quotes ‘like
16336         this’ and produces examples that can be cut out of PDFs.  This
16337         change causes Texinfo 5 to generate info files that contain UTF-8
16338         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16339         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16341 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16343         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16344         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16345         barriers to their respective compiler built-ins.
16346         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16347         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16348         * sysdeps/powerpc/sysdep.h: Likewise.
16349         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16350         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16351         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16353 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16355         * scripts/config.guess: Revert previous shebang change.
16356         * scripts/config.sub: Likewise.
16357         * scripts/mkinstalldirs: Likewise.
16359 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16361         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16362         PPC_FEATURE2_HAS_IEEE128.
16363         * sysdeps/powerpc/dl-procinfo.c:
16364         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16366 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16368         [BZ #19415]
16369         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16370         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16371         (_dl_lookup_address): Rewrite using function resolver trampoline.
16372         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16373         two bits in address.
16375 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16377         * longlong.h: Change !__SHMEDIA__ to
16378         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16379         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16381 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16382             Joseph Myers  <joseph@codesourcery.com>
16383             Mark Shinwell  <shinwell@codesourcery.com>
16384             Andrew Stubbs  <ams@codesourcery.com>
16385             Rich Felker <dalias@libc.org>
16387         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16389 2016-01-07  Richard Henderson  <rth@redhat.com>
16391         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16393 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16395         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16396         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16397         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16398         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16399         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16401 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16402             Joseph Myers  <joseph@codesourcery.com>
16404         * timezone/private.h: Update from tzcode 2015g.
16405         * timezone/tzfile.h: Likewise.
16406         * timezone/tzselect.ksh: Likewise.
16407         * timezone/zdump.c: Likewise.
16408         * timezone/zic.c: Likewise.
16409         * timezone/ialloc.c: Remove file.
16410         * timezone/scheck.c: Likewise.
16411         * timezone/Makefile (extra-objs): Remove variable.
16412         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16413         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16414         -Wno-maybe-uninitialized.
16415         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16416         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16417         (CFLAGS-ialloc.c): Remove variable.
16418         (CFLAGS-scheck.c): Likewise.
16419         * timezone/README: Update list of files from tzcode.
16421 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16423         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16424         instead of __fxprintf when _LIBC is undefined.
16426 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16428         * catgets/test-gencat.sh: Remove space after shebang.
16429         * conform/GlibcConform.pm: Likewise.
16430         * conform/check-header-lists.sh: Likewise.
16431         * conform/conformtest.pl: Likewise.
16432         * conform/linknamespace.pl: Likewise.
16433         * conform/list-header-symbols.pl: Likewise.
16434         * debug/catchsegv.sh: Likewise.
16435         * elf/genrtldtbl.awk: Likewise.
16436         * elf/tst-pathopt.sh: Likewise.
16437         * elf/tst-rtld-load-self.sh: Likewise.
16438         * grp/tst_fgetgrent.sh: Likewise.
16439         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16440         * iconvdata/gen-8bit-gap.sh: Likewise.
16441         * iconvdata/gen-8bit.sh: Likewise.
16442         * iconvdata/run-iconv-test.sh: Likewise.
16443         * intl/tst-gettext.sh: Likewise.
16444         * intl/tst-gettext2.sh: Likewise.
16445         * intl/tst-gettext4.sh: Likewise.
16446         * intl/tst-gettext6.sh: Likewise.
16447         * intl/tst-translit.sh: Likewise.
16448         * io/ftwtest-sh: Likewise.
16449         * libio/test-freopen.sh: Likewise.
16450         * locale/gen-translit.pl: Likewise.
16451         * malloc/tst-mtrace.sh: Likewise.
16452         * manual/check-safety.sh: Likewise.
16453         * manual/libc-texinfo.sh: Likewise.
16454         * manual/tsort.awk: Likewise.
16455         * manual/xtract-typefun.awk: Likewise.
16456         * nptl/tst-cancel-wrappers.sh: Likewise.
16457         * nptl/tst-tls6.sh: Likewise.
16458         * posix/globtest.sh: Likewise.
16459         * posix/tst-getconf.sh: Likewise.
16460         * posix/wordexp-tst.sh: Likewise.
16461         * scripts/check-c++-types.sh: Likewise.
16462         * scripts/check-local-headers.sh: Likewise.
16463         * scripts/config.guess: Likewise.
16464         * scripts/config.sub: Likewise.
16465         * scripts/cpp: Likewise.
16466         * scripts/cross-test-ssh.sh: Likewise.
16467         * scripts/documented.sh: Likewise.
16468         * scripts/evaluate-test.sh: Likewise.
16469         * scripts/gen-libc-abis: Likewise.
16470         * scripts/gen-sorted.awk: Likewise.
16471         * scripts/list-fixed-bugs.py: Likewise.
16472         * scripts/merge-test-results.sh: Likewise.
16473         * scripts/mkinstalldirs: Likewise.
16474         * scripts/rellns-sh: Likewise.
16475         * scripts/test-installation.pl: Likewise.
16476         * scripts/update-copyrights: Likewise.
16477         * stdio-common/tst-printf.sh: Likewise.
16478         * stdio-common/tst-unbputc.sh: Likewise.
16479         * stdlib/tst-fmtmsg.sh: Likewise.
16480         * stdlib/tst-setcontext3.sh: Likewise.
16481         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16482         * sysdeps/unix/make-syscalls.sh: Likewise.
16484 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16486         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16487         asm stw with atomic_exchange_rel.  Add explanatory comment.
16488         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16489         Likewise.
16491 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16493         [BZ #19122]
16494         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16495         * sysdeps/generic/dl-unistd.h: New file.
16496         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16498 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16500          [BZ #19122]
16501          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16502          * sysdeps/generic/dl-mman.h: New file.
16503          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16505 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16507         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16508         trailing whitespace removed.
16509         * scripts/config.guess: Update to version 2016-01-01.
16510         * scripts/config.sub: Update to version 2016-01-01.
16511         * scripts/move-if-change: Update from gnulib.
16513 2016-01-04  Anton Blanchard  <anton@samba.org>
16515         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16516         for array indices.
16517         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16519 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16521         * NEWS: Update copyright dates.
16522         * catgets/gencat.c (print_version): Likewise.
16523         * csu/version.c (banner): Likewise.
16524         * debug/catchsegv.sh: Likewise.
16525         * debug/pcprofiledump.c (print_version): Likewise.
16526         * debug/xtrace.sh (do_version): Likewise.
16527         * elf/ldconfig.c (print_version): Likewise.
16528         * elf/ldd.bash.in: Likewise.
16529         * elf/pldd.c (print_version): Likewise.
16530         * elf/sotruss.sh: Likewise.
16531         * elf/sprof.c (print_version): Likewise.
16532         * iconv/iconv_prog.c (print_version): Likewise.
16533         * iconv/iconvconfig.c (print_version): Likewise.
16534         * locale/programs/locale.c (print_version): Likewise.
16535         * locale/programs/localedef.c (print_version): Likewise.
16536         * login/programs/pt_chown.c (print_version): Likewise.
16537         * malloc/memusage.sh (do_version): Likewise.
16538         * malloc/memusagestat.c (print_version): Likewise.
16539         * malloc/mtrace.pl: Likewise.
16540         * manual/libc.texinfo: Likewise.
16541         * nptl/version.c (banner): Likewise.
16542         * nscd/nscd.c (print_version): Likewise.
16543         * nss/getent.c (print_version): Likewise.
16544         * nss/makedb.c (print_version): Likewise.
16545         * posix/getconf.c (main): Likewise.
16546         * scripts/test-installation.pl: Likewise.
16547         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16549         * All files with FSF copyright notices: Update copyright dates
16550         using scripts/update-copyrights.
16551         * intl/plural.c: Regenerated.
16552         * locale/programs/charmap-kw.h: Likewise.
16553         * locale/programs/locfile-kw.h: Likewise.
16555 2016-01-02  Helge Deller  <deller@gmx.de>
16557         [BZ #19285]
16558         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16559         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16560         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16561         (MADV_xxK_PAGES): Remove.
16563 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16565         [BZ #15421]
16566         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16567         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16568         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16569         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16571 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16573         [BZ #19408]
16574         * sysdeps/unix/sysv/linux/personality.c: New file.
16575         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16576         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16577         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16578         (sysdep_routines): Add personality.
16579         (tests): Add tst-personality.
16580         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16581         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16582         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16583         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16584         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16585         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16586         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16587         Likewise.
16588         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16589         Likewise.
16590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16591         Likewise.
16592         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16593         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16594         Likewise.
16596 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16598         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16599         (PATH_ARM_SYSTYPE): Remove.
16600         (PATH_CPUINFO): Likewise.
16601         (IO_BASE_FOOTBRIDGE): Likewise.
16602         (IO_SHIFT_FOOTBRIDGE): Likewise.
16603         (struct platform): Likewise.
16604         (init_iosys): Remove compatibility code for 2.4 kernels.
16605         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16607 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16609         * malloc/tst-malloc-thread-fail.c: New file.
16610         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16611         (tst-malloc-thread-fail): Link against libpthread.
16613 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16615         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16616         (get_parser): New function.
16617         (main): New function.
16619 2015-12-29  Rob Wu  <rob@robwu.nl>
16621         [BZ #19369]
16622         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16624 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16626         [BZ #19270]
16627         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16629 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16631         [BZ #15421]
16632         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16634 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16636         [BZ #13690]
16637         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16638         after releasing it.
16639         (__lll_robust_unlock): Likewise.
16640         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16641         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16642         (lll_robust_unlock): Likewise.
16643         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16644         Prevent warnings in callers.
16646 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16648         * malloc/arena.c (list_lock): Update comment.
16650 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16652         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16653         __parse_hwcap_and_convert_at_platform to libc.a.
16655 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16657         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16658         platform and feature support for POWER9.
16659         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16660         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16661         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16662         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16663         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16664         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16665         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16666         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16668 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16670         Harmonize generic stdio-lock support with nptl
16672         This fixes build when _IO_funlockfile is a macro, fixes build where
16673         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16674         stack unwind.
16676         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16677         _IO_release_lock ): Use cleanup attribute on new
16678         _IO_acquire_lock_file variable instead of assuming that
16679         _IO_release_lock will be called.
16680         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16681         _IO_acquire_lock_needs_exceptions_enabled.
16682         (_IO_acquire_lock_clear_flags2): New macro.
16684 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16686         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16688 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16690         [BZ #19182]
16691         * malloc/arena.c (list_lock): Document lock ordering requirements.
16692         (free_list_lock): New lock.
16693         (ptmalloc_lock_all): Comment on free_list_lock.
16694         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16695         (detach_arena): Update comment.  free_list_lock is now needed.
16696         (_int_new_arena): Use free_list_lock around detach_arena call.
16697         Acquire arena lock after list_lock.  Add comment, including FIXME
16698         about incorrect synchronization.
16699         (get_free_list): Switch to free_list_lock.
16700         (reused_arena): Acquire free_list_lock around detach_arena call
16701         and attached threads counter update.  Add two FIXMEs about
16702         incorrect synchronization.
16703         (arena_thread_freeres): Switch to free_list_lock.
16704         * malloc/malloc.c (struct malloc_state): Update comments to
16705         mention free_list_lock.
16707 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16709         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16710         Remove functions.
16711         (sloww, sloww1): Accept argument to offset quadrant.
16712         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16713         quadrant.
16714         (__sin, __cos): Consolidate common code into new functions.
16715         (reduce_sincos_1, do_sincos_1): New functions.
16716         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16719         code to new functions.
16720         (reduce_sincos_2, do_sincos_2): New functions.
16721         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16724         common code for sincos.
16725         (__cos) [!IN_SINCOS]: Likewise.
16726         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16727         New function.
16728         (__sincos): Use it.
16730 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16732         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16733         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16734         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16736 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16738         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16741         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16742         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16743         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16744         index_Prefer_No_VZEROUPPER): New feature.
16745         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16746         Prefer_No_VZEROUPPER for Knights Landing.
16748 015-12-18  Torvald Riegel  <triegel@redhat.com>
16750         * math/atest-exp2.c (mp_exp_m1): Remove.
16752 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16754         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16755         syscalls.
16756         (__SYSCALL0): New macro.
16757         (__SYSCALL1): Likewise.
16758         (__SYSCALL2): Likewise.
16759         (__SYSCALL3): Likewise.
16760         (__SYSCALL4): Likewise.
16761         (__SYSCALL5): Likewise.
16762         (__SYSCALL6): Likewise.
16763         (__SYSCALL_CONCAT_X): Likewise.
16764         (__SYSCALL_CONCAT): Likewise.
16765         (__SYSCALL_DIST): Likewise.
16766         (__SYSCALL_CALL): Likewise.
16768 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16770         [BZ #19363]
16771         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16773 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16775         [BZ #19375]
16776         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16777         negative subnormals.
16779 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16782         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16783         (INTERNAL_SYSCALL_NCS): Use it.
16784         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16786 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16788         [BZ #19243]
16789         * malloc/arena.c (get_free_list): Remove assert and adjust
16790         reference count handling.  Add comment about reused_arena
16791         interaction.
16792         (reused_arena): Add comments abount get_free_list interaction.
16793         * malloc/tst-malloc-thread-exit.c: New file.
16794         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16795         (tst-malloc-thread-exit): Link against libpthread.
16797 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16799         [BZ #19367]
16800         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16801         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16802         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16803         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16804         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16806 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16809         Silvermont optimizations for Knights Landing.
16811 2015-12-15  Andreas Schwab  <schwab@suse.de>
16813         [BZ #17197]
16814         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16815         immediately after emitting SI.
16816         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16817         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16818         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16819         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16820         * iconvdata/bug-iconv10.c: New file.
16821         * iconvdata/Makefile (tests): Add bug-iconv10.
16822         ($(objpfx)bug-iconv10.out): New rule.
16824 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16826         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16827         aliasing violation.
16829 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16831         [BZ #18472]
16832         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16833         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16834         conditionals for them.
16835         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16836         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16838         sys/kdaemon.h.
16839         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16840         compat-only syscall, obsoleted in glibc 2.23.
16841         (create_module): Likewise.
16842         (get_kernel_syms): Likewise.
16843         (query_module): Likewise.
16844         (uselib): Likewise.
16845         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16847 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16849         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16850         <linux/version.h>.
16851         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16852         conditional code.
16853         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16854         and ioshift_name initialization.
16856 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16859         Fix indentation.
16861 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16863         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16865 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16867         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16869 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16870             Jakub Wilk  <jwilk@debian.org>
16872         [BZ #19347]
16873         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16874         to change the group of the device to the tty group.
16876 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16878         Split large string section; add truncation advice
16879         * manual/examples/strncat.c: Remove.
16880         This example was misleading, as the code would have undefined
16881         behavior if "hello" was longer than SIZE.  Anyway, the manual
16882         shouldn't encourage strncpy+strncat for this sort of thing.
16883         * manual/string.texi (Copying Strings and Arrays): Split into
16884         three sections Copying Strings and Arrays, Concatenating Strings,
16885         and Truncating Strings, as this section was way too long.  All
16886         cross-referenced changed.  Add advice about string-truncation
16887         functions.  Remove misleading strncat example.
16889 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16891         * manual/nss.texi (NSS Modules Interface): Document
16892         NSS_STATUS_NOTFOUND and SUCCESS.
16894 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16896         [BZ 18568]
16897         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16898         201505L, for Unicode 8.
16900 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16902         * locale/C-translit.h: Regenerate.
16904 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16906         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16907         and U+0153.
16909 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #19351]
16912         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16913         expanding log(1+z), compare z rather than its square with epsilon
16914         to determine when to avoid evaluating the expansion.
16916         [BZ #19350]
16917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16918         Increase overflow threshold.
16920         [BZ #19349]
16921         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16922         when small.
16924         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16925         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16926         New macro.
16927         [__LINUX_KERNEL_VERSION >= 0x040300]
16928         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16929         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16930         Likewise.
16931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16932         Likewise.
16933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16934         Likewise.
16935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16936         Likewise.
16937         [__LINUX_KERNEL_VERSION >= 0x040300]
16938         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16939         [__LINUX_KERNEL_VERSION >= 0x040300]
16940         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16941         [__LINUX_KERNEL_VERSION >= 0x040300]
16942         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16943         [__LINUX_KERNEL_VERSION >= 0x040300]
16944         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16945         [__LINUX_KERNEL_VERSION >= 0x040300]
16946         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16948         Likewise.
16949         [__LINUX_KERNEL_VERSION >= 0x040300]
16950         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16952         Likewise.
16953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16954         Likewise.
16955         [__LINUX_KERNEL_VERSION >= 0x040300]
16956         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16958         Likewise.
16959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16960         Likewise.
16961         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16963         Likewise.
16964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16965         Likewise.
16966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16967         Likewise.
16968         [__LINUX_KERNEL_VERSION >= 0x040300]
16969         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16971         Likewise.
16972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16973         Likewise.
16974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16975         Likewise.
16976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16977         Likewise.
16978         [__LINUX_KERNEL_VERSION >= 0x040300]
16979         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16980         [__LINUX_KERNEL_VERSION >= 0x040300]
16981         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16982         [__LINUX_KERNEL_VERSION >= 0x040300]
16983         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16984         [__LINUX_KERNEL_VERSION >= 0x040300]
16985         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16986         [__LINUX_KERNEL_VERSION >= 0x040300]
16987         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16989         Likewise.
16990         [__LINUX_KERNEL_VERSION >= 0x040300]
16991         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16993         Likewise.
16994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16995         Likewise.
16996         [__LINUX_KERNEL_VERSION >= 0x040300]
16997         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16999         Likewise.
17000         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17001         Likewise.
17002         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17003         (__ASSUME_SOCKET_SYSCALL): Likewise.
17004         (__ASSUME_BIND_SYSCALL): Likewise.
17005         (__ASSUME_CONNECT_SYSCALL): Likewise.
17006         (__ASSUME_LISTEN_SYSCALL): Likewise.
17007         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17008         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17009         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17010         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17011         (__ASSUME_SEND_SYSCALL): Likewise.
17012         (__ASSUME_SENDTO_SYSCALL): Likewise.
17013         (__ASSUME_RECV_SYSCALL): Likewise.
17014         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17015         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17016         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17017         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17018         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17019         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17020         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17021         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17022         Likewise.
17023         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17024         Likewise.
17025         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17026         Likewise.
17027         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17028         Likewise.
17029         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17030         Likewise.
17031         [__LINUX_KERNEL_VERSION >= 0x020625]
17032         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17033         [__LINUX_KERNEL_VERSION >= 0x020625]
17034         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17035         [__LINUX_KERNEL_VERSION >= 0x020625]
17036         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17037         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17038         Likewise.
17039         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17040         Likewise.
17041         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17042         Likewise.
17043         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17044         Likewise.
17045         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17046         Likewise.
17047         [__LINUX_KERNEL_VERSION >= 0x020625]
17048         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17049         [__LINUX_KERNEL_VERSION >= 0x020625]
17050         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17051         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17052         Likewise.
17053         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17054         Likewise.
17056 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17058         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17059         record the current if the current ABI and CPU support the FP64
17060         extension.
17061         (has-modd-spreg): Define to record the current if the current ABI and
17062         CPU support 32-bit floating point values in odd FPU registers.
17063         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17064         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17065         $(has-modd-spreg) equals yes.
17066         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17067         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17068         $(has-modd-spreg) equal yes.
17070 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17072         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17073         basename.
17075 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17077         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17078         (bench-string): ... here.
17079         (bench): Add bench-string.
17080         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17081         to *-benchset to reflect what they are.
17082         (benchset): Adjust.
17084         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17085         cos-inputs.
17087 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17089         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17090         __attribute__ ((__simd__)) for vector math function declarations.
17092 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17094         Fix typo in strncat, wcsncat manual entries
17095         * manual/string.texi (Copying and Concatenation): Fix typos in
17096         sample implementations of strncat and wcsncat, by having them use
17097         the old value of the destination length, not the new one.
17099 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17101         [BZ #16961]
17102         [BZ #16962]
17103         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17104         string on the stack for strtod.
17105         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17106         a string on the stack for strtof.
17107         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17108         constructing a string on the stack for strtold.
17109         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17110         __strtold_nan to GLIBC_PRIVATE.
17111         * math/test-nan-overflow.c: New file.
17112         * math/test-nan-payload.c: Likewise.
17113         * math/Makefile (tests): Add test-nan-overflow and
17114         test-nan-payload.
17116 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17118         Consistency about byte vs character in string.texi
17119         * manual/string.texi (String and Array Utilities):
17120         Distinguish more carefully among bytes, multibyte characters,
17121         and wide characters.  Use "byte" when talking about C 'char',
17122         to distinguish it more clearly from multibyte characters.
17123         Say "wide character" or "multibyte character" instead of
17124         "character", when a wide or multibyte character is intended.
17125         Similarly for "multibyte string" versus "string".
17126         Define these terms more carefully.
17128 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17130         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17131         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17132         Likewise.
17133         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17134         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17135         * sysdeps/sh/math_private.h: New file.
17136         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17137         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17138         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17139         long double function name.
17140         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17141         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17142         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17146         Remove __finitel, __isinfl, and __isnanl.
17147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17148         Likewise.
17149         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17151         Remove __finitel.
17152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17153         Likewise.
17154         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17156 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17158         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17159         installed libmvec_nonshared.a.
17161 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17163         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17164         (sysdep_routines): Likewise.
17165         (sysdep-rtld-routines): Likewise.
17166         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17167         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17168         * sysdeps/powerpc/Versions: Added new
17169         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17170         * sysdeps/powerpc/hwcapinfo.c: New file.
17171         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17172         and parse hwcap, hwcap2 and platform number information.
17173         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17174         to store HWCAP+HWCAP2 and platform number.
17175         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17176         for HWCAP+HWCAP2 and platform number in the TCB.
17177         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17178         the HWCAP, HWCAP2 and platform number in the TCB.
17179         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17180         (TLS_INIT_TP): Included calls to add the hwcap and
17181         at_platform values in the TCB in TP initialization.
17182         (TLS_DEFINE_INIT_TP): Likewise.
17183         (THREAD_GET_HWCAP): New macro.
17184         (THREAD_SET_HWCAP): Likewise.
17185         (THREAD_GET_AT_PLATFORM): Likewise.
17186         (THREAD_SET_AT_PLATFORM): Likewise.
17187         * sysdeps/powerpc/powerpc32/dl-machine.h:
17188         (dl_platform_init): New function that calls
17189         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17190         powerpc32.
17191         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17192         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17193         this functionality, static linking case.
17194         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17195         linking case.
17196         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17197         __parse_hwcap_and_convert_at_platform for the static linking case.
17198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17199         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17200         ABI list for GLIBC 2.23.
17201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17202         Likewise.
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17204         Likewise.
17206 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17208         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17209         * configure: Regenerate.
17210         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17211         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17213 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17215         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17216         * iconvdata/ibm933.c: Likewise.
17217         * iconvdata/ibm935.c: Likewise.
17218         * iconvdata/ibm937.c: Likewise.
17219         * iconvdata/ibm939.c: Likewise.
17221 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17223         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17224         pthread_join.
17225         * nptl/tst-cancel21.c (tf): Likewise.
17227 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17229         [BZ #19313]
17230         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17231         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17232         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17233         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17234         Likewise.
17235         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17236         Likewise.
17237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17238         Likewise.
17239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17240         Likewise.
17241         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17242         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17243         unsigned long int with __CPU_MASK_TYPE.
17245 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17247         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17249 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17251         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17252         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17253         t512.x.
17254         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17256 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17258         [BZ #19214]
17259         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17260         argument to return extended model.  Update family and model
17261         with extended family and model when family == 0x0f.
17262         (init_cpu_features): Updated.
17264 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17266         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17267         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17269         * sysdeps/mach/hurd/mmap64.c: New file.
17271 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17273         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17274         rights for its main user thread in NEWTASK.
17276 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17278         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17279         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17281 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17283         [BZ #14259]
17284         * Makeconfig: Rename localedir to complocaledir.
17285         Rename inst_localedir to inst_complocaledir.
17286         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17287         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17288         * configure.ac: Use libc_cv_complocaledir.
17289         * configure: Regenerate.
17290         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17291         -DCOMPLOCALEDIR.
17292         * locale/findlocale.c: Use COMPLOCALEDIR.
17293         * locale/loadarchive.c: Likewise.
17294         * locale/programs/locale.c: Likewise.
17295         * locale/programs/localedef.c: Likewise.
17296         * locale/programs/locarchive.c: Likewise.
17297         * localedata/Makefile: Use inst_complocaledir.
17298         * sysdeps/gnu/configure: Regenerate.
17299         * sysdeps/hppa/configure: Regenerate.
17300         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17301         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17303         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17304         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17305         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17306         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17308 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17310         [BZ #19058]
17311         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17312         AS_NEEDED.
17313         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17314         workaround.
17315         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17316         libmvec-static-only-routines): Added new file.
17317         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17319 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17321         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17322         of interrupted RPC instead of restoring it.
17324         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17325         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17326         libc_hidden_def.
17327         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17328         into initialized data instead of common. Define rtld_hidden_data_def.
17329         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17330         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17331         libc_hidden_def.
17332         (if_freenameindex): Add libc_hidden_weak.
17333         (if_nameindex): Add libc_hidden_weak.
17334         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17335         __open64.
17336         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17337         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17338         * sysdeps/mach/nanosleep.c: Include <time.h>
17339         (__nanosleep): Rename to __libc_nanosleep.
17340         (__nanosleep): Add weak_alias.
17341         (nanosleep): Update alias.
17343 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17345         * stdlib/strtod_nan.c: New file.
17346         * stdlib/strtod_nan_double.h: Likewise.
17347         * stdlib/strtod_nan_float.h: Likewise.
17348         * stdlib/strtod_nan_main.c: Likewise.
17349         * stdlib/strtod_nan_narrow.h: Likewise.
17350         * stdlib/strtod_nan_wide.h: Likewise.
17351         * stdlib/strtof_nan.c: Likewise.
17352         * stdlib/strtold_nan.c: Likewise.
17353         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17354         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17355         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17356         * wcsmbs/wcstod_nan.c: Likewise.
17357         * wcsmbs/wcstof_nan.c: Likewise.
17358         * wcsmbs/wcstold_nan.c: Likewise.
17359         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17360         strtold_nan.
17361         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17362         wcstof_nan.
17363         * include/stdlib.h (__strtof_nan): Declare and use
17364         libc_hidden_proto.
17365         (__strtod_nan): Likewise.
17366         (__strtold_nan): Likewise.
17367         (__wcstof_nan): Likewise.
17368         (__wcstod_nan): Likewise.
17369         (__wcstold_nan): Likewise.
17370         * include/wchar.h (____wcstoull_l_internal): Declare.
17371         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17372         (____strtoull_l_internal): Remove declaration.
17373         (STRTOF_NAN): Define macro.
17374         (SET_MANTISSA): Remove macro.
17375         (STRTOULL): Likewise.
17376         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17377         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17378         (STRTOF_NAN): Define macro.
17379         (SET_MANTISSA): Remove macro.
17380         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17381         (SET_MANTISSA): Remove macro.
17382         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17383         macro.
17384         (SET_MANTISSA): Remove macro.
17385         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17386         macro.
17387         (SET_MANTISSA): Remove macro.
17388         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17389         (SET_MANTISSA): Remove macro.
17390         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17391         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17392         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17394         [BZ #19266]
17395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17396         upper case and lower case letters inside NAN(), not using TOLOWER.
17397         * stdlib/tst-strtod-nan-locale-main.c: New file.
17398         * stdlib/tst-strtod-nan-locale.c: Likewise.
17399         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17400         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17401         Depend on $(gen-locales).
17402         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17403         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17404         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17405         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17406         Depend on $(gen-locales).
17407         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17409 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17411         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17413         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17415         __finitel, __isinfl, and __isnanl.
17416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17417         Likewise.
17418         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17420         __finitel.
17421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17422         Likewise.
17423         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17425 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17427         * malloc/memusage.c (me): Remove redundant getenv call.
17429 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17431         [BZ #19143]
17432         [BZ #19164]
17433         * nptl/check-cpuset.h: Remove.
17434         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17435         Remove CPU set size check.
17436         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17437         Likewise.
17438         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17439         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17440         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17441         (__pthread_setaffinity_new): Remove CPU set size check.
17442         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17443         (__kernel_cpumask_size): Remove.
17444         (__sched_setaffinity_new): Remove CPU set size check.
17445         * manual/threads.texi (Default Thread Attributes): Remove stale
17446         reference to check_cpuset_attr, determine_cpumask_size in comment.
17447         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17448         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17449         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17450         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17451         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17452         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17453         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17454         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17455         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17456         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17457         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17458         skeleton test file.
17459         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17460         tst-affinity-pid.
17462 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17464         * scripts/update-abilist.sh: New file.
17465         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17466         * Makerules (update-all-abi-%, update-all-abi)
17467         (subdir_update-all-abi): New targets.
17468         * elf/Makefile (update-all-abi): New target.
17470 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17472         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17473         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17474         (__libc_lock_define_initialized): Use it.
17475         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17476         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17477         * malloc/malloc.c (main_arena): Likewise.
17478         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17479         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17481 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17483         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17484         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17485         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17486         (PTRACE_O_MASK): Update value.
17487         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17488         New value in enum __ptrace_setoptions.
17489         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17490         (PTRACE_O_MASK): Update value.
17491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17492         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17493         (PTRACE_O_MASK): Update value.
17494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17495         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17496         (PTRACE_O_MASK): Update value.
17497         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17498         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17499         (PTRACE_O_MASK): Update value.
17500         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17501         New value in enum __ptrace_setoptions.
17502         (PTRACE_O_MASK): Update value.
17503         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17504         New value in enum __ptrace_setoptions.
17505         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17506         (PTRACE_O_MASK): Update value.
17508         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17509         New macro.
17510         (PACKET_AUXDATA): Likewise.
17511         (PACKET_ORIGDEV): Likewise.
17512         (PACKET_VERSION): Likewise.
17513         (PACKET_HDRLEN): Likewise.
17514         (PACKET_RESERVE): Likewise.
17515         (PACKET_TX_RING): Likewise.
17516         (PACKET_LOSS): Likewise.
17517         (PACKET_VNET_HDR): Likewise.
17518         (PACKET_TX_TIMESTAMP): Likewise.
17519         (PACKET_TIMESTAMP): Likewise.
17520         (PACKET_FANOUT): Likewise.
17521         (PACKET_TX_HAS_OFF): Likewise.
17522         (PACKET_QDISC_BYPASS): Likewise.
17523         (PACKET_ROLLOVER_STATS): Likewise.
17524         (PACKET_FANOUT_DATA): Likewise.
17525         (PACKET_MR_UNICAST): Likewise.
17527         [BZ #19242]
17528         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17529         (TOUPPER): Likewise.
17530         * stdlib/tst-strtol-locale-main.c: New file.
17531         * stdlib/tst-strtol-locale.c: Likewise.
17532         * stdlib/Makefile (tests): Add tst-strtol-locale.
17533         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17534         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17535         Depend on $(gen-locales).
17536         * wcsmbs/tst-wcstol-locale.c: New file.
17537         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17538         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17539         tr_TR.ISO-8859-9.
17540         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17541         Depend on $(gen-locales).
17543 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17545         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17546         __glibc_likely instead of __builtin_expect.  After falling back to
17547         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17548         system interface to register the code pages as occupied.
17550 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17552         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17553         [!ARM_MATH_PRIVATE_H].
17554         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17555         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17556         [!HPPA_MATH_PRIVATE_H].
17557         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17558         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17559         to [!I386_MATH_PRIVATE_H].
17560         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17561         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17562         Change guard to [!M68K_MATH_PRIVATE_H].
17563         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17564         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17565         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17566         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17567         macro.
17568         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17569         [!MIPS_MATH_PRIVATE_H].
17570         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17571         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17572         [!NIO2_MATH_PRIVATE_H].
17573         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17574         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17575         [!TILE_MATH_PRIVATE_H].
17576         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17578         [BZ #15421]
17579         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17580         initialize with 0 and define as weak alias of __signgam.
17581         * include/math.h [!_ISOMAC] (__signgam): Declare.
17582         * math/Makefile (libm-calls): Add w_lgamma_compat.
17583         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17584         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17585         test-signgam-ullong-init.
17586         (tests-static): Add test-signgam-uchar-static,
17587         test-signgam-uchar-init-static, test-signgam-uint-static,
17588         test-signgam-uint-init-static, test-signgam-ullong-static and
17589         test-signgam-ullong-init-static.
17590         (CFLAGS-test-signgam-uchar.c): New variable.
17591         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17592         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17593         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17594         (CFLAGS-test-signgam-uint.c): Likewise.
17595         (CFLAGS-test-signgam-uint-init.c): Likewise.
17596         (CFLAGS-test-signgam-uint-static.c): Likewise.
17597         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17598         (CFLAGS-test-signgam-ullong.c): Likewise.
17599         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17600         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17601         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17602         * math/Versions (libm): Add GLIBC_2.23.
17603         * math/lgamma-compat.h: New file.
17604         * math/test-signgam-main.c: Likewise.
17605         * math/test-signgam-uchar-init-static.c: Likewise.
17606         * math/test-signgam-uchar-init.c: Likewise.
17607         * math/test-signgam-uchar-static.c: Likewise.
17608         * math/test-signgam-uchar.c: Likewise.
17609         * math/test-signgam-uint-init-static.c: Likewise.
17610         * math/test-signgam-uint-init.c: Likewise.
17611         * math/test-signgam-uint-static.c: Likewise.
17612         * math/test-signgam-uint.c: Likewise.
17613         * math/test-signgam-ullong-init-static.c: Likewise.
17614         * math/test-signgam-ullong-init.c: Likewise.
17615         * math/test-signgam-ullong-static.c: Likewise.
17616         * math/test-signgam-ullong.c: Likewise.
17617         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17618         wrapper of w_lgamma_main.c.
17619         * math/w_lgamma_compat.c: New file.
17620         * math/w_lgamma_compatf.c: Likewise.
17621         * math/w_lgamma_compatl.c: Likewise.
17622         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17623         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17624         defining compatibility symbols.
17625         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17626         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17627         wrapper of w_lgammaf_main.c.
17628         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17629         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17630         defining compatibility symbols.
17631         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17632         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17633         wrapper of w_lgammal_main.c.
17634         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17635         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17636         defining compatibility symbols.
17637         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17638         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17639         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17640         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17641         <lgamma-compat.h>.
17642         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17643         (__ieee754_gamma): Define as alias.
17644         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17645         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17646         <lgamma-compat.h>.
17647         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17648         (__ieee754_gammaf): Define as alias.
17649         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17650         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17651         <lgamma-compat.h>.
17652         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17653         (__ieee754_gammal): Define as alias.
17654         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17655         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17656         <math/w_lgamma_compat.c>.
17657         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17658         Define as alias of __lgamma_compat and use in defining lgammal.
17659         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17660         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17661         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17662         (USE_AS_COMPAT): New macro.
17663         (LGAMMA_OLD_VER): Undefine and redefine.
17664         (lgammal): Do not define here.
17665         (gammal): Only define here if [GAMMA_ALIAS].
17666         * conform/linknamespace.pl (@whitelist): Remove signgam.
17667         * sysdeps/nacl/libm.abilist: Update.
17668         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17670         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17671         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17672         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17673         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17675         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17676         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17677         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17678         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17679         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17681         Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17685         Likewise.
17686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17687         Likewise.
17688         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17690         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17691         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17692         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17694         Likewise.
17695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17696         Likewise.
17697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17699         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17701 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17703         [BZ #16364]
17704         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17705         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17707 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17709         * sysdeps/s390/fpu/bits/mathinline.h:
17710         Use __asm__ [__volatile__] instead of asm [volatile].
17711         * sysdeps/s390/abort-instr.h: Likewise.
17712         * sysdeps/s390/atomic-machine.h: Likewise.
17713         * sysdeps/s390/bits/string.h: Likewise.
17714         * sysdeps/s390/dl-tls.h: Likewise.
17715         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17716         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17717         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17718         * sysdeps/s390/fpu/fesetround.c: Likewise.
17719         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17720         * sysdeps/s390/fpu/s_fma.c: Likewise.
17721         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17722         * sysdeps/s390/memusage.h: Likewise.
17723         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17724         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17725         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17726         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17727         * sysdeps/s390/nptl/tls.h: Likewise.
17728         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17729         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17730         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17731         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17732         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17733         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17734         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17735         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17736         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17737         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17738         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17739         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17740         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17741         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17742         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17743         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17744         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17745         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17746         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17748         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17750         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17752 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17753             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17755         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17756         Add lwarx hint, and use macro for acquire instruction.
17757         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17758         Likewise.
17759         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17760         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17761         update to use new atomic macros.
17763 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17765         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17766         (__lll_trylock_elision): Fix setting of adapt_count.
17767         * sysdeps/unix/sysv/linux/powerpc/htm.h
17768         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17769         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17770         (_ABORT_SYSCALL): Renumber, and clarify definition.
17771         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17773 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17775         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17776         after system headers to prevent MIN/MAX redefinition.  Define
17777         HAVE_ALLOCA to preserve builtin alloca usage.
17779 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17782         static and don't set or restore rounding.
17783         (__cos)[IN_SINCOS]: Likewise.
17784         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17785         (__sincos): Set and restore rounding mode.  Remove check for infinite
17786         or NaN input.
17788         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17790         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17791         as used.
17793 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17795         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17797 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17799         * config.make.in (have-glob-dat-reloc): New.
17800         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17801         target supports GLOB_DAT relocaton. AC_SUBST.
17802         * configure: Regenerated.
17803         * elf/Makefile (tests): Add tst-prelink.
17804         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17805         (tst-prelink-ENV): New.
17806         ($(objpfx)tst-prelink-conflict.out): Likewise.
17807         ($(objpfx)tst-prelink-cmp.out): Likewise.
17808         * sysdeps/x86/tst-prelink.c: Moved to ...
17809         * elf/tst-prelink.c: Here.
17810         * sysdeps/x86/tst-prelink.exp: Moved to ...
17811         * elf/tst-prelink.exp: Here.
17812         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17813         (tst-prelink-ENV): Removed.
17814         ($(objpfx)tst-prelink-conflict.out): Likewise.
17815         ($(objpfx)tst-prelink-cmp.out): Likewise.
17816         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17818 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17820         [BZ #14551]
17821         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17822         (__mpn_construct_long_double): If high part overflows to infinity,
17823         set errno and recompute overflowed result of the correct sign.
17824         * sysdeps/ieee754/ldbl-128ibm/Makefile
17825         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17826         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17827         $(libm).
17828         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17830 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17832         [BZ #15479]
17833         [BZ #19238]
17834         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17835         floating-point state after first operation on input.  Restore full
17836         state rather than just rounding mode.
17837         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17838         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17839         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17841         [BZ #19235]
17842         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17843         add 0.5 to integer arguments.
17844         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17845         Likewise.
17846         (.LC2): New object.
17848 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17850         * scripts/pylintrc (reports): Set to no.
17852 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17854         * elf/dl-load.c (open_verify): Take new argument FD.
17855         Skip __open call if passed FD is not -1.
17856         (_dl_map_object, open_path): Update callers.
17857         * elf/dl-sysdep-open.h: New file.
17858         * elf/dl-load.c: Include it.
17859         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17860         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17861         * sysdeps/nacl/dl-sysdep-open.h: New file.
17862         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17863         from libc to rtld.
17865 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #19228]
17868         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17869         and restore full floating-point state.
17870         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17871         Likewise.
17872         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17873         Likewise.
17874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17875         Likewise.
17876         * math/test-nearbyint-except-2.c: New file.
17877         * math/Makefile (tests): Add test-nearbyint-except-2.
17879 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17881         [BZ #19178]
17882         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17883         (tst-prelink-ENV): New.
17884         ($(objpfx)tst-prelink-conflict.out): Likewise.
17885         ($(objpfx)tst-prelink-cmp.out): Likewise.
17886         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17887         * sysdeps/x86/tst-prelink.c: New file.
17888         * sysdeps/x86/tst-prelink.exp: Likewise.
17890 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17892         * math/auto-libm-test-in: Add another test of pow.
17893         * math/auto-libm-test-out: Regenerated.
17894         * math/libm-test.inc (pow_test_data): Add another test.
17896 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17898         [BZ #19219]
17899         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17900         weak_alias to nearbyintl.
17902 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17904         * sysdeps/aarch64/bits/string.h: New file.
17905         (_STRING_ARCH_unaligned): Define.
17907 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17909         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17910         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17911         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17912         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17915 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17917         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17918         for original name of the DSO.  Add it to the name list of the DSO
17919         if it is actually given.
17920         (_dl_map_object): Keep track of whether an audit module rewrote
17921         the file name.  If yes, pass the original name to
17922         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17923         debugging is enabled, log the change of the file name.
17924         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17925         _dl_map_object_from_fd.
17926         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17927         * elf/tst-audit11.c: New file
17928         * elf/tst-auditmod11.c: New file.
17929         * elf/tst-audit11mod1.c: New file.
17930         * elf/tst-audit11mod2.c: New file.
17931         * elf/tst-audit11mod2.map: New file.
17932         * elf/tst-audit12.c: New file
17933         * elf/tst-auditmod12.c: New file.
17934         * elf/tst-audit12mod1.c: New file.
17935         * elf/tst-audit12mod2.c: New file.
17936         * elf/tst-audit12mod2.map: New file.
17937         * elf/tst-audit12mod3.c: New file.
17939 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17941         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17942         Don't create weak aliases,
17943         because versioned symbols are created later.
17944         * sysdeps/s390/s390-32/setjmp.S
17945         (setjmp, _setjmp): Remove weak and rename to an unique name
17946         in SHARED case due to existing versioned symbols.
17947         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17948         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17949         (getcontext): Create weak alias only in non SHARED case.
17950         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17952 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17954         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17955         (__ASSUME_*_SYSCALL) Define new macros.
17956         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17957         Remove socketcall syscalls.
17958         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17959         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17960         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17961         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17962         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17963         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17965 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17967         [BZ #12926]
17968         Terminate process on invalid netlink response.
17969         * sysdeps/unix/sysv/linux/netlinkaccess.h
17970         (__netlink_assert_response): Declare.
17971         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17972         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17973         (sysdep_routines): Add netlink_assert_response.
17974         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17975         __netlink_assert_response.
17976         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17977         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17978         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17979         __netlink_assert_response.
17981 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17983         [BZ #19178]
17984         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17985         (RTYPE_CLASS_PLT): Likewise.
17986         (RTYPE_CLASS_COPY): Likewise.
17987         (RTYPE_CLASS_TLS): Likewise.
17988         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17989         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17990         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17991         DL_DEBUG_PRELINK.
17993 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17995         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17996         calls with argument -0.5.
17997         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17999         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18000         (libc_cv_z_nodlopen): Likewise.
18001         (libc_cv_z_initfirst): Likewise.
18002         * configure: Regenerated.
18004 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18006         Simplify abilist format to be line-based.
18007         * scripts/abilist.awk: Collect descriptors in the descs variable.
18008         (emit): Write descs variable and sort it
18009         externally, with sort.
18010         * sysdeps/**/*.abilist: Convert to new format.
18012 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18014         [BZ #11460]
18015         * io/Makefile (routines): Add fts64.
18016         (tests): Add tst-fts and tst-fts-lfs.
18017         (CFLAGS-fts64.c): New.
18018         * io/Versions (GLIBC_2.23): New.
18019         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18020         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18021         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18022         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18023         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18024         (FTSENT64): Likewise.
18025         (fts64_children): Likewise.
18026         (fts64_close): Likewise.
18027         (fts64_open): Likewise.
18028         (fts64_read): Likewise.
18029         (fts64_set): Likewise.
18030         * io/fts64.c: New file.
18031         * io/tst-fts.c: New test.
18032         * io/tst-fts-lfs.c: Likewise.
18033         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18034         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18035         fts64_set.
18036         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18037         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18038         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18039         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18040         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18041         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18042         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18043         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18044         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18045         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18046         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18047         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18048         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18055         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18056         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18057         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18058         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18059         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18062         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18063         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18065         * sysdeps/wordsize-64/fts.c: New file.
18066         * sysdeps/wordsize-64/fts64.c: Likewise.
18067         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18068         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18069         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18070         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18072 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18074         * math/libm-test.inc (NON_FINITE): New macro.
18075         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18076         * math/gen-libm-test.pl (show_exceptions): Add argument
18077         $non_finite.
18078         (parse_args): Update call to show_exceptions.
18079         * math/test-math-finite.h: New file.
18080         * math/test-math-no-finite.h: Likewise.
18081         * math/test-double-finite.c: Likewise.
18082         * math/test-float-finite.c: Likewise.
18083         * math/test-ldouble-finite.c: Likewise.
18084         * math/test-double.c: Include "test-math-no-finite.h".
18085         * math/test-float.c: Include "test-math-no-finite.h".
18086         * math/test-ldouble.c: Include "test-math-no-finite.h".
18087         * math/test-math-inline.h (TEST_FINITE): New macro.
18088         * math/test-math-vector.h (TEST_FINITE): Likewise.
18089         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18090         (libm-tests): Add test-float-finite and test-double-finite.
18091         ($(objpfx)test-float-finite.o): New dependency on
18092         $(objpfx)libm-test.stmp.
18093         ($(objpfx)test-double-finite.o): Likewise.
18094         ($(objpfx)test-ldouble-finite.o): Likewise.
18095         (libm-test-no-inline-cflags): New variable.
18096         (libm-test-finite-cflags): Likewise.
18097         (CFLAGS-test-float-finite.c): Likewise.
18098         (CFLAGS-test-double-finite.c): Likewise.
18099         (CFLAGS-test-ldouble-finite.c): Likewise.
18100         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18101         (CFLAGS-test-double.c): Likewise.
18102         (CFLAGS-test-ldouble.c): Likewise.
18104 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18106         * io/fcntl.c (__fcntl): Add ... to prototype.
18107         * misc/ioctl.c (__ioctl): Likewise.
18108         * misc/syscall.c (syscall): Likewise.
18110 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18112         * scripts/list-fixed-bugs.py: New file.
18114         [BZ #19213]
18115         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18116         returned for argument 1.
18117         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18118         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18119         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18120         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18121         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18122         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18124         [BZ #19211]
18125         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18126         __USE_XOPEN], not if [!__USE_ISOC99].
18127         (lgammaf): Likewise.
18128         (lgammal): Likewise.
18129         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18130         (gammaf): Likewise.
18131         (gammal): Likewise.
18132         * math/test-signgam-finite-c11.c: New file.
18133         * math/test-signgam-finite-c99.c: Likewise.
18134         * math/test-signgam-finite.c: Likewise.
18135         * math/Makefile (tests): Add test-signgam-finite,
18136         test-signgam-finite-c99 and test-signgam-finite-c11.
18137         (CFLAGS-test-signgam-finite.c): New variable.
18138         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18139         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18141         [BZ #19212]
18142         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18143         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18144         500].
18145         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18146         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18147         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18148         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18149         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18150         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18151         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18152         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18153         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18154         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18156         [BZ #19209]
18157         * math/bits/math-finite.h (ldexp): Remove declaration.
18158         (ldexpf): Likewise.
18159         (ldexpl): Likewise.
18161         [BZ #19205]
18162         * math/bits/math-finite.h (acosf): Condition declaration on
18163         [__USE_ISOC99].
18164         (acosl): Likewise.
18165         (acoshf): Likewise.
18166         (acoshl): Likewise.
18167         (asinf): Likewise.
18168         (asinl): Likewise.
18169         (atan2f): Likewise.
18170         (atan2l): Likewise.
18171         (atanhf): Likewise.
18172         (atanhl): Likewise.
18173         (coshf): Likewise.
18174         (coshl): Likewise.
18175         (expf): Likewise.
18176         (expl): Likewise.
18177         (fmodf): Likewise.
18178         (fmodl): Likewise.
18179         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18180         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18181         (j0l): Likewise.
18182         (y0f): Likewise.
18183         (y0l): Likewise.
18184         (j1f): Likewise.
18185         (j1l): Likewise.
18186         (y1f): Likewise.
18187         (y1l): Likewise.
18188         (jnf): Likewise.
18189         (jnl): Likewise.
18190         (ynf): Likewise.
18191         (ynl): Likewise.
18192         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18193         (lgammal_r): Likewise.
18194         (__lgamma_r_finite): New declaration.
18195         (__lgammaf_r_finite): Likewise.
18196         (__lgammal_r_finite): Likewise.
18197         (lgamma): Use __lgamma_r_finite.
18198         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18199         __lgammaf_r_finite.
18200         (lgammal): Condition definition on [__USE_ISOC99].  Use
18201         __lgammal_r_finite.
18202         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18203         __lgamma_r_finite.
18204         (gammaf): Condition definition on [__USE_ISOC99].  Use
18205         __lgammaf_r_finite.
18206         (gammal): Condition definition on [__USE_ISOC99].  Use
18207         __lgammal_r_finite.
18208         (logf): Condition declaration on [__USE_ISOC99].
18209         (logl): Likewise.
18210         (log10f): Likewise.
18211         (log10l): Likewise.
18212         (ldexpf): Likewise.
18213         (ldexpl): Likewise.
18214         (powf): Likewise.
18215         (powl): Likewise.
18216         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18217         __USE_ISOC99].
18218         (remainderf): Condition declaration on [__USE_ISOC99].
18219         (remainderl): Likewise.
18220         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18221         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18222         (scalbl): Likewise.
18223         (sinhf): Condition declaration on [__USE_ISOC99].
18224         (sinhl): Likewise.
18225         (sqrtf): Likewise.
18226         (sqrtl): Likewise.
18228 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18230         * sysdeps/arm/atomic-machine.h
18231         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18232         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18233         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18234         Remove conditional code.
18235         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18236         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18237         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18238         Change conditional to [__ASSEMBLER__].
18239         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18240         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18241         [!__ASSEMBLER__].
18242         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18243         code.
18244         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18245         conditional macro definitions.
18246         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18247         (__arch_compare_and_exchange_val_16_acq): Likewise.
18248         (__arch_compare_and_exchange_val_32_acq): Likewise.
18249         (atomic_exchange_and_add): Likewise.
18250         (atomic_add): Likewise.
18251         (atomic_add_negative): Likewise.
18252         (atomic_add_zero): Likewise.
18253         (atomic_bit_set): Likewise.
18254         (atomic_bit_test_set): Likewise.
18255         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18256         code unconditional.
18257         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18259         * math/test-math-errno.h: New file.
18260         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18261         empty.
18262         (TEST_ERRNO): New macro.
18263         (TEST_EXCEPTIONS): Likewise.
18264         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18265         (TEST_EXCEPTIONS): Likewise.
18266         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18267         * math/test-double.c: Include "test-math-errno.h".
18268         * math/test-float.c: Likewise.
18269         * math/test-ldouble.c: Likewise.
18270         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18271         code unconditional.
18272         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18273         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18274         unconditional.
18275         (test_errno): Only run code if TEST_ERRNO.
18276         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18278 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18280         * nptl/tst-once5.cc: Remove attribution.
18282 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18284         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18285         sqrt, tan, tanh, y0, y1 and yn.
18286         * math/auto-libm-test-out: Regenerated.
18287         * math/libm-test.inc (scalb_test_data): Add more tests.
18288         (scalbn_test_data): Likewise.
18289         (scalbln_test_data): Likewise.
18290         (signbit_test_data): Likewise.
18291         (sin_test_data): Likewise.
18292         (sincos_test_data): Likewise.
18293         (sinh_test_data): Likewise.
18294         (sqrt_test_data): Likewise.
18295         (tan_test_data): Likewise.
18296         (tanh_test_data): Likewise.
18297         (tgamma_test_data): Likewise.
18298         (y0_test_data): Likewise.
18299         (y1_test_data): Likewise.
18300         (yn_test_data): Likewise.
18301         (significand_test_data): Likewise.
18302         * sysdeps/i386/fpu/libm-test-ulps: Update.
18304 2015-11-03  David Kastrup  <dak@gnu.org>
18306         [BZ #18604]
18307         * assert/assert.h (assert): Don't macro-expand failed assertion
18308         expression in error message.
18309         * malloc/malloc.c (assert): Likewise.
18311 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18313         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18314         test.
18315         * configure: Regenerated.
18317 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18319         * math/libm-test.inc (modf_test_data): Add more tests.
18320         (nearbyint_test_data): Likewise.
18321         (nextafter_test_data): Likewise.
18322         (nexttoward_test_data): Likewise.
18323         (pow_test_data): Likewise.
18324         (remainder_test_data): Likewise.
18325         (remquo_test_data): Likewise.
18326         (rint_test_data): Likewise.
18328         [BZ #19201]
18329         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18330         Check for zero remainder in case of large exponents and ensure
18331         correct sign of result in that case.
18332         * math/libm-test.inc (remainder_test_data): Add more tests.
18334         [BZ #6799]
18335         * math/s_nextafter.c: Include <errno.h>.
18336         (__nextafter): Set errno on overflow and underflow.
18337         * math/s_nexttowardf.c: Include <errno.h>.
18338         (__nexttowardf): Set errno on overflow and underflow.
18339         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18340         (__nextafterl): Set errno on overflow and underflow.
18341         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18342         (__nexttoward): Set errno on overflow and underflow.
18343         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18344         (__nexttowardf): Set errno on overflow and underflow.
18345         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18346         (__nextafterf): Set errno on overflow and underflow.
18347         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18348         (__nextafterl): Set errno on overflow and underflow.
18349         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18350         (__nexttoward): Set errno on overflow and underflow.
18351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18352         (__nexttowardf): Set errno on overflow and underflow.
18353         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18354         (__nextafterl): Set errno on overflow and underflow.
18355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18356         (__nexttoward): Set errno on overflow and underflow.
18357         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18358         (__nexttowardf): Set errno on overflow and underflow.
18359         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18360         (__nexttoward): Set errno on overflow and underflow.
18361         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18362         (__nexttowardf): Set errno on overflow and underflow.
18363         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18364         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18365         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18366         (__nextafterl): Set errno on overflow and underflow.
18367         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18368         setting to be missing on overflow.  Add more tests.
18369         (nexttoward_test_data): Likewise.
18371         * configure.ac (libc_cv_initfini_array): Remove configure test.
18372         * configure: Regenerated.
18374 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #19189]
18377         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18378         non-finite argument handle arguments with negative sign.
18380         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18381         result from infinite argument.
18382         (j1_test_data): Likewise.
18383         (jn_test_data): Likewise.
18384         (y0_test_data): Likewise.
18385         (y1_test_data): Likewise.
18386         (yn_test_data): Likewise.
18388         [BZ #16171]
18389         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18390         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18391         * math/w_remainderf.c (dremf): Define as weak alias of
18392         __remainderf.
18393         * math/w_remainderl.c (dreml): Define as weak alias of
18394         __remainderl.
18395         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18396         __remainder.
18397         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18398         __remainderf.
18399         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18400         __remainderl.
18401         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18402         weak alias of remainderl.
18403         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18404         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18405         alias of __remainder.
18406         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18407         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18408         strong alias of __remainderl.
18409         (dreml): Use long_double_symbol.
18410         * math/Makefile (libm-calls): Remove w_drem.
18411         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18412         (CFLAGS-nldbl-drem.c): Remove variable.
18413         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18414         * math/w_drem.c: Remove file.
18415         * math/w_dremf.c: Likewise.
18416         * math/w_dreml.c: Likewise.
18417         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18418         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18419         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18421         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18422         * sysdeps/i386/configure: Regenerated.
18423         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18424         * sysdeps/x86_64/configure: Regenerated.
18426         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18427         test.
18428         (libc_cv_visibility_attribute): Likewise.
18429         (libc_cv_protected_data): Test unconditionally.
18430         (libc_cv_broken_visibility_attribute): Remove configure test.
18431         (libc_cv_have_sdata_section): Test unconditionally.
18432         * configure: Regenerated.
18434         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18435         * include/scratch_buffer.h: Include <stddef.h> instead of
18436         <libc-internal.h>.
18437         (struct scratch_buffer): Use max_align_t instead of
18438         libc_max_align_t.
18440 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18442         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18443         instead of extend_alloca.  Change control flow to avoid a goto.
18444         Remove assert which is trivially always true.
18446 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18448         [BZ #16068]
18449         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18450         (FE_ALL_EXCEPT_X86): New macro.
18451         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18452         FE_ALL_EXCEPT.  Ensure precision control is included in
18453         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18454         handle "denormal operand exception" and clear FZ and DAZ bits.
18455         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18456         (FE_ALL_EXCEPT_X86): New macro.
18457         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18458         FE_ALL_EXCEPT.  Ensure precision control is included in
18459         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18460         handle "denormal operand exception" and clear FZ and DAZ bits.
18461         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18462         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18463         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18464         test-fenv-x87 and test-fenv-sse-2.
18465         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18467         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18468         * math/test-double.h (BUILD_COMPLEX): New macro.
18469         * math/test-float.h (BUILD_COMPLEX): Likewise.
18470         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18472         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18473         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18474         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18476         instead of DBL_DENORM_MIN in comment.
18477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18478         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18480         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18482         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18484 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18486         [BZ# 19048]
18487         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18488         attached_threads member.
18489         (main_arena): Initialize attached_threads.
18490         * malloc/arena.c (list_lock): Update comment.
18491         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18492         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18493         (deattach_arena): New function.
18494         (_int_new_arena): Initialize arena reference count and deattach
18495         replaced arena.
18496         (get_free_list, reused_arena): Update reference count and deattach
18497         replaced arena.
18498         (arena_thread_freeres): Update arena reference count and only put
18499         unreferenced arenas on the free list.
18501 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18503         [BZ #19181]
18504         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18505         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18506         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18507         * math/test-fenv-clear-main.c: New file.
18508         * math/test-fenv-clear.c: Likewise.
18509         * math/Makefile (tests): Add test-fenv-clear.
18510         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18511         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18512         test-fenv-clear-sse.
18513         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18515         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18516         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18517         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18519 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18521         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18522         static libc.
18524 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18526         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18527         test.
18528         * sysdeps/i386/configure: Regenerated.
18529         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18530         test.
18531         * sysdeps/x86_64/configure: Regenerated.
18532         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18534         memset-avx2 unconditionally instead of conditionally on
18535         [$(config-cflags-avx2) = yes].
18536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18537         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18538         unconditional.
18539         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18540         * sysdeps/x86_64/multiarch/memset_chk.S
18541         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18542         to [IS_IN (libc) && SHARED].
18544 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18546         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18547         configure test.
18548         * sysdeps/arm/configure: Regenerated.
18549         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18550         Define variable if not already defined.
18552         [BZ #17404]
18553         * sysdeps/mips/atomic-machine.h
18554         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18555         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18556         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18558         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18559         unconditional.
18560         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18561         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18562         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18563         unconditional.
18564         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18565         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18566         unconditional.
18567         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18568         * stdlib/setenv.c
18569         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18570         code unconditional.
18571         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18572         Remove conditional code.
18573         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18574         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18575         unconditional.
18576         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18577         code.
18578         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18579         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18580         unconditional.
18581         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18582         code.
18583         * sysdeps/ieee754/ldbl-128/k_tanl.c
18584         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18585         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18586         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18587         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18588         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18589         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18590         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18591         unconditional.
18592         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18593         code.
18594         * sysdeps/ieee754/ldbl-96/k_tanl.c
18595         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18596         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18598         * nptl/tst-initializers1-c11.c: New file.
18599         * nptl/tst-initializers1-gnu11.c: Likewise.
18600         * nptl/Makefile (tests): Add these new tests.
18601         (CFLAGS-tst-initializers1-c11.c): New variable.
18602         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18604         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18605         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18606         instead of -std=gnu99.
18607         * configure.ac (systemtap): Test with -std=gnu11 instead of
18608         -std=gnu99.
18609         * configure: Regenerated.
18610         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18611         in compilation command in comment.
18613         * sysdeps/nptl/configure.ac: Remove file.
18614         * sysdeps/nptl/configure: Remove generated file.
18615         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18616         * configure: Regenerated.
18617         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18618         * config.make.in (have-forced-unwind): Remove variable.
18619         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18620         unconditional.
18621         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18622         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18623         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18624         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18625         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18626         unconditional.
18628 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18630         [BZ #19174]
18631         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18632         .skip_lock_out_of_tbegin_retries.
18633         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18634         (__lll_lock_elision): Likewise, and respect a value of
18635         try_tbegin <= 0.
18637 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18639         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18640         statement.
18642 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18644         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18645         variable.
18646         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18647         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18649         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18650         of -std=c1x -D_ISOC11_SOURCE.
18652         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18653         * configure: Regenerated.
18654         * manual/install.texi (Tools for Compilation): Document
18655         requirement for GCC 4.7 or later.
18656         * INSTALL: Regenerated.
18658 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18660         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18661         on CNT to a conditional jump to 'puntdata'.
18663 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18665         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18666         (libc_cv_gcc_tls_model_attr): Likewise.
18667         * configure: Regenerated.
18669         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18670         * configure: Regenerated.
18671         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18673 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18675         * configure.ac (old_glibc_headers): Remove configure test.
18676         * configure: Regenerated.
18677         * config.make.in (old-glibc-headers): Remove variable.
18678         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18679         (install): Remove dependency on remove-old-headers.
18680         (headers2_0): Remove variable.
18681         (remove-old-headers): Remove rule.
18683         * configure.ac (libc_cv_dot_text): Remove configure test.
18684         (libc_cv_asm_set_directive): Use .text instead of
18685         ${libc_cv_dot_text} in configure test.
18686         * configure: Regenerated.
18688 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18690         [BZ #19168]
18691         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18693 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18695         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18696         not support static linking.
18697         * configure: Regenerate.
18699 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18701         * math/libm-test.inc (check_float_internal): Do not special-case
18702         errors up to 0.5 ulp.
18704         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18705         log2.
18706         * math/auto-libm-test-out: Regenerated.
18707         * math/libm-test.inc (MAX_EXP): New macro.
18708         (ilogb_test_data): Add more tests.
18709         (isfinite_test_data): Likewise.
18710         (isgreater_test_data): Likewise.
18711         (isgreaterequal_test_data): Likewise.
18712         (isinf_test_data): Likewise.
18713         (isless_test_data): Likewise.
18714         (islessequal_test_data): Likewise.
18715         (islessgreater_test_data): Likewise.
18716         (isnan_test_data): Likewise.
18717         (isnormal_test_data): Likewise.
18718         (issignaling_test_data): Likewise.
18719         (isunordered_test_data): Likewise.
18720         (j0_test_data): Likewise.
18721         (j1_test_data): Likewise.
18722         (jn_test_data): Likewise.
18723         (lgamma_test_data): Likewise.
18724         (log_test_data): Likewise.
18725         (log10_test_data): Likewise.
18726         (log1p_test_data): Likewise.
18727         (log2_test_data): Likewise.
18728         (logb_test_data): Likewise.
18729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18731         [BZ #18611]
18732         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18733         avoid excess range and precision on underflow.
18734         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18735         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18736         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18737         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18738         underflow.
18739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18741         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18742         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18743         * math/auto-libm-test-in: Do not allow missing errno setting for
18744         tests of j1 and jn.
18745         * math/auto-libm-test-out: Regenerated.
18747 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #15491]
18750         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18751         floating-point environment instead of clearing all exceptions.
18752         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18753         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18754         merging in "invalid" exceptions from frndint.
18755         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18756         * math/test-nearbyint-except.c: New file.
18757         * math/Makefile (tests): Add test-nearbyint-except.
18759 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18761         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18763         * sysdeps/tile/libm-test-ulps: Regenerated.
18765 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18768         (__NR_sync_file_range2): Assume it is always defined.
18769         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18770         (__NR_sync_file_range): Assume it is always defined.
18772 2015-10-22  Andreas Schwab  <schwab@suse.de>
18774         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18775         INTERNAL_SYSCALL_ERRNO.
18776         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18777         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18778         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18779         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18780         Likewise.
18781         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18783 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18785         * io/tst-fcntl.c (fd): New static variable.
18786         (do_prepare): Open temporary file here....
18787         (do_test): ...not here.
18789         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18791 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18793         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18794         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18795         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18796         Moved before "#ifdef __ASSEMBLER__".
18798 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18800         [BZ #19156]
18801         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18802         arguments very close to 0.
18804 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18806         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18807         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18809 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18811         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18812         New.  Defined for GCC 5 and above when not compiling for
18813         profiling.
18814         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18816         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18817         Renamed to ...
18818         (CFLAGS-epoll_pwait.o): This.
18819         (CFLAGS-mmap.c): Renamed to ...
18820         (CFLAGS-mmap.o): This.
18821         (CFLAGS-mmap64.c): Renamed to ...
18822         (CFLAGS-mmap64.o): This.
18823         (CFLAGS-epoll_pwait.os): New.
18824         (CFLAGS-mmap.os): Likewise.
18825         (CFLAGS-mmap64.os): Likewise.
18826         (CFLAGS-semtimedop.os): Likewise.
18827         (CFLAGS-semtimedop.c): Renamed to ...
18828         (CFLAGS-semtimedop.o): This.
18830 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18832         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18833         warning message.
18835 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18837         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18838         * Makefile ($(objpfx)c++-types-check.out): Filter out
18839         $(+gccwarn-c) instead of -Wstrict-prototypes.
18841         * io/fts.c (fts_open): Convert to prototype-style function
18842         definition.
18843         * malloc/mcheck.c (mcheck): Likewise.
18844         (mcheck_pedantic): Likewise.
18845         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18846         internal_function.
18847         (re_search_internal): Likewise.
18848         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18849         prototype-style function definition.
18850         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18851         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18852         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18853         (xdr_utmpptr): Likewise.
18854         (xdr_utmparr): Likewise.
18855         (xdr_utmpidle): Likewise.
18856         (xdr_utmpidleptr): Likewise.
18857         (xdr_utmpidlearr): Likewise.
18859         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18860         log, log10 and log2.
18861         * math/auto-libm-test-out: Regenerated.
18862         * math/libm-test.inc (fmod_test_data): Add more tests.
18863         (fpclassify_test_data): Likewise.
18864         (frexp_test_data): Likewise.
18865         (hypot_test_data): Likewise.
18866         (ilogb_test_data): Likewise.
18868 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18870         * debug/fortify_fail.c (__fortify_fail): Convert to
18871         prototype-style function definition.  Use internal_function.
18872         * libio/genops.c (save_for_backup): Convert to prototype-style
18873         function definition.
18874         * libio/wgenops.c (save_for_wbackup): Likewise.
18875         * login/grantpt.c (grantpt): Likewise.
18876         * login/ptsname.c (ptsname): Likewise.
18877         (__ptsname_r): Likewise.
18878         * login/unlockpt.c (unlockpt): Likewise.
18879         * mach/msgserver.c (__mach_msg_server): Likewise.
18880         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18881         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18882         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18883         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18884         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18885         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18886         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18887         Likewise.
18888         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18889         internal_function.
18890         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18891         prototype-style function definition.
18892         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18893         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18894         (__pthread_create_2_0): Likewise.
18895         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18896         * nptl/register-atfork.c (__register_atfork): Likewise.
18897         * posix/glob.c (glob): Likewise.
18898         * posix/regcomp.c (re_comp): Likewise.
18899         * posix/regexec.c (re_exec): Likewise.
18900         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18901         [!__STDC__]: Remove conditional code.
18902         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18903         [!__STDC__]: Remove conditional code.
18904         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18905         [!__STDC__]: Remove conditional code.
18906         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18907         [!__STDC__]: Remove conditional code.
18908         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18909         [!__STDC__]: Remove conditional code.
18910         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18911         [!__STDC__]: Remove conditional code.
18912         * stdlib/mul.c [__STDC__]: Make code unconditional.
18913         [!__STDC__]: Remove conditional code.
18914         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18915         [!__STDC__]: Remove conditional code.
18916         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18917         [!__STDC__]: Remove conditional code.
18918         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18919         function definition.
18920         (STRTOF): Likewise.
18921         * stdlib/strtod_l.c (__STRTOF): Likewise.
18922         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18923         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18924         (__strtol_l): Likewise.
18925         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18926         [!__STDC__]: Remove conditional code.
18927         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18928         definition.
18929         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18930         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18931         type.
18932         (__strcasecmp): Convert to prototype-style function definition.
18933         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18934         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18935         type.
18936         (__strncasecmp): Convert to prototype-style function definition.
18937         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18938         * sunrpc/xdr.c (xdr_union): Likewise.
18939         * sunrpc/xdr_array.c (xdr_array): Likewise.
18940         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18941         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18942         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18943         Likewise.
18944         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18945         Likewise.
18946         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18947         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18948         Likewise.
18949         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18950         (LOCALE_PARAM_PROTO): Likewise.
18951         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18952         argument type.
18953         (ut_argument_spec): Remove macro.
18954         (ut_argument_spec_iso): Rename to ut_argument_spec.
18955         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18956         prototype-style function definition.
18957         (memcpy_uppcase): Likewise.
18958         (__strftime_internal): Likewise.
18959         (my_strftime): Likewise.
18960         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18961         (LOCALE_PARAM_DECL): Likewise.
18962         [_LIBC] (LOCALE_PARAM): Include argument type.
18963         (__strptime_internal): Convert to prototype-style function
18964         definition.
18965         (strptime): Likewise.
18966         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18967         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18968         type.
18969         (__wcscasecmp): Convert to prototype-style function definition.
18970         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18971         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18972         type.
18973         (__wcsncasecmp): Convert to prototype-style function definition.
18975         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18976         function definition.
18977         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18978         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18979         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18980         * elf/dl-minimal.c (_itoa): Likewise.
18981         * hurd/hurdmalloc.c (malloc): Likewise.
18982         (free): Likewise.
18983         (realloc): Likewise.
18984         * inet/inet6_option.c (inet6_option_space): Likewise.
18985         (inet6_option_init): Likewise.
18986         (inet6_option_append): Likewise.
18987         (inet6_option_alloc): Likewise.
18988         (inet6_option_next): Likewise.
18989         (inet6_option_find): Likewise.
18990         * io/ftw.c (FTW_NAME): Likewise.
18991         (NFTW_NAME): Likewise.
18992         (NFTW_NEW_NAME): Likewise.
18993         (NFTW_OLD_NAME): Likewise.
18994         * libio/iofwide.c (_IO_fwide): Likewise.
18995         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18996         (_IO_str_init_static): Likewise.
18997         (_IO_str_init_readonly): Likewise.
18998         (_IO_str_overflow): Likewise.
18999         (_IO_str_underflow): Likewise.
19000         (_IO_str_count): Likewise.
19001         (_IO_str_seekoff): Likewise.
19002         (_IO_str_pbackfail): Likewise.
19003         (_IO_str_finish): Likewise.
19004         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19005         (_IO_wstr_overflow): Likewise.
19006         (_IO_wstr_underflow): Likewise.
19007         (_IO_wstr_count): Likewise.
19008         (_IO_wstr_seekoff): Likewise.
19009         (_IO_wstr_pbackfail): Likewise.
19010         (_IO_wstr_finish): Likewise.
19011         * locale/programs/localedef.c (normalize_codeset): Likewise.
19012         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19013         (add_locales_to_archive): Likewise.
19014         (delete_locales_from_archive): Likewise.
19015         * malloc/malloc.c (__libc_mallinfo): Likewise.
19016         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19017         * misc/tsearch.c (__tfind): Likewise.
19018         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19019         * nptl/pthread_attr_getdetachstate.c
19020         (__pthread_attr_getdetachstate): Likewise.
19021         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19022         Likewise.
19023         * nptl/pthread_attr_getinheritsched.c
19024         (__pthread_attr_getinheritsched): Likewise.
19025         * nptl/pthread_attr_getschedparam.c
19026         (__pthread_attr_getschedparam): Likewise.
19027         * nptl/pthread_attr_getschedpolicy.c
19028         (__pthread_attr_getschedpolicy): Likewise.
19029         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19030         Likewise.
19031         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19032         Likewise.
19033         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19034         Likewise.
19035         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19036         Likewise.
19037         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19038         (__pthread_attr_init_2_0): Likewise.
19039         * nptl/pthread_attr_setdetachstate.c
19040         (__pthread_attr_setdetachstate): Likewise.
19041         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19042         Likewise.
19043         * nptl/pthread_attr_setinheritsched.c
19044         (__pthread_attr_setinheritsched): Likewise.
19045         * nptl/pthread_attr_setschedparam.c
19046         (__pthread_attr_setschedparam): Likewise.
19047         * nptl/pthread_attr_setschedpolicy.c
19048         (__pthread_attr_setschedpolicy): Likewise.
19049         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19050         Likewise.
19051         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19052         Likewise.
19053         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19054         Likewise.
19055         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19056         Likewise.
19057         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19058         Likewise.
19059         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19060         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19061         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19062         use internal_function.
19063         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19064         prototype-style function definition.
19065         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19066         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19067         internal_function.
19068         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19069         Convert to prototype-style function definition.
19070         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19071         Likewise.
19072         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19073         Likewise.
19074         (__pthread_mutex_unlock): Likewise.
19075         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19076         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19077         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19078         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19079         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19080         * nss/makedb.c (process_input): Likewise.
19081         * posix/fnmatch.c (__strchrnul): Likewise.
19082         (__wcschrnul): Likewise.
19083         (fnmatch): Likewise.
19084         * posix/fnmatch_loop.c (FCT): Likewise.
19085         * posix/glob.c (globfree): Likewise.
19086         (__glob_pattern_type): Likewise.
19087         (__glob_pattern_p): Likewise.
19088         * posix/regcomp.c (re_compile_pattern): Likewise.
19089         (re_set_syntax): Likewise.
19090         (re_compile_fastmap): Likewise.
19091         (regcomp): Likewise.
19092         (regerror): Likewise.
19093         (regfree): Likewise.
19094         * posix/regexec.c (regexec): Likewise.
19095         (re_match): Likewise.
19096         (re_search): Likewise.
19097         (re_match_2): Likewise.
19098         (re_search_2): Likewise.
19099         (re_search_stub): Likewise.  Use internal_function
19100         (re_copy_regs): Likewise.
19101         (re_set_registers): Convert to prototype-style function
19102         definition.
19103         (prune_impossible_nodes): Likewise.  Use internal_function.
19104         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19105         prototype-style function definition.
19106         (inet_net_pton_ipv4): Likewise.
19107         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19108         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19109         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19110         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19111         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19112         Make variadic.
19113         * time/strptime_l.c (localtime_r): Convert to prototype-style
19114         function definition.
19115         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19116         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19117         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19118         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19120         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19121         definition.
19122         (_ufc_doit_r): Likewise.
19123         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19124         (_ufc_output_conversion_r): Likewise.
19125         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19126         * inet/rcmd.c (rcmd_af): Likewise.
19127         (rcmd): Likewise.
19128         (ruserok_af): Likewise.
19129         (ruserok): Likewise.
19130         (ruserok2_sa): Likewise.
19131         (ruserok_sa): Likewise.
19132         (iruserok_af): Likewise.
19133         (iruserok): Likewise.
19134         (__ivaliduser): Likewise.
19135         (__validuser2_sa): Likewise.
19136         * inet/rexec.c (rexec_af): Likewise.
19137         (rexec): Likewise.
19138         * inet/ruserpass.c (ruserpass): Likewise.
19139         * locale/programs/xmalloc.c (xcalloc): Likewise.
19140         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19141         * math/w_drem.c (__drem): Likewise.
19142         * math/w_dremf.c (__dremf): Likewise.
19143         * math/w_dreml.c (__dreml): Likewise.
19144         * misc/daemon.c (daemon): Likewise.
19145         * resolv/res_debug.c (p_fqnname): Likewise.
19146         * stdlib/div.c (div): Likewise.
19147         * string/memcmp.c (memcmp_bytes): Likewise.
19148         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19149         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19151         * crypt/cert.c (main): Convert to prototype-style function
19152         definition.
19153         * io/pipe.c (__pipe): Likewise.
19154         * io/pipe2.c (__pipe2): Likewise.
19155         * misc/futimesat.c (futimesat): Likewise.
19156         * misc/utimes.c (__utimes): Likewise.
19157         * posix/execve.c (__execve): Likewise.
19158         * posix/execvp.c (execvp): Likewise.
19159         * posix/execvpe.c (__execvpe): Likewise.
19160         * posix/fexecve.c (fexecve): Likewise.
19161         * socket/socketpair.c (socketpair): Likewise.
19162         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19163         * stdlib/erand48.c (erand48): Likewise.
19164         * stdlib/erand48_r.c (__erand48_r): Likewise.
19165         * stdlib/jrand48.c (jrand48): Likewise.
19166         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19167         * stdlib/lcong48.c (lcong48): Likewise.
19168         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19169         * stdlib/nrand48.c (nrand48): Likewise.
19170         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19171         * stdlib/seed48.c (seed48): Likewise.
19172         * stdlib/seed48_r.c (__seed48_r): Likewise.
19173         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19174         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19175         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19177 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19179         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19180         * configure: Regenerated.
19181         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19182         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19183         unconditional.
19184         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19185         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19186         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19187         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19188         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19189         unconditional.
19190         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19192         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19193         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19195         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19196         function definition.
19197         * crypt/crypt_util.c (__encrypt_r): Likewise.
19198         * libio/genops.c (_IO_no_init): Likewise.
19199         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19200         (_IO_old_fopencookie): Likewise.
19201         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19202         * libio/iogetline.c (_IO_getline): Likewise.
19203         (_IO_getline_info): Likewise.
19204         * libio/iogetwline.c (_IO_getwline): Likewise.
19205         (_IO_getwline_info): Likewise.
19206         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19207         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19208         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19209         (find_entry): Likewise.
19210         (iterate_table): Likewise.
19211         (lookup): Likewise.
19212         * login/forkpty.c (forkpty): Likewise.
19213         * misc/hsearch_r.c (__hsearch_r): Likewise.
19214         * misc/select.c (__select): Likewise.
19215         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19216         Likewise.
19217         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19218         Likewise.
19219         * nptl/old_pthread_cond_timedwait.c
19220         (__pthread_cond_timedwait_2_0): Likewise.
19221         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19222         * nptl/pthread_barrierattr_getpshared.c
19223         (pthread_barrierattr_getpshared): Likewise.
19224         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19225         Likewise.
19226         * nptl/pthread_mutex_setprioceiling.c
19227         (pthread_mutex_setprioceiling): Likewise.
19228         * nptl/pthread_mutexattr_getprioceiling.c
19229         (pthread_mutexattr_getprioceiling): Likewise.
19230         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19231         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19232         Likewise.
19233         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19234         Likewise.
19235         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19236         Likewise.
19237         * socket/recvfrom.c (__recvfrom): Likewise.
19238         * socket/sendto.c (__sendto): Likewise.
19239         * socket/setsockopt.c (__setsockopt): Likewise.
19240         * stdio-common/_itoa.c (_itoa): Likewise.
19241         * stdio-common/_itowa.c (_itowa): Likewise.
19242         * stdio-common/reg-printf.c (__register_printf_specifier):
19243         Likewise.
19244         (__register_printf_function): Likewise.
19245         * stdio-common/tempname.c (__path_search): Likewise.
19246         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19247         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19248         * stdlib/random_r.c (__initstate_r): Likewise.
19249         * stdlib/setenv.c (__add_to_environ): Likewise.
19250         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19251         * streams/getpmsg.c (getpmsg): Likewise.
19252         * streams/putmsg.c (putmsg): Likewise.
19253         * streams/putpmsg.c (putpmsg): Likewise.
19254         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19255         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19256         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19257         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19258         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19259         * sunrpc/svc_udp.c (cache_get): Likewise.
19260         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19261         * sysdeps/mach/hurd/getcwd.c
19262         (__canonicalize_directory_name_internal): Likewise.
19263         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19264         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19265         * sysdeps/mach/hurd/select.c (__select): Likewise.
19266         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19267         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19268         * sysdeps/sparc/nptl/pthread_barrier_init.c
19269         (__pthread_barrier_init): Likewise.
19270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19271         (__pthread_cond_timedwait): Likewise.
19272         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19273         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19274         Likewise.
19275         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19276         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19277         Likewise.
19278         * sysvipc/semtimedop.c (semtimedop): Likewise.
19279         * time/setitimer.c (__setitimer): Likewise.
19280         * time/strftime_l.c (emacs_strftime): Likewise.
19282 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19284         * config.make.in (have-ssp): Delete.
19285         (stack-protector): New variable.
19286         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19287         cache test for -fstack-protector-strong.  Export stack_protector to
19288         the best ssp flag.
19289         * configure: Regenerated.
19290         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19291         * nscd/Makefile (CFLAGS-nscd): Likewise.
19292         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19294 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19296         [BZ #19122]
19297         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19298         attribute_hidden.
19300 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19302         [BZ #18743]
19303         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19304         code to...
19305         (ELIDE_LOCK): ...here.
19306         (__get_new_count): New function with part of the code from
19307         __elide_lock that updates the value of adapt_count after a
19308         transaction abort.
19309         (__elided_trylock): Moved this code to...
19310         (ELIDE_TRYLOCK): ...here.
19312 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19314         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19315         * configure: Regenerate.
19316         * INSTALL: Regenerate.
19317         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19318         and tweak grammar.
19320 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19322         * login/programs/pt_chown.c: Include signal.h
19323         (main): Clear any signal mask from the parent process.
19325 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19327         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19328         * configure: Regenerated.
19329         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19330         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19331         $(gnu89-inline-CFLAGS).
19333         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19334         test.
19335         (libc_cv_asm_weakext_directive): Likewise.
19336         * configure: Regenerated.
19337         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19338         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19339         * include/libc-symbols.h
19340         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19341         #error.
19342         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19343         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19345         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19346         prototype-style function definition.
19347         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19348         * sysdeps/i386/ffs.c (__ffs): Likewise.
19349         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19350         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19351         Likewise.
19352         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19353         Likewise.
19354         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19355         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19356         Likewise.
19357         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19358         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19359         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19360         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19361         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19362         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19363         * sysdeps/mach/hurd/access.c (__access): Likewise.
19364         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19365         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19366         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19367         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19368         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19369         (cthread_getspecific): Likewise.
19370         (cthread_setspecific): Likewise.
19371         (__libc_getspecific): Likewise.
19372         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19373         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19374         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19375         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19376         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19377         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19378         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19379         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19380         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19381         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19382         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19383         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19384         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19385         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19386         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19387         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19388         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19389         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19390         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19391         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19392         * sysdeps/mach/hurd/link.c (__link): Likewise.
19393         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19394         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19395         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19396         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19397         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19398         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19399         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19400         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19401         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19402         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19403         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19404         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19405         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19406         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19407         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19408         * sysdeps/mach/hurd/send.c (__send): Likewise.
19409         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19410         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19411         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19412         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19413         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19414         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19415         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19416         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19417         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19418         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19419         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19420         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19421         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19422         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19423         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19424         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19425         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19426         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19427         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19428         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19429         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19430         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19431         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19432         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19433         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19434         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19435         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19436         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19437         * sysdeps/posix/alarm.c (alarm): Likewise.
19438         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19439         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19440         * sysdeps/posix/dup.c (__dup): Likewise.
19441         * sysdeps/posix/dup2.c (__dup2): Likewise.
19442         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19443         (main): Likewise.
19444         * sysdeps/posix/flock.c (__flock): Likewise.
19445         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19446         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19447         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19448         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19449         * sysdeps/posix/isatty.c (__isatty): Likewise.
19450         * sysdeps/posix/killpg.c (killpg): Likewise.
19451         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19452         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19453         * sysdeps/posix/raise.c (raise): Likewise.
19454         * sysdeps/posix/remove.c (remove): Likewise.
19455         * sysdeps/posix/rename.c (rename): Likewise.
19456         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19457         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19458         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19459         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19460         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19461         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19462         * sysdeps/posix/sigset.c (sigset): Likewise.
19463         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19464         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19465         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19466         * sysdeps/posix/time.c (time): Likewise.
19467         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19468         (ttyname): Likewise.
19469         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19470         * sysdeps/posix/utime.c (utime): Likewise.
19471         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19472         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19473         Likewise.
19474         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19475         (pthread_spin_trylock): Likewise.
19476         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19477         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19478         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19479         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19480         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19481         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19482         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19483         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19484         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19485         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19486         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19487         * sysdeps/s390/ffs.c (__ffs): Likewise.
19488         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19489         Likewise.
19490         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19491         Likewise.
19492         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19493         Likewise.
19494         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19495         (pthread_barrier_destroy): Likewise.
19496         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19497         (__pthread_barrier_wait): Likewise.
19498         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19499         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19500         (__pthread_barrier_wait): Likewise.
19501         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19502         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19503         (memcmp_not_common_alignment): Likewise.
19504         (MEMCMP): Likewise.
19505         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19506         (_wordcopy_fwd_dest_aligned): Likewise.
19507         (_wordcopy_bwd_aligned): Likewise.
19508         (_wordcopy_bwd_dest_aligned): Likewise.
19509         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19510         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19511         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19512         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19513         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19514         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19515         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19516         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19517         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19518         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19519         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19520         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19521         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19522         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19523         * sysdeps/unix/stime.c (stime): Likewise.
19524         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19525         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19526         Likewise.  Use internal_function.
19527         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19528         Convert to prototype-style function definition.
19529         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19530         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19531         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19532         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19533         Likewise.  Use internal_function.
19534         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19535         prototype-style function definition
19536         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19537         Likewise.
19538         (__getlogin_r): Likewise.
19539         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19540         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19541         (__pthread_cond_broadcast): Likewise.
19542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19543         (__pthread_cond_destroy): Likewise.
19544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19545         (__pthread_cond_init): Likewise.
19546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19547         (__pthread_cond_signal): Likewise.
19548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19549         (__pthread_cond_wait): Likewise.
19550         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19551         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19552         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19553         Likewise.
19554         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19555         Likewise.
19556         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19557         Likewise.
19558         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19559         Likewise.
19560         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19562         (__ftruncate64): Likewise.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19564         (truncate64): Likewise.
19565         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19566         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19567         (pthread_getcpuclockid): Likewise.
19568         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19569         Likewise.
19570         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19571         Likewise.
19572         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19577         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19578         (__libc_sigaction): Likewise.
19579         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19580         Likewise.
19581         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19582         (__sigprocmask): Likewise.
19583         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19584         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19585         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19586         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19587         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19588         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19589         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19590         Likewise.
19591         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19592         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19593         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19594         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19595         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19596         Likewise.
19597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19598         (__sigprocmask): Likewise.
19599         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19600         (cfgetispeed): Likewise.
19601         (cfsetospeed): Likewise.
19602         (cfsetispeed): Likewise.
19603         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19604         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19605         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19606         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19607         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19608         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19609         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19610         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19611         Likewise.
19612         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19613         Likewise.
19614         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19615         Likewise.
19616         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19617         Likewise.
19618         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19620 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19622         sunrpc: Rewrite with explicit TLS access using __thread.
19623         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19624         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19625         directly.
19626         (__rpc_thread_variables): Access thread_rpc_vars directly.
19627         Eliminate redundant assignment of the tvp variable.
19629 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19631         malloc: Rewrite with explicit TLS access using __thread.
19632         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19633         (tsd_setspecific, tsd_getspecific): Remove.
19634         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19635         (tsd_setspecific, tsd_getspecific): Likewise.
19636         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19637         (tsd_setspecific, tsd_getspecific): Likewise.
19638         * malloc/arena.c (thread_arena): New TLS variable.
19639         (arena_key): Remove variable.
19640         (arena_get): Use thread_arena.
19641         (arena_lookup): Remove macro.
19642         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19643         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19644         (_int_new_arena, get_free_list, reused_arena)
19645         (arena_thread_freeres): Use thread_arena.
19646         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19647         tsd_getspecific, tsd_setspecific from safety annotations.
19648         (Allocating Cleared Space): Remove arena_lookup from safety
19649         annotations.
19651 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19653         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19654         struct scratch_buffer instead of extend_alloca.
19656 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19658         * sysdeps/unix/sysv/linux/kernel-features.h
19659         (__ASSUME_SOCK_CLOEXEC): Remove.
19660         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19661         (__have_paccept): Remove unused macro.
19662         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19663         * misc/syslog.c (openlog_internal): Remove fallback code for
19664         !__ASSUME_SOCK_CLOEXEC.
19665         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19666         missing SOCK_CLOEXEC.
19667         * nscd/connections.c (have_sock_cloexec): Remove definition.
19668         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19669         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19670         !__ASSUME_SOCK_CLOEXEC.
19671         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19672         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19673         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19674         definition.
19675         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19676         code for !__ASSUME_SOCK_CLOEXEC.
19678 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19680         [BZ #18982]
19681         * manual/stdio.texi (Variable Arguments Output): Add portability
19682         note, explaining that vfprintf clobbers the va_list pointer.
19684 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19686         * math/libm-test.inc (fabs_test_data): Add more tests.
19687         (fdim_test_data): Likewise.
19688         (fma_test_data): Likewise.
19689         (fmax_test_data): Likewise.
19690         (fmin_test_data): Likewise.
19691         (fmod_test_data): Likewise.
19693 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19695         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19696         data.
19698 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19700         * math/libm-test.inc (ceil_test_data): Add more tests and more
19701         expectations for "inexact".
19702         (floor_test_data): Add more tests.
19703         (round_test_data): Likewise.
19704         (trunc_test_data): Likewise.
19706         * crypt/cert.c (good_bye): Convert to prototype-style function
19707         definition.
19708         (get8): Likewise.
19709         (put8): Likewise.
19710         * crypt/crypt-entry.c (crypt): Likewise.
19711         (__fcrypt): Likewise.
19712         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19713         (_ufc_set_bits): Likewise.
19714         (_ufc_clearmem): Likewise.
19715         (__init_des_r): Likewise.
19716         (shuffle_sb): Likewise.
19717         (shuffle_sb): Likewise.
19718         (_ufc_setup_salt_r): Likewise.
19719         (_ufc_mk_keytab_r): Likewise.
19720         (_ufc_dofinalperm_r): Likewise.
19721         (encrypt): Likewise.
19722         (__setkey_r): Likewise.
19723         (setkey): Likewise.
19724         * crypt/md5.c (md5_init_ctx): Likewise.
19725         (md5_read_ctx): Likewise.
19726         (md5_finish_ctx): Likewise.
19727         (md5_stream): Likewise.
19728         (md5_buffer): Likewise.
19729         (md5_process_bytes): Likewise.
19730         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19731         (__sha256_finish_ctx): Likewise.
19732         (__sha256_process_bytes): Likewise.
19733         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19734         (__sha512_finish_ctx): Likewise.
19735         (__sha512_process_bytes): Likewise.
19736         * ctype/isctype.c (__isctype): Likewise.
19737         * debug/backtrace.c (__backtrace): Likewise.
19738         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19739         * debug/fgets_chk.c (__fgets_chk): Likewise.
19740         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19741         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19742         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19743         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19744         * debug/memset_chk.c (__memset_chk): Likewise.
19745         * debug/strcat_chk.c (__strcat_chk): Likewise.
19746         * debug/strncat_chk.c (__strncat_chk): Likewise.
19747         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19748         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19749         * dirent/dirfd.c (dirfd): Likewise.
19750         * dirent/getdents.c (__getdirentries): Likewise.
19751         * dirent/getdents64.c (getdirentries64): Likewise.
19752         * dirent/rewinddir.c (__rewinddir): Likewise.
19753         * dirent/seekdir.c (seekdir): Likewise.
19754         * dirent/telldir.c (telldir): Likewise.
19755         * elf/sln.c (makesymlinks): Likewise.
19756         (makesymlink): Likewise.
19757         * gmon/gmon.c (__moncontrol): Likewise.
19758         (__monstartup): Likewise.
19759         (write_hist): Likewise.
19760         (write_call_graph): Likewise.
19761         (write_bb_counts): Likewise.
19762         * grp/setgroups.c (setgroups): Likewise.
19763         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19764         * inet/inet_net.c (inet_network): Likewise.
19765         * inet/inet_netof.c (inet_netof): Likewise.
19766         * inet/rcmd.c (rresvport_af): Likewise.
19767         (rresvport): Likewise.
19768         * io/access.c (__access): Likewise.
19769         * io/chdir.c (__chdir): Likewise.
19770         * io/chmod.c (__chmod): Likewise.
19771         * io/chown.c (__chown): Likewise.
19772         * io/close.c (__close): Likewise.
19773         * io/creat.c (creat): Likewise.
19774         * io/creat64.c (creat64): Likewise.
19775         * io/dup.c (__dup): Likewise.
19776         * io/dup2.c (__dup2): Likewise.
19777         * io/dup3.c (__dup3): Likewise.
19778         * io/euidaccess.c (__euidaccess): Likewise.
19779         * io/faccessat.c (faccessat): Likewise.
19780         * io/fchmod.c (__fchmod): Likewise.
19781         * io/fchmodat.c (fchmodat): Likewise.
19782         * io/fchown.c (__fchown): Likewise.
19783         * io/fchownat.c (fchownat): Likewise.
19784         * io/fcntl.c (__fcntl): Likewise.
19785         * io/flock.c (__flock): Likewise.
19786         * io/fts.c (fts_load): Likewise.
19787         (fts_close): Likewise.
19788         (fts_read): Likewise.
19789         (fts_set): Likewise.
19790         (fts_children): Likewise.
19791         (fts_build): Likewise.
19792         (fts_stat): Likewise.
19793         (fts_sort): Likewise.
19794         (fts_alloc): Likewise.
19795         (fts_lfree): Likewise.
19796         (fts_palloc): Likewise.
19797         (fts_padjust): Likewise.
19798         (fts_maxarglen): Likewise.
19799         (fts_safe_changedir): Likewise.
19800         * io/getwd.c (getwd): Likewise.
19801         * io/isatty.c (__isatty): Likewise.
19802         * io/lchown.c (__lchown): Likewise.
19803         * io/link.c (__link): Likewise.
19804         * io/linkat.c (linkat): Likewise.
19805         * io/lseek.c (__libc_lseek): Likewise.
19806         * io/mkdir.c (__mkdir): Likewise.
19807         * io/mkdirat.c (mkdirat): Likewise.
19808         * io/mkfifo.c (mkfifo): Likewise.
19809         * io/mkfifoat.c (mkfifoat): Likewise.
19810         * io/open.c (__libc_open): Likewise.
19811         * io/open64.c (__libc_open64): Likewise.
19812         * io/readlink.c (__readlink): Likewise.
19813         * io/readlinkat.c (readlinkat): Likewise.
19814         * io/rmdir.c (__rmdir): Likewise.
19815         * io/symlink.c (__symlink): Likewise.
19816         * io/symlinkat.c (symlinkat): Likewise.
19817         * io/ttyname.c (ttyname): Likewise.
19818         * io/ttyname_r.c (__ttyname_r): Likewise.
19819         * io/umask.c (__umask): Likewise.
19820         * io/unlink.c (__unlink): Likewise.
19821         * io/unlinkat.c (unlinkat): Likewise.
19822         * io/utime.c (utime): Likewise.
19823         * libio/clearerr.c (clearerr): Likewise.
19824         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19825         * libio/feof.c (_IO_feof): Likewise.
19826         * libio/feof_u.c (feof_unlocked): Likewise.
19827         * libio/ferror.c (_IO_ferror): Likewise.
19828         * libio/ferror_u.c (ferror_unlocked): Likewise.
19829         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19830         * libio/fileno.c (__fileno): Likewise.
19831         * libio/fputc.c (fputc): Likewise.
19832         * libio/fputc_u.c (fputc_unlocked): Likewise.
19833         * libio/fputwc.c (fputwc): Likewise.
19834         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19835         * libio/freopen.c (freopen): Likewise.
19836         * libio/freopen64.c (freopen64): Likewise.
19837         * libio/fseek.c (fseek): Likewise.
19838         * libio/fseeko.c (fseeko): Likewise.
19839         * libio/fseeko64.c (fseeko64): Likewise.
19840         * libio/ftello.c (__ftello): Likewise.
19841         * libio/ftello64.c (ftello64): Likewise.
19842         * libio/fwide.c (fwide): Likewise.
19843         * libio/genops.c (_IO_un_link): Likewise.
19844         (_IO_link_in): Likewise.
19845         (_IO_least_marker): Likewise.
19846         (_IO_switch_to_main_get_area): Likewise.
19847         (_IO_switch_to_backup_area): Likewise.
19848         (_IO_switch_to_get_mode): Likewise.
19849         (_IO_free_backup_area): Likewise.
19850         (_IO_switch_to_put_mode): Likewise.
19851         (__overflow): Likewise.
19852         (__underflow): Likewise.
19853         (__uflow): Likewise.
19854         (_IO_setb): Likewise.
19855         (_IO_doallocbuf): Likewise.
19856         (_IO_default_underflow): Likewise.
19857         (_IO_default_uflow): Likewise.
19858         (_IO_default_xsputn): Likewise.
19859         (_IO_sgetn): Likewise.
19860         (_IO_default_xsgetn): Likewise.
19861         (_IO_sync): Likewise.
19862         (_IO_default_setbuf): Likewise.
19863         (_IO_default_seekpos): Likewise.
19864         (_IO_default_doallocate): Likewise.
19865         (_IO_init): Likewise.
19866         (_IO_old_init): Likewise.
19867         (_IO_default_sync): Likewise.
19868         (_IO_default_finish): Likewise.
19869         (_IO_default_seekoff): Likewise.
19870         (_IO_sputbackc): Likewise.
19871         (_IO_sungetc): Likewise.
19872         (_IO_set_column): Likewise.
19873         (_IO_set_column): Likewise.
19874         (_IO_adjust_column): Likewise.
19875         (_IO_get_column): Likewise.
19876         (_IO_init_marker): Likewise.
19877         (_IO_remove_marker): Likewise.
19878         (_IO_marker_difference): Likewise.
19879         (_IO_marker_delta): Likewise.
19880         (_IO_seekmark): Likewise.
19881         (_IO_unsave_markers): Likewise.
19882         (_IO_nobackup_pbackfail): Likewise.
19883         (_IO_default_pbackfail): Likewise.
19884         (_IO_default_seek): Likewise.
19885         (_IO_default_stat): Likewise.
19886         (_IO_default_read): Likewise.
19887         (_IO_default_write): Likewise.
19888         (_IO_default_showmanyc): Likewise.
19889         (_IO_default_imbue): Likewise.
19890         (_IO_iter_next): Likewise.
19891         (_IO_iter_file): Likewise.
19892         * libio/getc.c (_IO_getc): Likewise.
19893         * libio/getwc.c (_IO_getwc): Likewise.
19894         * libio/iofclose.c (_IO_new_fclose): Likewise.
19895         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19896         * libio/iofflush.c (_IO_fflush): Likewise.
19897         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19898         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19899         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19900         * libio/iofgets.c (_IO_fgets): Likewise.
19901         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19902         * libio/iofgetws.c (fgetws): Likewise.
19903         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19904         * libio/iofopen64.c (_IO_fopen64): Likewise.
19905         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19906         (_IO_cookie_write): Likewise.
19907         (_IO_cookie_seek): Likewise.
19908         (_IO_cookie_close): Likewise.
19909         (_IO_cookie_seekoff): Likewise.
19910         (_IO_old_cookie_seek): Likewise.
19911         * libio/iofputs.c (_IO_fputs): Likewise.
19912         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19913         * libio/iofputws.c (fputws): Likewise.
19914         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19915         * libio/iofread.c (_IO_fread): Likewise.
19916         * libio/iofread_u.c (__fread_unlocked): Likewise.
19917         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19918         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19919         * libio/ioftell.c (_IO_ftell): Likewise.
19920         * libio/iofwrite.c (_IO_fwrite): Likewise.
19921         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19922         * libio/iogets.c (_IO_gets): Likewise.
19923         * libio/iopadn.c (_IO_padn): Likewise.
19924         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19925         (_IO_new_popen): Likewise.
19926         (_IO_new_proc_close): Likewise.
19927         * libio/ioputs.c (_IO_puts): Likewise.
19928         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19929         (_IO_seekoff): Likewise.
19930         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19931         (_IO_seekpos): Likewise.
19932         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19933         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19934         * libio/ioungetc.c (_IO_ungetc): Likewise.
19935         * libio/ioungetwc.c (ungetwc): Likewise.
19936         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19937         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19938         * libio/iowpadn.c (_IO_wpadn): Likewise.
19939         * libio/libc_fatal.c (__libc_fatal): Likewise.
19940         * libio/memstream.c (__open_memstream): Likewise.
19941         (_IO_mem_sync): Likewise.
19942         (_IO_mem_finish): Likewise.
19943         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19944         (_IO_old_file_close_it): Likewise.
19945         (_IO_old_file_finish): Likewise.
19946         (_IO_old_file_fopen): Likewise.
19947         (_IO_old_file_attach): Likewise.
19948         (_IO_old_file_setbuf): Likewise.
19949         (_IO_old_do_write): Likewise.
19950         (old_do_write): Likewise.
19951         (_IO_old_file_underflow): Likewise.
19952         (_IO_old_file_overflow): Likewise.
19953         (_IO_old_file_sync): Likewise.
19954         (_IO_old_file_seekoff): Likewise.
19955         (_IO_old_file_write): Likewise.
19956         (_IO_old_file_xsputn): Likewise.
19957         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19958         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19959         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19960         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19961         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19962         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19963         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19964         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19965         (_IO_old_popen): Likewise.
19966         (_IO_old_proc_close): Likewise.
19967         * libio/oldpclose.c (__old_pclose): Likewise.
19968         * libio/pclose.c (__new_pclose): Likewise.
19969         * libio/peekc.c (_IO_peekc_locked): Likewise.
19970         * libio/putc.c (_IO_putc): Likewise.
19971         * libio/putc_u.c (putc_unlocked): Likewise.
19972         * libio/putchar.c (putchar): Likewise.
19973         * libio/putchar_u.c (putchar_unlocked): Likewise.
19974         * libio/putwc.c (putwc): Likewise.
19975         * libio/putwc_u.c (putwc_unlocked): Likewise.
19976         * libio/putwchar.c (putwchar): Likewise.
19977         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19978         * libio/rewind.c (rewind): Likewise.
19979         * libio/setbuf.c (setbuf): Likewise.
19980         * libio/setlinebuf.c (setlinebuf): Likewise.
19981         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19982         * libio/vscanf.c (_IO_vscanf): Likewise.
19983         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19984         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19985         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19986         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19987         (_IO_switch_to_main_wget_area): Likewise.
19988         (_IO_switch_to_wbackup_area): Likewise.
19989         (_IO_wsetb): Likewise.
19990         (_IO_wdefault_pbackfail): Likewise.
19991         (_IO_wdefault_finish): Likewise.
19992         (_IO_wdefault_uflow): Likewise.
19993         (__woverflow): Likewise.
19994         (__wuflow): Likewise.
19995         (__wunderflow): Likewise.
19996         (_IO_wdefault_xsputn): Likewise.
19997         (_IO_wdefault_xsgetn): Likewise.
19998         (_IO_wdoallocbuf): Likewise.
19999         (_IO_wdefault_doallocate): Likewise.
20000         (_IO_switch_to_wget_mode): Likewise.
20001         (_IO_free_wbackup_area): Likewise.
20002         (_IO_switch_to_wput_mode): Likewise.
20003         (_IO_sputbackwc): Likewise.
20004         (_IO_sungetwc): Likewise.
20005         (_IO_adjust_wcolumn): Likewise.
20006         (_IO_init_wmarker): Likewise.
20007         (_IO_wmarker_delta): Likewise.
20008         (_IO_seekwmark): Likewise.
20009         (_IO_unsave_wmarkers): Likewise.
20010         * libio/wmemstream.c (open_wmemstream): Likewise.
20011         (_IO_wmem_sync): Likewise.
20012         (_IO_wmem_finish): Likewise.
20013         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20014         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20015         * locale/programs/simple-hash.c (init_hash): Likewise.
20016         (delete_hash): Likewise.
20017         (insert_entry): Likewise.
20018         (set_entry): Likewise.
20019         (next_prime): Likewise.
20020         (is_prime): Likewise.
20021         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20022         (xmalloc): Likewise.
20023         (xrealloc): Likewise.
20024         * locale/programs/xstrdup.c (xstrdup): Likewise.
20025         * localedata/collate-test.c (xstrcoll): Likewise.
20026         * localedata/xfrm-test.c (xstrcmp): Likewise.
20027         * login/getlogin_r.c (__getlogin_r): Likewise.
20028         * login/getpt.c (__posix_openpt): Likewise.
20029         * login/login_tty.c (login_tty): Likewise.
20030         * login/setlogin.c (setlogin): Likewise.
20031         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20032         (mach_msg_destroy_port): Likewise.
20033         (mach_msg_destroy_memory): Likewise.
20034         * malloc/mcheck.c (flood): Likewise.
20035         * misc/acct.c (acct): Likewise.
20036         * misc/brk.c (__brk): Likewise.
20037         * misc/chflags.c (chflags): Likewise.
20038         * misc/chroot.c (chroot): Likewise.
20039         * misc/fchflags.c (fchflags): Likewise.
20040         * misc/fstab.c (getfsspec): Likewise.
20041         (getfsfile): Likewise.
20042         * misc/fsync.c (fsync): Likewise.
20043         * misc/ftruncate.c (__ftruncate): Likewise.
20044         * misc/ftruncate64.c (__ftruncate64): Likewise.
20045         * misc/getdomain.c (getdomainname): Likewise.
20046         (getdomainname): Likewise.
20047         * misc/gethostname.c (__gethostname): Likewise.
20048         * misc/getpass.c (getpass): Likewise.
20049         * misc/getttyent.c (skip): Likewise.
20050         (value): Likewise.
20051         * misc/gtty.c (gtty): Likewise.
20052         * misc/hsearch.c (hsearch): Likewise.
20053         (hcreate): Likewise.
20054         * misc/hsearch_r.c (__hcreate_r): Likewise.
20055         (__hdestroy_r): Likewise.
20056         * misc/ioctl.c (__ioctl): Likewise.
20057         * misc/mkdtemp.c (mkdtemp): Likewise.
20058         * misc/mkostemp.c (mkostemp): Likewise.
20059         * misc/mkostemp64.c (mkostemp64): Likewise.
20060         * misc/mkostemps.c (mkostemps): Likewise.
20061         * misc/mkostemps64.c (mkostemps64): Likewise.
20062         * misc/mkstemp.c (mkstemp): Likewise.
20063         * misc/mkstemp64.c (mkstemp64): Likewise.
20064         * misc/mkstemps.c (mkstemps): Likewise.
20065         * misc/mkstemps64.c (mkstemps64): Likewise.
20066         * misc/mktemp.c (__mktemp): Likewise.
20067         * misc/preadv.c (preadv): Likewise.
20068         * misc/preadv64.c (preadv64): Likewise.
20069         * misc/pwritev.c (pwritev): Likewise.
20070         * misc/pwritev64.c (pwritev64): Likewise.
20071         * misc/readv.c (__readv): Likewise.
20072         * misc/revoke.c (revoke): Likewise.
20073         * misc/setdomain.c (setdomainname): Likewise.
20074         * misc/setegid.c (setegid): Likewise.
20075         * misc/seteuid.c (seteuid): Likewise.
20076         * misc/sethostid.c (sethostid): Likewise.
20077         * misc/sethostname.c (sethostname): Likewise.
20078         * misc/setregid.c (__setregid): Likewise.
20079         * misc/setreuid.c (__setreuid): Likewise.
20080         * misc/sstk.c (sstk): Likewise.
20081         * misc/stty.c (stty): Likewise.
20082         * misc/syscall.c (syscall): Likewise.
20083         * misc/syslog.c (setlogmask): Likewise.
20084         * misc/truncate.c (__truncate): Likewise.
20085         * misc/truncate64.c (truncate64): Likewise.
20086         * misc/ualarm.c (ualarm): Likewise.
20087         * misc/usleep.c (usleep): Likewise.
20088         * misc/ustat.c (ustat): Likewise.
20089         * misc/writev.c (__writev): Likewise.
20090         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20091         * nptl/old_pthread_cond_broadcast.c
20092         (__pthread_cond_broadcast_2_0): Likewise.
20093         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20094         Likewise.
20095         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20096         Likewise.
20097         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20098         Likewise.
20099         * nptl/pt-raise.c (raise): Likewise.
20100         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20101         Likewise.
20102         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20103         * nptl/pthread_barrierattr_destroy.c
20104         (pthread_barrierattr_destroy): Likewise.
20105         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20106         Likewise.
20107         * nptl/pthread_barrierattr_setpshared.c
20108         (pthread_barrierattr_setpshared): Likewise.
20109         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20110         Likewise.
20111         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20112         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20113         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20114         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20115         Likewise.
20116         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20117         Likewise.
20118         * nptl/pthread_condattr_getpshared.c
20119         (pthread_condattr_getpshared): Likewise.
20120         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20121         Likewise.
20122         * nptl/pthread_condattr_setpshared.c
20123         (pthread_condattr_setpshared): Likewise.
20124         * nptl/pthread_detach.c (pthread_detach): Likewise.
20125         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20126         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20127         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20128         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20129         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20130         Likewise.
20131         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20132         Likewise.
20133         * nptl/pthread_mutex_getprioceiling.c
20134         (pthread_mutex_getprioceiling): Likewise.
20135         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20136         Likewise.
20137         * nptl/pthread_mutexattr_getprotocol.c
20138         (pthread_mutexattr_getprotocol): Likewise.
20139         * nptl/pthread_mutexattr_getpshared.c
20140         (pthread_mutexattr_getpshared): Likewise.
20141         * nptl/pthread_mutexattr_getrobust.c
20142         (pthread_mutexattr_getrobust): Likewise.
20143         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20144         Likewise.
20145         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20146         Likewise.
20147         * nptl/pthread_mutexattr_setprioceiling.c
20148         (pthread_mutexattr_setprioceiling): Likewise.
20149         * nptl/pthread_mutexattr_setprotocol.c
20150         (pthread_mutexattr_setprotocol): Likewise.
20151         * nptl/pthread_mutexattr_setpshared.c
20152         (pthread_mutexattr_setpshared): Likewise.
20153         * nptl/pthread_mutexattr_setrobust.c
20154         (pthread_mutexattr_setrobust): Likewise.
20155         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20156         Likewise.
20157         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20158         Likewise.
20159         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20160         Likewise.
20161         * nptl/pthread_rwlockattr_getkind_np.c
20162         (pthread_rwlockattr_getkind_np): Likewise.
20163         * nptl/pthread_rwlockattr_getpshared.c
20164         (pthread_rwlockattr_getpshared): Likewise.
20165         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20166         Likewise.
20167         * nptl/pthread_rwlockattr_setkind_np.c
20168         (pthread_rwlockattr_setkind_np): Likewise.
20169         * nptl/pthread_rwlockattr_setpshared.c
20170         (pthread_rwlockattr_setpshared): Likewise.
20171         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20172         Likewise.
20173         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20174         Likewise.
20175         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20176         Likewise.
20177         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20178         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20179         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20180         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20181         * nptl/sem_close.c (sem_close): Likewise.
20182         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20183         * nptl/sem_init.c (__old_sem_init): Likewise.
20184         * nptl/sigaction.c (__sigaction): Likewise.
20185         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20186         * posix/_exit.c (_exit): Likewise.
20187         * posix/alarm.c (alarm): Likewise.
20188         * posix/confstr.c (confstr): Likewise.
20189         * posix/fpathconf.c (__fpathconf): Likewise.
20190         * posix/getgroups.c (__getgroups): Likewise.
20191         * posix/getpgid.c (__getpgid): Likewise.
20192         * posix/group_member.c (__group_member): Likewise.
20193         * posix/pathconf.c (__pathconf): Likewise.
20194         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20195         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20196         * posix/setgid.c (__setgid): Likewise.
20197         * posix/setpgid.c (__setpgid): Likewise.
20198         * posix/setuid.c (__setuid): Likewise.
20199         * posix/sleep.c (__sleep): Likewise.
20200         * posix/sysconf.c (__sysconf): Likewise.
20201         * posix/times.c (__times): Likewise.
20202         * posix/uname.c (__uname): Likewise.
20203         * posix/waitid.c (__waitid): Likewise.
20204         * pwd/getpw.c (__getpw): Likewise.
20205         * resolv/base64.c (b64_pton): Likewise.
20206         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20207         * resolv/gethnamaddr.c (Dprintf): Likewise.
20208         (gethostbyname): Likewise.
20209         (gethostbyname2): Likewise.
20210         (gethostbyaddr): Likewise.
20211         (_sethtent): Likewise.
20212         (_gethtbyname): Likewise.
20213         (_gethtbyname2): Likewise.
20214         (_gethtbyaddr): Likewise.
20215         (map_v4v6_address): Likewise.
20216         (map_v4v6_hostent): Likewise.
20217         (addrsort): Likewise.
20218         (ht_sethostent): Likewise.
20219         (ht_gethostbyname): Likewise.
20220         (ht_gethostbyaddr): Likewise.
20221         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20222         (inet_net_ntop_ipv4): Likewise.
20223         * resolv/inet_neta.c (inet_neta): Likewise.
20224         * resolv/inet_ntop.c (inet_ntop): Likewise.
20225         (inet_ntop4): Likewise.
20226         (inet_ntop6): Likewise.
20227         * resolv/inet_pton.c (__inet_pton): Likewise.
20228         (inet_pton4): Likewise.
20229         (inet_pton6): Likewise.
20230         * resolv/res_debug.c (loc_aton): Likewise.
20231         (loc_ntoa): Likewise.
20232         * resource/getpriority.c (__getpriority): Likewise.
20233         * resource/getrusage.c (__getrusage): Likewise.
20234         * resource/nice.c (nice): Likewise.
20235         * resource/setpriority.c (__setpriority): Likewise.
20236         * resource/setrlimit64.c (setrlimit64): Likewise.
20237         * resource/vlimit.c (vlimit): Likewise.
20238         * resource/vtimes.c (vtimes): Likewise.
20239         * rt/aio_error.c (aio_error): Likewise.
20240         * rt/aio_return.c (aio_return): Likewise.
20241         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20242         * signal/kill.c (__kill): Likewise.
20243         * signal/killpg.c (killpg): Likewise.
20244         * signal/raise.c (raise): Likewise.
20245         * signal/sigaction.c (__sigaction): Likewise.
20246         * signal/sigaddset.c (sigaddset): Likewise.
20247         * signal/sigaltstack.c (sigaltstack): Likewise.
20248         * signal/sigandset.c (sigandset): Likewise.
20249         * signal/sigblock.c (__sigblock): Likewise.
20250         * signal/sigdelset.c (sigdelset): Likewise.
20251         * signal/sigempty.c (sigemptyset): Likewise.
20252         * signal/sigfillset.c (sigfillset): Likewise.
20253         * signal/sighold.c (sighold): Likewise.
20254         * signal/sigignore.c (sigignore): Likewise.
20255         * signal/sigintr.c (siginterrupt): Likewise.
20256         * signal/sigisempty.c (sigisemptyset): Likewise.
20257         * signal/sigismem.c (sigismember): Likewise.
20258         * signal/signal.c (signal): Likewise.
20259         * signal/sigorset.c (sigorset): Likewise.
20260         * signal/sigpause.c (__sigpause): Likewise.
20261         * signal/sigpending.c (sigpending): Likewise.
20262         * signal/sigprocmask.c (__sigprocmask): Likewise.
20263         * signal/sigrelse.c (sigrelse): Likewise.
20264         * signal/sigreturn.c (__sigreturn): Likewise.
20265         * signal/sigset.c (sigset): Likewise.
20266         * signal/sigsetmask.c (__sigsetmask): Likewise.
20267         * signal/sigstack.c (sigstack): Likewise.
20268         * signal/sigsuspend.c (__sigsuspend): Likewise.
20269         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20270         * signal/sysv_signal.c (__sysv_signal): Likewise.
20271         * socket/accept.c (accept): Likewise.
20272         * socket/accept4.c (__libc_accept4): Likewise.
20273         * socket/bind.c (__bind): Likewise.
20274         * socket/connect.c (__connect): Likewise.
20275         * socket/getpeername.c (getpeername): Likewise.
20276         * socket/getsockname.c (__getsockname): Likewise.
20277         * socket/getsockopt.c (getsockopt): Likewise.
20278         * socket/listen.c (__listen): Likewise.
20279         * socket/recv.c (__recv): Likewise.
20280         * socket/recvmsg.c (__recvmsg): Likewise.
20281         * socket/send.c (__send): Likewise.
20282         * socket/sendmsg.c (__sendmsg): Likewise.
20283         * socket/shutdown.c (shutdown): Likewise.
20284         * socket/sockatmark.c (sockatmark): Likewise.
20285         * socket/socket.c (__socket): Likewise.
20286         * stdio-common/ctermid.c (ctermid): Likewise.
20287         * stdio-common/cuserid.c (cuserid): Likewise.
20288         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20289         * stdio-common/remove.c (remove): Likewise.
20290         * stdio-common/rename.c (rename): Likewise.
20291         * stdio-common/renameat.c (renameat): Likewise.
20292         * stdio-common/tempname.c (__gen_tempname): Likewise.
20293         * stdio-common/xbug.c (InitBuffer): Likewise.
20294         (AppendToBuffer): Likewise.
20295         (ReadFile): Likewise.
20296         * stdlib/a64l.c (a64l): Likewise.
20297         * stdlib/drand48_r.c (drand48_r): Likewise.
20298         * stdlib/getcontext.c (getcontext): Likewise.
20299         * stdlib/getenv.c (getenv): Likewise.
20300         * stdlib/l64a.c (l64a): Likewise.
20301         * stdlib/llabs.c (llabs): Likewise.
20302         * stdlib/lldiv.c (lldiv): Likewise.
20303         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20304         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20305         * stdlib/putenv.c (putenv): Likewise.
20306         * stdlib/random.c (__srandom): Likewise.
20307         (__initstate): Likewise.
20308         (__setstate): Likewise.
20309         * stdlib/random_r.c (__srandom_r): Likewise.
20310         (__setstate_r): Likewise.
20311         (__random_r): Likewise.
20312         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20313         * stdlib/setcontext.c (setcontext): Likewise.
20314         * stdlib/setenv.c (setenv): Likewise.
20315         (unsetenv): Likewise.
20316         * stdlib/srand48.c (srand48): Likewise.
20317         * stdlib/srand48_r.c (__srand48_r): Likewise.
20318         * stdlib/swapcontext.c (swapcontext): Likewise.
20319         * stdlib/system.c (__libc_system): Likewise.
20320         * stdlib/tst-strtod.c (expand): Likewise.
20321         * stdlib/tst-strtol.c (expand): Likewise.
20322         * stdlib/tst-strtoll.c (expand): Likewise.
20323         * streams/fattach.c (fattach): Likewise.
20324         * streams/fdetach.c (fdetach): Likewise.
20325         * streams/getmsg.c (getmsg): Likewise.
20326         * streams/isastream.c (isastream): Likewise.
20327         * string/ffs.c (__ffs): Likewise.
20328         * string/ffsll.c (ffsll): Likewise.
20329         * string/memcmp.c (memcmp_common_alignment): Likewise.
20330         (memcmp_not_common_alignment): Likewise.
20331         (MEMCMP): Likewise.
20332         * string/memcpy.c (memcpy): Likewise.
20333         * string/memmove.c (MEMMOVE): Likewise.
20334         * string/memset.c (memset): Likewise.
20335         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20336         * string/strchrnul.c (STRCHRNUL): Likewise.
20337         * string/strerror.c (strerror): Likewise.
20338         * string/strndup.c (__strndup): Likewise.
20339         * string/strverscmp.c (__strverscmp): Likewise.
20340         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20341         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20342         (clnttcp_freeres): Likewise.
20343         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20344         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20345         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20346         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20347         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20348         (xdr_callhdr): Likewise.
20349         * sunrpc/rpcinfo.c (udpping): Likewise.
20350         (tcpping): Likewise.
20351         (pstatus): Likewise.
20352         (pmapdump): Likewise.
20353         (brdcst): Likewise.
20354         (deletereg): Likewise.
20355         (getprognum): Likewise.
20356         (getvers): Likewise.
20357         (get_inet_address): Likewise.
20358         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20359         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20360         (svcudp_stat): Likewise.
20361         (svcudp_recv): Likewise.
20362         (svcudp_reply): Likewise.
20363         (svcudp_getargs): Likewise.
20364         (svcudp_freeargs): Likewise.
20365         (svcudp_destroy): Likewise.
20366         * sunrpc/xdr.c (xdr_bytes): Likewise.
20367         (xdr_netobj): Likewise.
20368         (xdr_string): Likewise.
20369         (xdr_wrapstring): Likewise.
20370         * sunrpc/xdr_float.c (xdr_float): Likewise.
20371         (xdr_double): Likewise.
20372         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20373         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20374         * sysvipc/ftok.c (ftok): Likewise.
20375         * sysvipc/msgctl.c (msgctl): Likewise.
20376         * sysvipc/msgget.c (msgget): Likewise.
20377         * sysvipc/msgrcv.c (msgrcv): Likewise.
20378         * sysvipc/msgsnd.c (msgsnd): Likewise.
20379         * sysvipc/semget.c (semget): Likewise.
20380         * sysvipc/semop.c (semop): Likewise.
20381         * sysvipc/shmat.c (shmat): Likewise.
20382         * sysvipc/shmctl.c (shmctl): Likewise.
20383         * sysvipc/shmdt.c (shmdt): Likewise.
20384         * sysvipc/shmget.c (shmget): Likewise.
20385         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20386         * termios/speed.c (cfgetospeed): Likewise.
20387         (cfgetispeed): Likewise.
20388         (cfsetospeed): Likewise.
20389         (cfsetispeed): Likewise.
20390         * termios/tcflow.c (tcflow): Likewise.
20391         * termios/tcflush.c (tcflush): Likewise.
20392         * termios/tcgetattr.c (__tcgetattr): Likewise.
20393         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20394         * termios/tcgetsid.c (tcgetsid): Likewise.
20395         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20396         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20397         * time/adjtime.c (__adjtime): Likewise.
20398         * time/dysize.c (dysize): Likewise.
20399         * time/ftime.c (ftime): Likewise.
20400         * time/getitimer.c (__getitimer): Likewise.
20401         * time/gettimeofday.c (__gettimeofday): Likewise.
20402         * time/gmtime.c (__gmtime_r): Likewise.
20403         (gmtime): Likewise.
20404         * time/localtime.c (__localtime_r): Likewise.
20405         (localtime): Likewise.
20406         * time/offtime.c (__offtime): Likewise.
20407         * time/settimeofday.c (__settimeofday): Likewise.
20408         * time/stime.c (stime): Likewise.
20409         * time/strftime_l.c (tm_diff): Likewise.
20410         (iso_week_days): Likewise.
20411         * time/strptime.c (strptime): Likewise.
20412         * time/time.c (time): Likewise.
20413         * time/timespec_get.c (timespec_get): Likewise.
20414         * time/tzset.c (tzset_internal): Likewise.
20415         (compute_change): Likewise.
20416         (__tz_compute): Likewise.
20417         * wcsmbs/btowc.c (__btowc): Likewise.
20418         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20419         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20420         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20421         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20422         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20423         * wcsmbs/wcscat.c (__wcscat): Likewise.
20424         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20425         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20426         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20427         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20428         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20429         * wcsmbs/wcslen.c (__wcslen): Likewise.
20430         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20431         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20432         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20433         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20434         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20435         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20436         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20437         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20438         * wcsmbs/wcstok.c (wcstok): Likewise.
20439         * wcsmbs/wctob.c (wctob): Likewise.
20440         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20441         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20442         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20443         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20444         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20445         * wcsmbs/wmemset.c (__wmemset): Likewise.
20446         * wctype/wcfuncs.c (__towlower): Likewise.
20447         (__towupper): Likewise.
20449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20450         (lll_unlock_elision): Add adapt_count parameter.
20452 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20454         * sysdeps/nptl/configure.ac: Do not give errors based on the
20455         results of top-level configure tests.
20456         * sysdeps/nptl/configure: Regenerated.
20458         * configure.ac (libc_cv_Bgroup): Remove configure test.
20459         * configure: Regenerated.
20460         * config.make.in (have-Bgroup): Remove variable.
20462         * configure.ac (sizeof_long_double): Remove configure test.
20463         * configure: Regenerated.
20464         * config.make.in (sizeof-long-double): Remove variable.
20466         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20467         * configure: Regenerated.
20468         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20469         variable.
20470         (exceptions): Likewise.
20471         * sysdeps/arm/configure: Regenerated.
20472         * config.make.in (exceptions): Remove variable.
20473         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20474         $(exceptions).
20475         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20476         (CFLAGS-vdprintf_chk.c): Likewise.
20477         (CFLAGS-printf_chk.c): Likewise.
20478         (CFLAGS-fprintf_chk.c): Likewise.
20479         (CFLAGS-vprintf_chk.c): Likewise.
20480         (CFLAGS-vfprintf_chk.c): Likewise.
20481         (CFLAGS-gets_chk.c): Likewise.
20482         (CFLAGS-fgets_chk.c): Likewise.
20483         (CFLAGS-fgets_u_chk.c): Likewise.
20484         (CFLAGS-fread_chk.c): Likewise.
20485         (CFLAGS-fread_u_chk.c): Likewise.
20486         (CFLAGS-wprintf_chk.c): Likewise.
20487         (CFLAGS-fwprintf_chk.c): Likewise.
20488         (CFLAGS-vwprintf_chk.c): Likewise.
20489         (CFLAGS-vfwprintf_chk.c): Likewise.
20490         (CFLAGS-fgetws_chk.c): Likewise.
20491         (CFLAGS-fgetws_u_chk.c): Likewise.
20492         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20493         (CFLAGS-fputc.c): Likewise.
20494         (CFLAGS-fputwc.c): Likewise.
20495         (CFLAGS-freopen64.c): Likewise.
20496         (CFLAGS-freopen.c): Likewise.
20497         (CFLAGS-fseek.c): Likewise.
20498         (CFLAGS-fseeko64.c): Likewise.
20499         (CFLAGS-fseeko.c): Likewise.
20500         (CFLAGS-ftello64.c): Likewise.
20501         (CFLAGS-ftello.c): Likewise.
20502         (CFLAGS-fwide.c): Likewise.
20503         (CFLAGS-genops.c): Likewise.
20504         (CFLAGS-getc.c): Likewise.
20505         (CFLAGS-getchar.c): Likewise.
20506         (CFLAGS-getwc.c): Likewise.
20507         (CFLAGS-getwchar.c): Likewise.
20508         (CFLAGS-iofclose.c): Likewise.
20509         (CFLAGS-iofflush.c): Likewise.
20510         (CFLAGS-iofgetpos64.c): Likewise.
20511         (CFLAGS-iofgetpos.c): Likewise.
20512         (CFLAGS-iofgets.c): Likewise.
20513         (CFLAGS-iofgetws.c): Likewise.
20514         (CFLAGS-iofputs.c): Likewise.
20515         (CFLAGS-iofputws.c): Likewise.
20516         (CFLAGS-iofread.c): Likewise.
20517         (CFLAGS-iofsetpos64.c): Likewise.
20518         (CFLAGS-iofsetpos.c): Likewise.
20519         (CFLAGS-ioftell.c): Likewise.
20520         (CFLAGS-iofwrite.c): Likewise.
20521         (CFLAGS-iogetdelim.c): Likewise.
20522         (CFLAGS-iogetline.c): Likewise.
20523         (CFLAGS-iogets.c): Likewise.
20524         (CFLAGS-iogetwline.c): Likewise.
20525         (CFLAGS-ioputs.c): Likewise.
20526         (CFLAGS-ioseekoff.c): Likewise.
20527         (CFLAGS-ioseekpos.c): Likewise.
20528         (CFLAGS-iosetbuffer.c): Likewise.
20529         (CFLAGS-iosetvbuf.c): Likewise.
20530         (CFLAGS-ioungetc.c): Likewise.
20531         (CFLAGS-ioungetwc.c): Likewise.
20532         (CFLAGS-oldfileops.c): Likewise.
20533         (CFLAGS-oldiofclose.c): Likewise.
20534         (CFLAGS-oldiofgetpos64.c): Likewise.
20535         (CFLAGS-oldiofgetpos.c): Likewise.
20536         (CFLAGS-oldiofsetpos64.c): Likewise.
20537         (CFLAGS-oldiofsetpos.c): Likewise.
20538         (CFLAGS-peekc.c): Likewise.
20539         (CFLAGS-putc.c): Likewise.
20540         (CFLAGS-putchar.c): Likewise.
20541         (CFLAGS-putwc.c): Likewise.
20542         (CFLAGS-putwchar.c): Likewise.
20543         (CFLAGS-rewind.c): Likewise.
20544         (CFLAGS-wfileops.c): Likewise.
20545         (CFLAGS-wgenops.c): Likewise.
20546         (CFLAGS-oldiofopen.c): Likewise.
20547         (CFLAGS-iofopen.c): Likewise.
20548         (CFLAGS-iofopen64.c): Likewise.
20549         (CFLAGS-oldtmpfile.c): Likewise.
20550         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20551         (CFLAGS-fprintf.c): Likewise.
20552         (CFLAGS-printf.c): Likewise.
20553         (CFLAGS-vfwprintf.c): Likewise.
20554         (CFLAGS-vfscanf.c): Likewise.
20555         (CFLAGS-vfwscanf.c): Likewise.
20556         (CFLAGS-fscanf.c): Likewise.
20557         (CFLAGS-scanf.c): Likewise.
20558         (CFLAGS-isoc99_vfscanf.c): Likewise.
20559         (CFLAGS-isoc99_vscanf.c): Likewise.
20560         (CFLAGS-isoc99_fscanf.c): Likewise.
20561         (CFLAGS-isoc99_scanf.c): Likewise.
20562         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20563         (CFLAGS-isoc99_fwscanf.c): Likewise.
20564         (CFLAGS-isoc99_vwscanf.c): Likewise.
20565         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20567         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20568         after mkstemp64.
20569         * login/tst-utmp.c (do_prepare): Likewise.
20570         * rt/tst-aio.c (do_prepare): Likewise.
20571         * rt/tst-aio64.c (do_prepare): Likewise.
20573 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20575         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20576         (__lll_lock_elision): Remove adapt_count decrement...
20577         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20578         (__lll_trylock_elision): Likewise.
20579         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20580         (__lll_unlock_elision): ... to here. And utilize
20581         new adapt_count parameter.
20582         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20583         (__lll_unlock_elision): Update to include adapt_count
20584         parameter.
20585         (lll_unlock_elision): Pass pointer to adapt_count
20586         variable.
20588 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20590         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20591         Add elision adapt_count parameter to list of arguments.
20592         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20593         (lll_unlock_elision): Update with new parameter list
20594         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20595         (lll_unlock_elision): Likewise.
20596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20597         (lll_unlock_elision): Likewise.
20599 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20601         [BZ #19122]
20602         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20603         attribute_hidden.
20605         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20606         attribute_hidden.
20607         [IS_IN (rtld)] (__strdup): Likewise.
20608         [IS_IN (rtld)] (__strerror_r): Likewise.
20609         [IS_IN (rtld)] (__strsep_g): Likewise.
20610         [IS_IN (rtld)] (memchr): Likewise.
20611         [IS_IN (rtld)] (memcmp): Likewise.
20612         [IS_IN (rtld)] (memcpy): Likewise.
20613         [IS_IN (rtld)] (memmove): Likewise.
20614         [IS_IN (rtld)] (memset): Likewise.
20615         [IS_IN (rtld)] (rawmemchr): Likewise.
20616         [IS_IN (rtld)] (stpcpy): Likewise.
20617         [IS_IN (rtld)] (strchr): Likewise.
20618         [IS_IN (rtld)] (strcmp): Likewise.
20619         [IS_IN (rtld)] (strlen): Likewise.
20620         [IS_IN (rtld)] (strnlen): Likewise.
20621         [IS_IN (rtld)] (strsep): Likewise.
20623         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20624         attribute_hidden.
20625         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20627         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20628         attribute_hidden.
20629         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20631         * include/setjmp.h (__longjmp): Add attribute_hidden.
20632         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20634         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20635         Add attribute_hidden.
20637         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20638         [IS_IN (rtld)] (__open): Likewise.
20639         [IS_IN (rtld)] (__fcntl): Likewise.
20641         * include/dirent.h (__opendirat): Add attribute_hidden.
20642         (__getdents): Likewise.
20643         (__getdents64): Likewise.
20644         (__alloc_dir): Likewise.
20645         [IS_IN (rtld)] (__closedir): Likewise.
20646         [IS_IN (rtld)] (__fdopendir): Likewise.
20647         [IS_IN (rtld)] (__readdir): Likewise.
20648         [IS_IN (rtld)] (__readdir64): Likewise.
20649         [IS_IN (rtld)] (__rewinddir): Likewise.
20651         * include/dlfcn.h (_dl_catch_error): Moved to ...
20652         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20653         attribute_hidden.
20655         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20656         (_itoa_word): Likewise.
20658         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20659         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20660         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20661         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20662         (_dl_higher_prime_number): Likewise.
20663         (_dl_debug_printf_c): Likewise.
20664         (_dl_signal_cerror): Likewise.
20665         (_dl_receive_error): Likewise.
20666         (_dl_reloc_bad_type): Likewise.
20667         (_dl_resolve_conflicts): Likewise.
20668         (_dl_check_all_versions): Likewise.
20669         (_dl_check_map_versions): Likewise.
20670         (_dl_sort_fini): Likewise.
20671         (_dl_debug_initialize): Likewise.
20672         (_dl_init_paths): Likewise.
20673         (_dl_show_auxv): Likewise.
20674         (_dl_next_ld_env_entry): Likewise.
20675         (_dl_important_hwcaps): Likewise.
20676         (_dl_load_cache_lookup): Likewise.
20677         (_dl_update_slotinfo): Likewise.
20678         (_dl_show_scope): Likewise.
20680         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20681         attribute_hidden.
20682         (_wordcopy_fwd_dest_aligned): Likewise.
20683         (_wordcopy_bwd_aligned): Likewise.
20684         (_wordcopy_bwd_dest_aligned): Likewise.
20686         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20687         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20688         Likewise.
20689         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20690         Likewise.
20691         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20693 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20696         GCC 5 requirement.
20698 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20700         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20701         test.
20702         * sysdeps/i386/configure: Regenerated.
20703         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20704         code unconditional.
20706         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20707         test.
20708         (libc_cv_asm_popsection_directive): Likewise.
20709         * configure: Regenerated.
20710         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20711         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20712         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20713         (__make_section_unallocated): Make definition unconditional.
20714         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20715         Remove conditional definition.
20716         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20717         (__make_section_unallocated): Likewise.
20719         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20720         * configure: Regenerated.
20721         * config.make.in (static-libgcc): Remove variable.
20722         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20723         $(static-libgcc).
20724         (build-module-helper): Likewise.
20726         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20727         * configure: Regenerated.
20729 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20731         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20732         (struct char_buffer): New type.
20733         (char_buffer_start, char_buffer_size, char_buffer_error)
20734         (char_buffer_rewind, char_buffer_add): New functions.
20735         (ADDW): Remove macro, replaced by the char_buffer_add function.
20736         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20737         of extend_alloca.  Make control flow more explicit.
20739 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20741         [BZ #19137]
20742         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20743         Add -fomit-frame-pointer.
20744         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20746 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20748         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20749         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20751         only if !__GNUC_PREREQ (5,0).
20752         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20753         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20754         (INTERNAL_SYSCALL_NCS): Likewise.
20755         (LOADREGS_0): New macro for GCC 5.
20756         (ASMARGS_0): Likewise.
20757         (LOADREGS_1): Likewise.
20758         (ASMARGS_1): Likewise.
20759         (LOADREGS_2): Likewise.
20760         (ASMARGS_2): Likewise.
20761         (LOADREGS_3): Likewise.
20762         (ASMARGS_3): Likewise.
20763         (LOADREGS_4): Likewise.
20764         (ASMARGS_4): Likewise.
20765         (LOADREGS_5): Likewise.
20766         (ASMARGS_5): Likewise.
20767         (LOADREGS_6): Likewise.
20768         (ASMARGS_6): Likewise.
20770 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20772         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20773         -fomit-frame-pointer.
20774         (CFLAGS-mmap64.c): Likewise.
20775         (CFLAGS-semtimedop.c): Likewise.
20776         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20777         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20778         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20779         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20781 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20783         [BZ #18928]
20784         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20785         _dl_pointer_guard member.
20786         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20787         initializer.
20788         (security_init): Always set up pointer guard.
20789         (process_envvars): Do not process LD_POINTER_GUARD.
20791 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20793         [BZ #19134]
20794         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20795         (.LC2): Likewise.
20796         (.LC3): Likewise.
20797         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20799 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20801         [BZ #19129]
20802         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20803         r0 and r1.
20805 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20807         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20809 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20811         * include/stap-probe.h: Fix macro definition formatting.
20813 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20815         [BZ #19074]
20816         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20817         load and store num_ifs.
20819 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20821         [BZ #18822]
20822         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20823         (__sched_getaffinity_new): Add libc_hidden_proto and
20824         libc_hidden_def.
20826 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20828         [BZ #19007]
20829         * scripts/localplt.awk: Also allow GOT references.
20830         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20831         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20832         with "+ REL R_386_GLOB_DAT".
20833         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20834         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20836 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20838         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20839         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20840         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20841         Likewise.
20842         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20843         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20844         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20845         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20846         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20847         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20848         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20849         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20850         Likewise.
20851         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20853 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20855         [BZ #19125]
20856         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20857         <math_private.h> and <stdint.h>.
20858         (__llround): Avoid conversions to and from long long int, and
20859         subtractions, where those might raise spurious exceptions.
20860         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20861         <math_private.h> and <stdint.h>.
20862         (__llroundf): Avoid conversions to and from long long int, and
20863         subtractions, where those might raise spurious exceptions.
20865 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20867         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20868         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20869         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20870         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20871         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20872         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20873         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20874         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20875         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20876         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20877         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20878         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20879         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20880         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20881         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20882         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20883         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20884         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20885         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20886         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20887         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20888         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20889         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20890         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20891         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20892         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20893         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20894         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20895         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20896         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20897         (__xstat64_conv): Likewise.
20898         (__xstat32_conv): Likewise.
20900 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20902         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20903         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20904         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20905         <sysdeps/unix/sysv/linux/sysdep.h>.
20906         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20907         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20908         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20909         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20910         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20911         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20912         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20913         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20914         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20919         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20922         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20923         (sysdep-dl-routines): Add sysdep.
20924         [$(subdir) == nptl] (libpthread-routines): Likewise.
20925         [$(subdir) == rt] (librt-routines): Likewise.
20926         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20927         PIC when branching to SYSCALL_ERROR_LABEL.
20928         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20929         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20930         <sysdeps/unix/sysv/linux/sysdep.h>.
20931         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20932         (SYSCALL_ERROR_ERRNO): Removed.
20933         (SYSCALL_ERROR_HANDLER): Changed to empty.
20934         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20935         (__syscall_error): New prototype.
20936         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20937         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20939 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20941         [BZ #19124]
20942         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20943         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20944         _dl_runtime_resolve_avx.
20945         (_dl_runtime_profile_avx512): Make it a hidden alias of
20946         _dl_runtime_profile_avx.
20948 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20950         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20951         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20952         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20953         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20955         [BZ #16422]
20956         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20957         New configure test.
20958         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20959         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20960         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20961         <math_private.h> and <stdint.h>.
20962         (__llrint): Avoid conversions to long long int where those might
20963         raise spurious exceptions.
20964         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20965         <math_private.h> and <stdint.h>.
20966         (__llrintf): Avoid conversions to long long int where those might
20967         raise spurious exceptions.
20969 2015-10-12  Andreas Schwab  <schwab@suse.de>
20971         [BZ #18969]
20972         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20973         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20974         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20975         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20976         $(gen-locales).
20977         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20978         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20979         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20980         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20981         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20982         $(gen-locales).
20983         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20984         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20985         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20986         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20987         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20988         ($(objpfx)tst-ftell-active-handler.out)
20989         ($(objpfx)tst-ftell-append.out)
20990         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20991         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20992         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20993         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20994         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20995         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20996         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20997         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20998         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20999         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21000         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21001         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21002         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21003         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21004         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21005         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21006         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21007         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21008         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21009         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21010         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21011         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21012         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21013         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21014         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21015         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21016         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21017         $(gen-locales).
21018         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21019         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21020         $(gen-locales).
21021         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21022         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21023         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21024         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21025         $(gen-locales).
21026         * libio/tst_wprintf2.c (main): Use explicit locale.
21027         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21029 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21031         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21032         __msg_sig_post.
21033         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21035 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21037         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21038         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21040         * sysdeps/arm/libm-test-ulps: Regenerated.
21042         [BZ #15470]
21043         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21045         [BZ #16399]
21046         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21047         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21048         and <fix-fp-int-convert-overflow.h>.
21049         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21050         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21051         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21052         and <fix-fp-int-convert-overflow.h>.
21053         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21054         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21055         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21056         <fix-fp-int-convert-overflow.h>.
21057         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21058         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21059         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21060         <fix-fp-int-convert-overflow.h>.
21061         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21062         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21063         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21064         and <fix-fp-int-convert-overflow.h>.
21065         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21066         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21067         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21068         <limits.h> and <fix-fp-int-convert-overflow.h>.
21069         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21070         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21071         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21072         and <fix-fp-int-convert-overflow.h>.
21073         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21074         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21075         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21076         and <fix-fp-int-convert-overflow.h>.
21077         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21078         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21079         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21081 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21083         [BZ #18589]
21084         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21085         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21086         $(gen-locales).
21088 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21089             Phil Blundell <pb@pbcl.net>
21091         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21092         * nptl/tst-cancel26.c: New file.
21093         * nptl/tst-cancel27.c: Likewise.
21095 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21097         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21098         __ILP32__ isn't defined.
21099         (lrint): Likewise.
21100         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21101         (lrintf): Likewise.
21102         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21103         (lrintl): Likewise.
21104         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21105         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21106         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21108 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21110         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21113         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21114         file.
21115         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21116         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21118 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21120         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21121         configure test.
21122         * sysdeps/i386/configure: Regenerated.
21123         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21124         configure test.
21125         * sysdeps/x86_64/configure: Regenerated.
21126         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21127         Make code unconditional.
21129         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21130         test.
21131         * sysdeps/i386/configure: Regenerated.
21132         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21133         test.
21134         * sysdeps/x86_64/configure: Regenerated.
21135         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21136         Make code unconditional.
21137         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21138         Likewise.
21139         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21140         Likewise.
21141         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21142         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21143         code unconditional.
21144         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21145         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21146         code unconditional.
21147         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21148         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21149         code unconditional.
21150         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21151         code unconditional.
21152         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21153         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21154         code unconditional.
21155         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21156         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21157         code unconditional.
21158         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21159         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21160         code unconditional.
21161         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21162         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21163         code unconditional.
21164         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21165         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21167         [BZ #19095]
21168         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21169         mantissa to long int before shifting left.
21171 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21173         [BZ #19094]
21174         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21175         <limits.h>.
21176         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21177         when result overflows but exception would not result from cast.
21178         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21179         <limits.h>.
21180         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21181         when result overflows but exception would not result from cast.
21182         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21183         <limits.h>.
21184         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21185         when result overflows but exception would not result from cast.
21186         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21187         <limits.h>.
21188         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21189         when result overflows but exception would not result from cast.
21190         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21191         <limits.h>.
21192         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21193         when result overflows but exception would not result from cast.
21194         * math/libm-test.inc (lrint_test_data): Add more tests.
21195         (llrint_test_data): Likewise.
21197 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21199         [BZ #18872]
21200         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21201         Move out from under [$(run-built-tests) = yes] conditional.
21202         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21203         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21205 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21207         [BZ #18589]
21208         * string/Makefile (tests): Add bug-strcoll2.
21209         (LOCALES): Add cs_CZ.UTF-8.
21210         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21212         [BZ #18589]
21213         * string/bug-strcoll2.c: New file.
21214         * locale/categories.def: Revert commit
21215         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21216         * locale/langinfo.h: Likewise.
21217         * locale/localeinfo.h: Likewise.
21218         * locale/C-collate.c: Likewise.
21219         * locale/programs/ld-collate.c (collate_output): Likewise.
21220         * string/strcoll_l.c (STRDIFF): Likewise.
21221         (STRCOLL): Likewise.
21222         * wcsmbs/wcscoll_l.c: Likewise.
21224 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21226         * math/libm-test.inc (lround_test_data): Do not expect the absence
21227         of "inexact" for some tests with non-integer arguments.
21228         (llround_test_data): Likewise.
21230         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21231         test.
21232         (libc_cv_cc_sse2avx): Likewise.
21233         * sysdeps/i386/configure: Regenerated.
21234         * sysdeps/i386/i686/multiarch/Makefile
21235         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21236         [$(subdir) = math].
21237         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21238         code unconditional.
21239         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21240         Likewise.
21241         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21242         Likewise.
21243         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21244         Likewise.
21245         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21246         test.
21247         (libc_cv_cc_sse2avx): Likewise.
21248         * sysdeps/x86_64/configure: Regenerated.
21249         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21250         unconditional.
21251         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21252         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21253         unconditional.
21254         (_dl_runtime_profile)
21255         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21256         conditional code.
21257         * sysdeps/x86_64/fpu/multiarch/Makefile
21258         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21259         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21261         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21262         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21263         * sysdeps/x86_64/fpu/multiarch/e_log.c
21264         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21265         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21266         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21267         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21268         Likewise.
21269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21270         Likewise.
21271         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21272         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21273         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21274         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21275         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21276         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21277         (HAVE_SSE2AVX_SUPPORT): Likewise.
21279 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21281         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21282         instead of #pragma optimize.
21284 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21286         [BZ #17195]
21287         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21288         as is similarly done in systrim and _int_free already.
21290 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21292         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21294 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21296         [BZ #19088]
21297         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21298         <limits.h>.
21299         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21300         overflows but exception would not result from cast.
21301         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21302         and <limits.h>.
21303         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21304         overflows but exception would not result from cast.
21305         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21306         <limits.h>.
21307         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21308         overflows but exception would not result from cast.
21309         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21310         <limits.h>.
21311         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21312         overflows but exception would not result from cast.
21313         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21314         <limits.h>.
21315         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21316         overflows but exception would not result from cast.
21317         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21318         <limits.h>.
21319         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21320         overflows but exception would not result from cast.
21321         * math/libm-test.inc (lround_test_data): Add more tests.
21322         (llround_test_data): Likewise.
21324 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21326         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21327         (CFLAGS-ialloc.c): Ditto.
21328         (CFLAGS-scheck.c): Ditto.
21330 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21332         [BZ #19086]
21333         * manual/filesys.texi (Storage Allocation): Fix argument order for
21334         posix_fallocate64.
21336 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21338         [BZ #19085]
21339         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21340         exponent below 48 inside case for non-overflowing exponent.
21341         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21343 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21345         * iconvdata/cp737.h (from_idx): Add const.
21346         * iconvdata/cp775.h (from_idx): Likewise.
21348 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21350         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21351         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21352         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21354         [BZ #19079]
21355         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21356         file, conditioned on [!_LP64].
21357         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21358         [!_LP64] (__lround): Do not define as function or alias.
21359         [!_LP64] (lround): Likewise.
21360         [!_LP64] (__lroundl): Likewise.
21361         [!_LP64] (lroundl): Likewise.
21362         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21363         macro.
21364         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21365         Likewise.
21367 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21369         * math/libm-test.inc (lrint_test_data): Add more tests.
21370         (llrint_test_data): Likewise.
21371         (lround_test_data): Likewise.
21372         (llround_test_data): Likewise.
21374         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21375         (llrint_test_data): Add tests used for lrint.
21377         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21378         test.
21379         * sysdeps/i386/configure: Regenerated.
21380         * sysdeps/i386/i686/multiarch/Makefile
21381         [$(config-cflags-sse4) = yes]: Make code unconditional.
21382         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21383         Likewise.
21384         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21385         Likewise.
21386         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21387         test.
21388         * sysdeps/x86_64/configure: Regenerated.
21389         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21390         Make code unconditional.
21391         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21392         Likewise.
21393         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21394         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21396         * scripts/rpm2dynsym.sh: Remove file.
21398 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21400         * configure.ac (libc_cv_cxx_thread_local): Define.
21401         * configure: Regenerate.
21402         * config.make.in (have-cxx-thread_local): Define.
21403         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21404         (LDLIBS-tst-thread_local1): Define.
21405         (tests): Add tst-thread_local1.
21406         [have-cxx-thread_local != yes] (tests-unsupported): Add
21407         tst-thread_local1.
21408         * nptl/tst-thread_local1.cc: New file.
21410 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21412         [BZ #19078]
21413         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21414         (u_thres): Likewise.
21415         (__expl): Determine whether to call __kernel_standard_l based on
21416         value of result, not argument.
21418         * math/libm-test.inc (scalb_test_data): Add more expectations for
21419         the "inexact" exception.
21421         [BZ #19077]
21422         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21423         0.0L for argument 1.0L.
21425         [BZ #19076]
21426         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21427         constant 0.0L when computing infinite result.
21429 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21431         [BZ #10432]
21432         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21433         malloc_usable_size.
21435 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21437         [BZ #19018]
21438         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21439         Mangle function pointer before storing it.
21440         (__call_tls_dtors): Demangle function pointer before calling it.
21442 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21444         [BZ #19012]
21445         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21446         Clean up on failure.
21448 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21450         [BZ #19071]
21451         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21452         long int variable to store possibly incremented high part of
21453         mantissa.
21454         * math/libm-test.inc (lround_test_data): Add tests used for
21455         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21456         for tests requiring 64-bit long.  Do not condition tests on
21457         [TEST_FLOAT] unnecessarily.
21458         (llround_test_data): Add tests used for lround.  Add another
21459         expectation for the "inexact" exception.  Do not condition tests
21460         on [TEST_FLOAT] unnecessarily.
21462         [BZ #887]
21463         [BZ #19049]
21464         [BZ #19050]
21465         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21466         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21467         <fix-int-fp-convert-zero.h>.
21468         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21469         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21470         <fix-int-fp-convert-zero.h>.
21471         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21472         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21473         <fix-int-fp-convert-zero.h>.
21474         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21475         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21476         <fix-int-fp-convert-zero.h>.
21477         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21478         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21479         <fix-int-fp-convert-zero.h>.
21480         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21481         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21482         <fix-int-fp-convert-zero.h>.
21483         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21484         * sysdeps/ieee754/flt-32/s_erff.c: Include
21485         <fix-int-fp-convert-zero.h>.
21486         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21487         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21488         <fix-int-fp-convert-zero.h>.
21489         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21490         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21491         <fix-int-fp-convert-zero.h>.
21492         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21493         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21494         <fix-int-fp-convert-zero.h>.
21495         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21496         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21497         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21498         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21499         file.
21500         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21502 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21506 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21508         [BZ #19059]
21509         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21510         overflowing computation.
21511         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21512         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21514         Likewise.
21515         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21516         Likewise.
21517         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21518         Likewise.
21519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21520         Likewise.
21521         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21522         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21523         Likewise.
21524         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21525         Likewise.
21526         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21528         * nss/rewrite_field.c (__nss_rewrite_field): Use
21529         internal_function.
21530         * nss/valid_field.c (__nss_valid_field): Likewise.
21531         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21533 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21535         [BZ #18724]
21536         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21537         (__nss_invalid_field_characters, __nss_valid_field)
21538         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21539         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21540         tst-field.c: New file.
21541         * nss/Makefile (routines): Add valid_field, rewrite_field.
21542         (tests-static): Define unconditionally.
21543         (tests): Include tests-static.
21544         [build-static-nss] (tests-static): Use append.
21545         [build-static-nss] (tests): Remove modification.
21546         * nss/getent.c (print_group): Call putgrent.  Report error.
21547         (print_gshadow): Call putsgent.  Report error.
21548         (print_passwd): Call putpwent.  Report error.
21549         (print_shadow): Call putspent.  Report error.
21550         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21551         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21552         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21553         name, password, directory, shell fields for valid syntax.  Rewrite
21554         GECOS field to match syntax.
21555         * pwd/Makefile (tests): Add tst-putpwent.
21556         * pwd/tst-putpwent.c: New file.
21557         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21558         Check grName, grpasswd, gr_mem fields for valid syntax.
21559         Change loop variable i to size_t.
21560         * grp/Makefile (tests): Add tst-putgrent.
21561         * grp/tst-putgrent.c: New file.
21562         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21563         valid syntax.
21564         * shadow/Makefile (tests): Add tst-putspent.
21565         * shadow/tst-putspent.c: New file.
21566         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21567         sg_mem fields for valid syntax.
21568         * gshadow/Makefile (tests): Add tst-putsgent.
21569         * gshadow/tst-putsgent.c: New file.
21571 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21573         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21574         assembly instructions.
21576 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21578         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21579         prefix from operands.
21581 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21583         [BZ #16347]
21584         [BZ #19046]
21585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21586         <libc-internal.h>.
21587         (MAXLGM): Do not use diagnostic control macros.
21588         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21589         threshold for ldbl-128ibm.
21590         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21591         instead of multiplying by log then subtracting.
21592         * math/auto-libm-test-in: Add more tests of lgamma.
21593         * math/auto-libm-test-out: Regenerated.
21595         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21596         (TYPE_HEX_DIG): Likewise.
21597         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21598         precisions when printing floating-point numbers.
21599         (check_float_internal): Likewise.
21601 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21603         [BZ #16620]
21604         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21605         of log (10) rounded downward to 48 bits.
21606         (log10_low): Use corresponding low part of log (10).
21608         [BZ #19032]
21609         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21610         compute result as (x - x) / (x - x) not as 0 / 0.
21611         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21612         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21614         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21615         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21616         and expm1.
21617         * math/auto-libm-test-out: Regenerated.
21618         * math/libm-test.inc (acos_test_data): Add more tests.
21619         (asin_test_data): Likewise.
21620         (asinh_test_data): Likewise.
21621         (atan_test_data): Likewise.
21622         (atanh_test_data): Likewise.
21623         (atan2_test_data): Likewise.
21624         (cbrt_test_data): Likewise.
21625         (ceil_test_data): Likewise.
21626         (copysign_test_data): Likewise.
21627         (cos_test_data): Likewise.
21628         (cosh_test_data): Likewise.
21629         (erf_test_data): Likewise.
21630         (erfc_test_data): Likewise.
21631         (exp_test_data): Likewise.
21632         (exp10_test_data): Likewise.
21633         (exp2_test_data): Likewise.
21634         (expm1_test_data): Likewise.
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21637 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21639         [BZ #19006]
21640         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21641         to ...
21642         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21643         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21644         to ...
21645         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21646         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21647         to ...
21648         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21649         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21650         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21651         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21652         to ...
21653         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21654         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21655         Moved to ...
21656         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21657         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21658         Moved to ...
21659         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21660         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21661         to ...
21662         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21664         Moved to ...
21665         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21666         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21667         to ...
21668         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21669         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21670         Removed.
21671         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21672         Likewise.
21673         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21674         Likewise.
21675         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21676         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21677         Likewise.
21678         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21679         Likewise.
21680         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21681         Likewise.
21682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21683         Likewise.
21684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21685         Likewise.
21686         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21687         Likewise.
21688         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21689         Likewise.
21690         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21691         Likewise.
21692         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21693         Likewise.
21694         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21695         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21696         Likewise.
21697         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21698         Likewise.
21699         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21700         Likewise.
21701         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21702         Likewise.
21703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21704         Likewise.
21705         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21706         Replace ../i486/pthread_cond_timedwait.S with
21707         ../pthread_cond_timedwait.S.
21709 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21711         * math/libm-test.inc (acos_test_data): Refine expectations for
21712         errno and "inexact" exceptions.
21713         (acosh_test_data): Likewise.
21714         (asin_test_data): Likewise.
21715         (asinh_test_data): Likewise.
21716         (atan_test_data): Likewise.
21717         (atanh_test_data): Likewise.
21718         (atan2_test_data): Likewise.
21719         (cbrt_test_data): Likewise.
21720         (ceil_test_data): Likewise.
21721         (copysign_test_data): Likewise.
21722         (cosh_test_data): Likewise.
21723         (erf_test_data): Likewise.
21724         (erfc_test_data): Likewise.
21725         (exp_test_data): Likewise.
21726         (exp10_test_data): Likewise.
21727         (exp2_test_data): Likewise.
21728         (expm1_test_data): Likewise.
21729         (fabs_test_data): Likewise.
21730         (floor_test_data): Likewise.
21731         (fma_test_data): Likewise.
21732         (fmax_test_data): Likewise.
21733         (fmin_test_data): Likewise.
21734         (fmod_test_data): Likewise.
21735         (fpclassify_test_data): Likewise.
21736         (frexp_test_data): Likewise.
21737         (hypot_test_data): Likewise.
21738         (ilogb_test_data): Likewise.
21739         (isgreater_test_data): Likewise.
21740         (isgreaterequal_test_data): Likewise.
21741         (isinf_test_data): Likewise.
21742         (isless_test_data): Likewise.
21743         (islessequal_test_data): Likewise.
21744         (islessgreater_test_data): Likewise.
21745         (isnan_test_data): Likewise.
21746         (isnormal_test_data): Likewise.
21747         (issignaling_test_data): Likewise.
21748         (isunordered_test_data): Likewise.
21749         (j0_test_data): Likewise.
21750         (j1_test_data): Likewise.
21751         (jn_test_data): Likewise.
21752         (lgamma_test_data): Likewise.
21753         (lrint_test_data): Likewise.
21754         (llrint_test_data): Likewise.
21755         (log_test_data): Likewise.
21756         (log10_test_data): Likewise.
21757         (log1p_test_data): Likewise.
21758         (log2_test_data): Likewise.
21759         (logb_test_data): Likewise.
21760         (lround_test_data): Likewise.
21761         (llround_test_data): Likewise.
21762         (modf_test_data): Likewise.
21763         (nearbyint_test_data): Likewise.
21764         (nextafter_test_data): Likewise.
21765         (nexttoward_test_data): Likewise.
21766         (pow_test_data): Likewise.
21767         (remainder_test_data): Likewise.
21768         (remquo_test_data): Likewise.
21769         (rint_test_data): Likewise.
21770         (round_test_data): Likewise.
21771         (signbit_test_data): Likewise.
21772         (sinh_test_data): Likewise.
21773         (sqrt_test_data): Likewise.
21774         (tanh_test_data): Likewise.
21775         (tgamma_test_data): Likewise.
21776         (trunc_test_data): Likewise.
21777         (y0_test_data): Likewise.
21778         (y1_test_data): Likewise.
21779         (yn_test_data): Likewise.
21780         (significand_test_data): Likewise.
21782 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21784         * manual/filesys.texi (Storage Allocation): Document that
21785         posix_fallocate emulation fails when fd is open with O_WRONLY.
21787 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21789         [BZ #19016]
21790         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21791         allow more cases with X^2 + Y^2 >= 0.5.
21792         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21793         normal element in sum instead of special-casing based on values of
21794         arguments.
21795         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21796         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21797         -1 as normal element in sum instead of special-casing based on
21798         values of arguments.
21799         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21800         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21801         (__x2y2m1): Update comment.
21802         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21803         as normal element in sum instead of special-casing based on values
21804         of arguments.
21805         * math/s_clog.c (__clog): Handle more cases using log1p without
21806         hypot.
21807         * math/s_clog10.c (__clog10): Likewise.
21808         * math/s_clog10f.c (__clog10f): Likewise.
21809         * math/s_clog10l.c (__clog10l): Likewise.
21810         * math/s_clogf.c (__clogf): Likewise.
21811         * math/s_clogl.c (__clogl): Likewise.
21812         * math/auto-libm-test-in: Add more tests of clog and clog10.
21813         * math/auto-libm-test-out: Regenerated.
21814         * sysdeps/i386/fpu/libm-test-ulps: Update.
21815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21817 2015-09-28  Martin Sebor  <msebor@redhat.com>
21819         [BZ #18969]
21820         * string/Makefile (LOCALES): Define.
21821         (gen-locales.mk): Include.
21822         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21823         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21824         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21825         on setlocale failure.
21827 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21829         [BZ #18985]
21830         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21831         (__strftime_internal): Likewise.
21832         * time/tst-strftime.c (do_bz18985): New test.
21833         (do_test): Call it.
21835 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21837         [BZ #18956]
21838         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21839         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21840         extracting high part.
21841         * math/auto-libm-test-in: Add another test of pow.
21842         * math/auto-libm-test-out: Regenerated.
21843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21845 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21847         [BZ #18825]
21848         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21849         New macro.
21850         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21851         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21852         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21853         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21854         DBL_NARROW_EVAL, reloading the PIC register as needed.
21855         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21856         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21857         FLT_NARROW_EVAL.  Use separate return path for case when first
21858         argument is NaN.
21859         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21860         DEFINE_LDBL_MIN.
21861         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21862         PIC register.
21863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21864         math_check_force_underflow_nonneg.
21865         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21866         underflow for subnormal result.
21867         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21868         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21869         math_check_force_underflow_nonneg.
21870         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21871         math_check_force_underflow.
21872         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21873         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21874         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21875         DEFINE_LDBL_MIN.
21876         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21877         * math/auto-libm-test-in: Add more tests of pow.
21878         * math/auto-libm-test-out: Regenerated.
21880 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21882         * nss/bug17079.c (init_test_items): Add diagnostic for
21883         inconsistent entries.
21884         (test_buffer_size): Skip inconsistent entries.
21886 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #13304]
21889         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21890         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21891         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21893         [BZ #13304]
21894         * sysdeps/microblaze/s_fma.c: New file.
21895         * sysdeps/microblaze/s_fmaf.c: Likewise.
21896         * sysdeps/microblaze/sfp-machine.h: Likewise.
21898 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21900         [BZ #17250]
21901         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21902         member.
21904 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21906         [BZ #18803]
21907         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21908         (MO): New macro.
21909         (__ieee754_hypot) [PIC]: Load PIC register.
21910         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21911         DBL_NARROW_EVAL.
21912         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21913         math_check_force_underflow_nonneg in case where result might be
21914         tiny.
21915         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21916         Likewise.
21917         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21918         Likewise.
21919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21920         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21921         * math/auto-libm-test-in: Add more tests of hypot.
21922         * math/auto-libm-test-out: Regenerated.
21924 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21926         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21928 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21930         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21931         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21932         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21933         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21934         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21935         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21936         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21938         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21939         LOAD_PIC_REG.
21941         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21942         (FLT_CHECK_FORCE_UFLOW): Likewise.
21943         (DBL_CHECK_FORCE_UFLOW): Likewise.
21944         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21945         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21946         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21947         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21948         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21949         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21950         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21951         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21952         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21953         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21954         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21955         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21956         (flt_min): Replace with use of DEFINE_FLT_MIN.
21957         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21958         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21959         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21960         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21961         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21962         (flt_min): Replace with use of DEFINE_FLT_MIN.
21963         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21964         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21965         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21966         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21967         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21968         (flt_min): Replace with use of DEFINE_FLT_MIN.
21969         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21970         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21971         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21972         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21973         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21974         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21975         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21976         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21977         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21978         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21979         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21980         (flt_min): Replace with use of DEFINE_FLT_MIN.
21981         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21982         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21983         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21984         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21985         main computation.
21986         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21987         (flt_min): Replace with use of DEFINE_FLT_MIN.
21988         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21989         main computation.
21990         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21991         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21992         (MO): New macro.
21993         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21994         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21995         (flt_min): Replace with use of DEFINE_FLT_MIN.
21996         (MO): New macro.
21997         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21998         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21999         (__log1pl): Use MO.
22001         [BZ #19003]
22002         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22003         $(config-cflags-nofma).
22005 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22007         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22009 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22011         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22012         (TWO127): Likewise.
22014         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22015         (min_of_type): Likewise.
22016         (math_check_force_underflow): Likewise.
22017         (math_check_force_underflow_nonneg): Likewise.
22018         (math_check_force_underflow_complex): Likewise.
22019         * math/e_exp2l.c (__ieee754_exp2l): Use
22020         math_check_force_underflow_nonneg.
22021         * math/k_casinh.c (__kernel_casinh): Likewise.
22022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22024         * math/s_catan.c (__catan): Use
22025         math_check_force_underflow_complex.
22026         * math/s_catanf.c (__catanf): Likewise.
22027         * math/s_catanh.c (__catanh): Likewise.
22028         * math/s_catanhf.c (__catanhf): Likewise.
22029         * math/s_catanhl.c (__catanhl): Likewise.
22030         * math/s_catanl.c (__catanl): Likewise.
22031         * math/s_ccosh.c (__ccosh): Likewise.
22032         * math/s_ccoshf.c (__ccoshf): Likewise.
22033         * math/s_ccoshl.c (__ccoshl): Likewise.
22034         * math/s_cexp.c (__cexp): Likewise.
22035         * math/s_cexpf.c (__cexpf): Likewise.
22036         * math/s_cexpl.c (__cexpl): Likewise.
22037         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22038         * math/s_clog10.c (__clog10): Likewise.
22039         * math/s_clog10f.c (__clog10f): Likewise.
22040         * math/s_clog10l.c (__clog10l): Likewise.
22041         * math/s_clogf.c (__clogf): Likewise.
22042         * math/s_clogl.c (__clogl): Likewise.
22043         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22044         * math/s_csinf.c (__csinf): Likewise.
22045         * math/s_csinh.c (__csinh): Likewise.
22046         * math/s_csinhf.c (__csinhf): Likewise.
22047         * math/s_csinhl.c (__csinhl): Likewise.
22048         * math/s_csinl.c (__csinl): Likewise.
22049         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22050         * math/s_csqrtf.c (__csqrtf): Likewise.
22051         * math/s_csqrtl.c (__csqrtl): Likewise.
22052         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22053         * math/s_ctanf.c (__ctanf): Likewise.
22054         * math/s_ctanh.c (__ctanh): Likewise.
22055         * math/s_ctanhf.c (__ctanhf): Likewise.
22056         * math/s_ctanhl.c (__ctanhl): Likewise.
22057         * math/s_ctanl.c (__ctanl): Likewise.
22058         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22059         instead of volatile.
22060         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22061         math_check_force_underflow.
22062         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22063         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22064         volatile when forcing underflow.
22065         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22066         math_check_force_underflow_nonneg.
22067         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22068         Likewise.
22069         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22070         math_check_force_underflow.
22071         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22072         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22073         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22074         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22075         math_check_force_underflow_nonneg.
22076         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22077         math_check_force_underflow.
22078         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22080         instead of volatile.
22081         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22082         math_check_force_underflow.
22083         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22084         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22085         math_check_force_underflow_nonneg.
22086         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22087         math_check_force_underflow.
22088         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22089         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22090         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22091         math_check_force_underflow_nonneg.
22092         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22093         Likewise.
22094         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22095         math_check_force_underflow.
22096         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22097         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22098         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22099         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22100         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22101         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22102         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22103         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22104         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22105         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22106         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22107         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22108         Likewise.
22109         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22110         math_check_force_underflow_nonneg.
22111         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22112         Likewise.
22113         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22114         math_check_force_underflow.
22115         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22116         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22117         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22118         Likewise.
22119         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22120         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22121         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22122         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22123         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22124         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22126         instead of volatile.
22127         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22128         math_check_force_underflow.
22129         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22130         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22131         math_check_force_underflow.
22132         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22133         Likewise.
22134         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22135         Use math_check_force_underflow_nonneg.
22136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22137         math_check_force_underflow.
22138         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22139         Likewise.
22140         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22141         Likewise.
22142         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22143         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22145         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22147         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22148         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22149         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22150         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22151         math_check_force_underflow_nonneg.
22152         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22153         math_check_force_underflow.
22154         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22155         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22156         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22157         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22158         math_check_force_underflow_nonneg.
22159         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22160         math_check_force_underflow.
22161         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22163         instead of volatile.
22164         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22165         math_check_force_underflow.
22167         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22168         * stdlib/strtod_l.c: Include <math_private.h>.
22169         (overflow_value): Use math_narrow_eval.
22170         (underflow_value): Likewise.
22171         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22172         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22173         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22174         (__ieee754_gamma_r): Likewise.
22175         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22176         Likewise.
22177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22178         Likewise.
22179         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22180         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22181         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22182         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22183         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22184         (__ieee754_gammaf_r): Likewise.
22185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22186         Likewise.
22187         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22188         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22189         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22190         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22191         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22192         volatile.
22193         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22194         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22195         math_narrow_eval.
22196         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22197         Likewise.
22198         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22199         Likewise.
22200         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22201         Likewise.
22202         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22203         volatile.
22204         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22206         math_narrow_eval.
22207         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22208         Likewise.
22209         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22210         Likewise.
22212 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22214         * nptl/Versions: Remove ignored symbols.
22216 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22218         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22219         * nss/Makefile (tests): Update.
22221 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22223         * nss/bug18287.c: New file.
22224         * nss/Makefile (tests): Add bug18287.
22226 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22228         * mach/Versions (__mach_host_self_): Add symbol.
22230 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22232         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22233         vm_page_size.
22235 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22237         Really fix sysdeps/i386/fpu/s_scalbn.S build
22239         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22240         (libc: GLIBC_2_22): Remove unused version set.
22242 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22244         * config.make.in (enable-timezone-tools): New variable.
22245         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22246         (enable_timezone_tools): Export to generated files.
22247         * configure: Regenerate.
22248         * INSTALL: Regenerate.
22249         * manual/install.texi (--disable-timezone-tools): Document new flag.
22250         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22251         ifeq ($(enable-timezone-tools),yes) check.
22253 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22255         * timezone/Makefile: Revert previous change.
22257         [BZ #18980]
22258         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22259         (DEFINE_DBL_MIN): Likewise.
22260         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22261         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22262         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22263         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22264         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22265         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22266         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22267         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22268         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22269         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22270         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22271         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22272         (flt_min): Replace with use of DEFINE_FLT_MIN.
22273         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22274         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22275         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22276         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22277         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22278         (flt_min): Replace with use of DEFINE_FLT_MIN.
22279         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22280         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22281         (flt_min): Replace with use of DEFINE_FLT_MIN.
22282         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22283         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22284         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22285         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22286         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22287         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22288         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22289         (__ieee754_pow): Use DBL_NARROW_EVAL.
22290         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22291         (__ieee754_powf): Use FLT_NARROW_EVAL.
22292         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22293         (__ieee754_expf_sse2): Convert double-precision result to single
22294         precision.
22295         * sysdeps/i386/fpu/libm-test-ulps: Update.
22297 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22299         * timezone/Makefile: Ignore unused variable errors due to private.h
22300         (time_t_min) and (time_t_max).
22301         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22302         Likewise.
22304 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22306         [BZ #18981]
22307         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22308         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22309         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22310         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22311         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22312         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22313         (__scalbn): Use DBL_NARROW_EVAL.
22314         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22315         (__scalbnf): Use FLT_NARROW_EVAL.
22317 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22319         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22320         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22321         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22322         * stdio-common/printf_fp.c (___printf_fp):
22323         Use signbit to get the sign. Use isinf macro to allow inlining.
22324         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22325         * stdio-common/printf_size.c (__printf_size): Likewise.
22327 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22329         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22331 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22333         [BZ #18980]
22334         * sysdeps/generic/math_private.h: Include <float.h>.
22335         (math_narrow_eval): New macro.
22336         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22337         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22338         math_narrow_eval on overflowing return value.
22339         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22340         Likewise.
22341         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22342         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22343         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22344         Likewise.
22345         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22347 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22349         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22350         * math/Makefile: Remove isinf_ns.c.
22351         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22352         * math/multc3.c (__multc3): Likewise.
22353         * math/s_casin.c (__casin): Likewise.
22354         * math/s_casinf.c (__casinf): Likewise.
22355         * math/s_casinl.c (__casinl): Likewise.
22356         * math/s_cproj.c (__cproj): Likewise.
22357         * math/s_cprojf.c (__cprojf): Likewise.
22358         * math/s_cprojl.c (__cprofl): Likewise.
22359         * math/s_ctan.c (__ctan): Likewise.
22360         * math/s_ctanf.c (__ctanf): Likewise.
22361         * math/s_ctanh.c (__ctanh): Likewise.
22362         * math/s_ctanhf.c (__ctanhf): Likewise.
22363         * math/s_ctanhl.c (__ctanhl): Likewise.
22364         * math/s_ctanl.c (__ctanl): Likewise.
22365         * math/w_fmod.c (__fmod): Likewise.
22366         * math/w_fmodf.c (__fmodf): Likewise.
22367         * math/w_fmodl.c (_fmodl): Likewise.
22368         * math/w_remainder.c (__remainder): Likewise.
22369         * math/w_remainderf.c (__remainderf): Likewise.
22370         * math/w_remainderl.c (__remainderl): Likewise.
22371         * math/w_scalb.c (__scalb): Likewise.
22372         * math/w_scalbf.c (__scalbf): Likewise.
22373         * math/w_scalbl.c (__scalbl): Likewise.
22374         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22375         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22376         with isinf.
22377         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22378         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22379         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22380         __isinf_nsf with isinf.
22381         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22382         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22383         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22384         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22385         with isinf.
22386         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22387         __isinf_nsl with isinf.
22388         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22389         with isinf.
22390         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22391         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22392         __isinf_nsl with isinf.
22393         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22394         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22395         with isinf.
22397 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22399         * resolv/base64.c (rcsid): Remove unused static.
22400         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22401         static.  (tqpi1): Likewise.
22402         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22403         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22404         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22405         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22406         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22407         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22408         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22409         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22410         Likewise.
22412 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22414         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22415         <nptl/pthreadP.h>.
22416         (_longjmp_unwind): Use __libc_ptf_call.
22417         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22419 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22421         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22422         * sysdeps/arm/__longjmp.S: Likewise.
22424 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22426         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22427         Use __builtin_signbit.
22428         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22429         Use __builtin_signbitf.
22430         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22431         Use __builtin_signbitl.
22432         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22433         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22435 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22437         [BZ #15367]
22438         [BZ #17441]
22440         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22441         * math/math.h (fpclassify): Use __builtin_fpclassify when
22442         available.  (signbit): Use __builtin_signbit(f/l).
22443         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22444         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22445         (isinf): Use __builtin_isinf_sign.
22447 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22449         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22450         * benchtests/bench-math-inlines.c: New benchmark.
22451         * benchtests/bench-util.h: New file.
22452         * benchtests/bench-util.c: New file.
22453         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22455 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22457         * elf/tst-dlmopen1.c: Define TEST_SO.
22458         (do_test): Use TEST_SO.
22460         * elf/dl-load.c: Include libc-internal.h.
22461         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22463 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22465         [BZ #17887]
22466         * time/strptime_l.c (__strptime_internal): Make %z accept
22467         [+-]HH:MM time zones.
22469 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22471         [BZ #17886]
22472         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22473         valid time zone.
22475 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22477         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22478         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22480         (__ASSUME_FDATASYNC): Delete.
22482 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22484         * conform/linknamespace.pl: Require weak undefined symbols to be
22485         in the standard namespace.
22486         (%strong_syms): Rename to %seen_syms.
22487         (%strong_seen): Rename to %seen_where.
22489 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22491         [BZ #18970]
22492         * misc/error.c (error): Replace pthread_setcancelstate with
22493         __pthread_setcancelstate.
22494         (error_at_line): Likewise.
22495         * posix/wordexp.c (parse_comm): Likewise.
22496         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22497         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22498         (__pthread_setcancelstate): This.
22499         (pthread_setcancelstate): Add an alias.
22500         * nptl/nptl-init.c (pthread_functions): Replace
22501         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22502         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22503         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22504         hidden_proto.
22505         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22506         it with hidden_def.
22507         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22508         (pthread_setcancelstate): Renamed to ...
22509         (__pthread_setcancelstate): This.
22510         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22511         __libc_ptf_call with __pthread_setcancelstate.
22513 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22514             Andreas Schwab  <schwab@suse.de>
22516         [BZ #17118]
22517         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22518         result when imaginary part of argument is infinite using sine and
22519         cosine.
22520         * math/s_ctanf.c (__ctanf): Likewise.
22521         * math/s_ctanl.c (__ctanl): Likewise.
22522         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22523         of result when real part of argument is infinite using sine and
22524         cosine.
22525         * math/s_ctanhf.c (__ctanhf): Likewise.
22526         * math/s_ctanhl.c (__ctanhl): Likewise.
22527         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22528         (ctanh_test_data): Add more tests of ctanh.
22530 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #15384]
22533         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22534         bit-mask as in subtraction.
22535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22536         Likewise.
22537         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22538         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22541         [BZ #18951]
22542         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22543         underflow exception for small results.
22544         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22545         Likewise.
22546         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22547         Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22549         Likewise.
22550         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22551         Likewise.
22552         * math/auto-libm-test-in: Add more tests of tgamma.
22553         * math/auto-libm-test-out: Regenerated.
22555 2015-09-17  Andreas Schwab  <schwab@suse.de>
22557         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22559 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22561         [BZ #18977]
22562         * math/bits/mathcalls.h
22563         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22564         not declare.
22565         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22566         Likewise.
22567         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22568         Likewise.
22569         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22570         Likewise.
22571         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22572         Likewise.
22573         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22574         Likewise.
22575         * conform/data/math.h-data
22576         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22577         function.
22578         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22579         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22580         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22581         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22582         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22583         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22584         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22585         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22586         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22587         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22588         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22590         [BZ #6803]
22591         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22592         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22593         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22594         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22595         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22596         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22597         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22598         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22599         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22601         Likewise.
22602         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22603         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22604         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22606         long_double_symbol calls.
22607         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22608         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22609         strong alias of __ldexpl.
22610         (scalbnl): Define using long_double_symbol.
22611         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22612         Remove alias.
22613         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22614         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22615         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22616         (scalbln_test_data): Add more errno expectations.
22618 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22620         Cache the host port like we cache the task port.  This way we do not
22621         need to call the kernel just to get the port.  Furthermore, we no
22622         longer increase the reference count on every invocation of
22623         `mach_host_self'.
22625         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22626         Protect declarations against the macro expansion.
22627         * mach/mach_init.c (__mach_host_self_): New variable.
22628         (mach_init): Initialize `__mach_host_self_'.
22629         * mach/mach_init.h (__mach_host_self_): New declaration.
22630         (__mach_host_self, mach_host_self): New macros.
22631         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22632         Release reference.
22634 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #4404]
22637         * po/de.po: Update from Translation Project.
22639         [BZ #16415]
22640         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22641         (__expm1l): Remove code to handle positive infinity and overflow.
22642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22643         variable.
22644         (__expm1l): Remove code to handle positive infinity and overflow.
22646 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22647             Paul Pluzhnikov  <ppluzhnikov@google.com>
22649         [BZ #18872]
22650         * stdio-common/Makefile (tst-printf-bz18872): New test.
22651         (tst-printf-bz18872-mem.out): Likewise.
22652         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22653         * stdio-common/vfprintf.c: Fix memory leaks.
22655 2015-09-16  Andreas Schwab  <schwab@suse.de>
22657         [BZ #17244]
22658         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22659         Remove extra va_start/va_end calls.
22661         [BZ #17243]
22662         * posix/execl.c (execl): Add missing va_end.
22663         * posix/execle.c (execle): Likewise.
22664         * posix/execlp.c (execlp): Likewise.
22666 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22668         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22669         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22671 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22673         [BZ #18967]
22674         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22675         undefine around includes of <bits/mathcalls.h>.
22676         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22677         not declare function.
22678         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22679         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22680         (scalb): Likewise.
22681         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22682         not define macro.
22683         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22684         variable.
22685         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22686         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22687         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22689         [BZ #18857]
22690         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22691         return non-finite argument without doing ordered comparisons on
22692         it.
22694         [BZ #16296]
22695         * math/fenv.h (fegetround): Use __attribute_pure__.
22696         * include/fenv.h (__fegetround): Likewise.
22698         [BZ #18595]
22699         * math/s_ctan.c (__ctan): Force underflow exception for results
22700         whose real or imaginary part has small absolute value.
22701         * math/s_ctanf.c (__ctanf): Likewise.
22702         * math/s_ctanh.c (__ctanh): Likewise.
22703         * math/s_ctanhf.c (__ctanhf): Likewise.
22704         * math/s_ctanhl.c (__ctanhl): Likewise.
22705         * math/s_ctanl.c (__ctanl): Likewise.
22706         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22707         and ctanh.  Add more tests of ctan and ctanh.
22709         [BZ #15918]
22710         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22711         handling of cases where one argument is an infinity.
22713         [BZ #18875]
22714         [BZ #18966]
22715         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22716         (MO): New macro.
22717         (__ieee754_exp10): For small results, force underflow exception
22718         and remove excess range and precision from return value.
22719         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22720         (MO): New macro.
22721         (__ieee754_exp10f): For small results, force underflow exception
22722         and remove excess range and precision from return value.
22723         * math/auto-libm-test-in: Add more tests of exp10.
22724         * math/auto-libm-test-out: Regenerated.
22726 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22728         [BZ #18875]
22729         [BZ #18961]
22730         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22731         (MO): New macro.
22732         (__ieee754_exp): For small results, force underflow exception and
22733         remove excess range and precision from return value.
22734         (__exp_finite): Likewise.
22735         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22736         (MO): New macro.
22737         (__ieee754_expf): For small results, force underflow exception and
22738         remove excess range and precision from return value.
22739         (__expf_finite): Likewise.
22740         * math/auto-libm-test-in: Add more tests of exp.
22741         * math/auto-libm-test-out: Regenerated.
22743         [BZ #16521]
22744         [BZ #18875]
22745         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22746         small results.
22747         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22748         (MO): New macro.
22749         (__ieee754_exp2): For small results, force underflow exception and
22750         remove excess range and precision from return value.
22751         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22752         (MO): New macro.
22753         (__ieee754_exp2f): For small results, force underflow exception
22754         and remove excess range and precision from return value.
22755         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22756         (MO): New macro.
22757         (__ieee754_exp2l): Force underflow exception for small results.
22758         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22759         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22760         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22761         (MO): New macro.
22762         (__ieee754_exp2l): Force underflow exception for small results.
22763         * math/auto-libm-test-in: Add more tests or exp2.
22764         * math/auto-libm-test-out: Regenerated.
22766 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22768         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22770         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22771         /dev/null.
22773 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22775         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22776         io fs process)): Drop spurious backslash.
22778 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22781         Use sysinfo system call instead of parsing /proc/meminfo.
22782         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22783         Likewise.
22785 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22787         [BZ #16985]
22788         * programs/localedef.c (main): Display argv[remaining] when
22789         output_path is NULL.
22791 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22793         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22794         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22795         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22796         tanh.
22797         * math/auto-libm-test-out: Regenerated.
22798         * sysdeps/i386/fpu/libm-test-ulps: Update.
22799         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22800         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22803 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22805         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22806         Use 'override' keyword to freeze the value here, preventing
22807         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22809 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22811         [BZ #14912]
22812         * sysdeps/aarch64/bits/atomic.h: Move to ...
22813         * sysdeps/aarch64/atomic-machine.h: ...here.
22814         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22815         _AARCH64_ATOMIC_MACHINE_H.
22816         * sysdeps/alpha/bits/atomic.h: Move to ...
22817         * sysdeps/alpha/atomic-machine.h: ...here.
22818         * sysdeps/arm/bits/atomic.h: Move to ...
22819         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22820         * bits/atomic.h: Move to ...
22821         * sysdeps/generic/atomic-machine.h: ...here.
22822         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22823         * sysdeps/i386/bits/atomic.h: Move to ...
22824         * sysdeps/i386/atomic-machine.h: ...here.
22825         * sysdeps/ia64/bits/atomic.h: Move to ...
22826         * sysdeps/ia64/atomic-machine.h: ...here.
22827         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22828         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22829         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22830         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22831         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22832         * sysdeps/microblaze/bits/atomic.h: Move to ...
22833         * sysdeps/microblaze/atomic-machine.h: ...here.
22834         * sysdeps/mips/bits/atomic.h: Move to ...
22835         * sysdeps/mips/atomic-machine.h: ...here.
22836         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22837         * sysdeps/powerpc/bits/atomic.h: Move to ...
22838         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22839         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22840         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22841         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22842         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22843         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22844         <atomic-machine.h> instead of <bits/atomic.h>.
22845         * sysdeps/s390/bits/atomic.h: Move to ...
22846         * sysdeps/s390/atomic-machine.h: ...here.
22847         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22848         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22849         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22850         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22851         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22852         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22853         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22854         * sysdeps/tile/bits/atomic.h: Move to ...
22855         * sysdeps/tile/atomic-machine.h: ...here.
22856         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22857         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22858         <sysdeps/tile/atomic-machine.h> instead of
22859         <sysdeps/tile/bits/atomic.h>.
22860         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22861         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22862         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22863         <sysdeps/tile/atomic-machine.h> instead of
22864         <sysdeps/tile/bits/atomic.h>.
22865         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22866         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22867         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22868         <sysdeps/arm/atomic-machine.h> instead of
22869         <sysdeps/arm/bits/atomic.h>.
22870         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22871         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22872         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22873         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22874         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22875         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22876         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22877         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22878         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22879         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22880         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22881         * sysdeps/x86_64/bits/atomic.h: Move to ...
22882         * sysdeps/x86_64/atomic-machine.h: ...here.
22883         * include/atomic.h: Include <atomic-machine.h> instead of
22884         <bits/atomic.h>.
22886         * sysdeps/mips/mips32/libm-test-ulps: Update.
22887         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22889         [BZ #18952]
22890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22891         not convert non-integer negative arguments to int to determine the
22892         value of signgam.
22893         * math/auto-libm-test-in: Add more tests of lgamma.
22894         * math/auto-libm-test-out: Regenerated.
22896         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22897         cosh, csqrt, erfc, expm1 and lgamma.
22898         * math/auto-libm-test-out: Regenerated.
22899         * sysdeps/i386/fpu/libm-test-ulps: Update.
22900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22902 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22904         [BZ #2542]
22905         [BZ #2543]
22906         [BZ #2558]
22907         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22908         __lgamma_neg for arguments from -28.0 to -2.0.
22909         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22910         __lgamma_negf for arguments from -15.0 to -2.0.
22911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22912         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22913         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22914         Call __lgamma_negl for arguments from -33.0 to -2.0.
22915         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22916         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22917         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22918         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22919         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22920         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22921         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22922         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22923         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22924         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22925         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22926         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22927         (__lgamma_neg): Likewise.
22928         (__lgamma_negl): Likewise.
22929         (__lgamma_product): Likewise.
22930         (__lgamma_productl): Likewise.
22931         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22932         * math/auto-libm-test-in: Add more tests of lgamma.
22933         * math/auto-libm-test-out: Regenerated.
22934         * sysdeps/i386/fpu/libm-test-ulps: Update.
22935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22937 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22939         [BZ #18675]
22940         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22942 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22944         [BZ #14912]
22945         * bits/libc-lock.h: Move to ...
22946         * sysdeps/generic/libc-lock.h: ...here.
22947         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22948         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22949         * sysdeps/mach/hurd/libc-lock.h: ...here.
22950         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22951         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22952         * sysdeps/mach/bits/libc-lock.h: Move to ...
22953         * sysdeps/mach/libc-lock.h: ...here.
22954         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22955         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22956         * sysdeps/nptl/libc-lock.h: ...here.
22957         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22958         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22959         * sysdeps/nptl/libc-lockP.h: ...here.
22960         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22961         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22962         <bits/libc-lock.h>.
22963         * dirent/scandir-tail.c: Likewise.
22964         * dlfcn/dlerror.c: Likewise.
22965         * elf/dl-close.c: Likewise.
22966         * elf/dl-iteratephdr.c: Likewise.
22967         * elf/dl-lookup.c: Likewise.
22968         * elf/dl-open.c: Likewise.
22969         * elf/dl-support.c: Likewise.
22970         * elf/dl-writev.h: Likewise.
22971         * elf/rtld.c: Likewise.
22972         * grp/fgetgrent.c: Likewise.
22973         * gshadow/fgetsgent.c: Likewise.
22974         * gshadow/sgetsgent.c: Likewise.
22975         * iconv/gconv_conf.c: Likewise.
22976         * iconv/gconv_db.c: Likewise.
22977         * iconv/gconv_dl.c: Likewise.
22978         * iconv/gconv_int.h: Likewise.
22979         * iconv/gconv_trans.c: Likewise.
22980         * include/link.h: Likewise.
22981         * inet/getnameinfo.c: Likewise.
22982         * inet/getnetgrent.c: Likewise.
22983         * inet/getnetgrent_r.c: Likewise.
22984         * intl/bindtextdom.c: Likewise.
22985         * intl/dcigettext.c: Likewise.
22986         * intl/finddomain.c: Likewise.
22987         * intl/gettextP.h: Likewise.
22988         * intl/loadmsgcat.c: Likewise.
22989         * intl/localealias.c: Likewise.
22990         * intl/textdomain.c: Likewise.
22991         * libidn/idn-stub.c: Likewise.
22992         * libio/libioP.h: Likewise.
22993         * locale/duplocale.c: Likewise.
22994         * locale/freelocale.c: Likewise.
22995         * locale/newlocale.c: Likewise.
22996         * locale/setlocale.c: Likewise.
22997         * login/getutent_r.c: Likewise.
22998         * login/getutid_r.c: Likewise.
22999         * login/getutline_r.c: Likewise.
23000         * login/utmp-private.h: Likewise.
23001         * login/utmpname.c: Likewise.
23002         * malloc/mtrace.c: Likewise.
23003         * misc/efgcvt.c: Likewise.
23004         * misc/error.c: Likewise.
23005         * misc/fstab.c: Likewise.
23006         * misc/getpass.c: Likewise.
23007         * misc/mntent.c: Likewise.
23008         * misc/syslog.c: Likewise.
23009         * nis/nis_call.c: Likewise.
23010         * nis/nis_callback.c: Likewise.
23011         * nis/nss-default.c: Likewise.
23012         * nis/nss_compat/compat-grp.c: Likewise.
23013         * nis/nss_compat/compat-initgroups.c: Likewise.
23014         * nis/nss_compat/compat-pwd.c: Likewise.
23015         * nis/nss_compat/compat-spwd.c: Likewise.
23016         * nis/nss_nis/nis-alias.c: Likewise.
23017         * nis/nss_nis/nis-ethers.c: Likewise.
23018         * nis/nss_nis/nis-grp.c: Likewise.
23019         * nis/nss_nis/nis-hosts.c: Likewise.
23020         * nis/nss_nis/nis-network.c: Likewise.
23021         * nis/nss_nis/nis-proto.c: Likewise.
23022         * nis/nss_nis/nis-pwd.c: Likewise.
23023         * nis/nss_nis/nis-rpc.c: Likewise.
23024         * nis/nss_nis/nis-service.c: Likewise.
23025         * nis/nss_nis/nis-spwd.c: Likewise.
23026         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23027         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23028         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23029         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23030         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23031         * nis/nss_nisplus/nisplus-network.c: Likewise.
23032         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23033         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23034         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23035         * nis/nss_nisplus/nisplus-service.c: Likewise.
23036         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23037         * nis/ypclnt.c: Likewise.
23038         * nptl/libc_pthread_init.c: Likewise.
23039         * nss/getXXbyYY.c: Likewise.
23040         * nss/getXXent.c: Likewise.
23041         * nss/getXXent_r.c: Likewise.
23042         * nss/nss_db/db-XXX.c: Likewise.
23043         * nss/nss_db/db-netgrp.c: Likewise.
23044         * nss/nss_db/nss_db.h: Likewise.
23045         * nss/nss_files/files-XXX.c: Likewise.
23046         * nss/nss_files/files-alias.c: Likewise.
23047         * nss/nsswitch.c: Likewise.
23048         * posix/regex_internal.h: Likewise.
23049         * posix/wordexp.c: Likewise.
23050         * pwd/fgetpwent.c: Likewise.
23051         * resolv/res_hconf.c: Likewise.
23052         * resolv/res_libc.c: Likewise.
23053         * shadow/fgetspent.c: Likewise.
23054         * shadow/lckpwdf.c: Likewise.
23055         * shadow/sgetspent.c: Likewise.
23056         * socket/opensock.c: Likewise.
23057         * stdio-common/reg-modifier.c: Likewise.
23058         * stdio-common/reg-printf.c: Likewise.
23059         * stdio-common/reg-type.c: Likewise.
23060         * stdio-common/vfprintf.c: Likewise.
23061         * stdio-common/vfscanf.c: Likewise.
23062         * stdlib/abort.c: Likewise.
23063         * stdlib/cxa_atexit.c: Likewise.
23064         * stdlib/fmtmsg.c: Likewise.
23065         * stdlib/random.c: Likewise.
23066         * stdlib/setenv.c: Likewise.
23067         * string/strsignal.c: Likewise.
23068         * sunrpc/auth_none.c: Likewise.
23069         * sunrpc/bindrsvprt.c: Likewise.
23070         * sunrpc/create_xid.c: Likewise.
23071         * sunrpc/key_call.c: Likewise.
23072         * sunrpc/rpc_thread.c: Likewise.
23073         * sysdeps/arm/backtrace.c: Likewise.
23074         * sysdeps/generic/ldsodefs.h: Likewise.
23075         * sysdeps/generic/stdio-lock.h: Likewise.
23076         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23077         * sysdeps/i386/backtrace.c: Likewise.
23078         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23079         * sysdeps/m68k/backtrace.c: Likewise.
23080         * sysdeps/mach/hurd/cthreads.c: Likewise.
23081         * sysdeps/mach/hurd/dirstream.h: Likewise.
23082         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23083         * sysdeps/nptl/malloc-machine.h: Likewise.
23084         * sysdeps/nptl/stdio-lock.h: Likewise.
23085         * sysdeps/posix/dirstream.h: Likewise.
23086         * sysdeps/posix/getaddrinfo.c: Likewise.
23087         * sysdeps/posix/system.c: Likewise.
23088         * sysdeps/pthread/aio_suspend.c: Likewise.
23089         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23090         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23091         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23092         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23093         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23094         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23095         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23096         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23097         * sysdeps/unix/sysv/linux/system.c: Likewise.
23098         * sysdeps/x86_64/backtrace.c: Likewise.
23099         * time/alt_digit.c: Likewise.
23100         * time/era.c: Likewise.
23101         * time/tzset.c: Likewise.
23102         * wcsmbs/wcsmbsload.c: Likewise.
23103         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23104         instead of <bits/libc-lock.h> in comment.
23106 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23108         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23109         Only use .set mips2 if the current ISA is below mips2.
23110         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23111         Likewise.
23112         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23113         mips32r2 if the current ISA is below mips32r2.
23114         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23115         (TLS_IE): Updated to use the TLD_RDHWR macro.
23116         (TLS_LE): Likewise.
23117         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23118         __ASSEMBLER__ condition.
23120 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23122         Fix parallel build of before-compile targets.
23124         * sysdeps/mach/Makefile ($(patsubst
23125         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23126         mach-before-compile target.
23127         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23128         io fs process)): Move rule to dedicated hurd-before-compile target.
23130 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23132         Fix rules generating headers in hurd/ and mach/ when initial make call
23133         has subdir= explicitly set.
23135         * sysdeps/mach/Makefile ($(patsubst
23136         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23137         calling $(MAKE).
23138         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23139         io fs process)): Force subdir to hurd when calling $(MAKE).
23140         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23141         subdir to mach when calling $(MAKE).
23143 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23145         Check sysheaders when looking for Mach and Hurd headers
23147         * sysdeps/mach/configure.ac: Add sysheaders check.
23148         * sysdeps/mach/configure: Regenerate.
23149         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23150         * sysdeps/mach/hurd/configure: Regenerate.
23152 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23154         [BZ #18921]
23155         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23156         Fix inverted sense of test of 'o_directory_works' value.
23157         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23158         Bernhard Voelker <mail@bernhard-voelker.de>.
23160 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23162         [BZ #14912]
23163         * bits/linkmap.h: Move to ...
23164         * sysdeps/generic/linkmap.h: ...here.
23165         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23166         * sysdeps/aarch64/linkmap.h: ...here.
23167         * sysdeps/arm/bits/linkmap.h: Move to ...
23168         * sysdeps/arm/linkmap.h: ...here.
23169         * sysdeps/hppa/bits/linkmap.h: Move to ...
23170         * sysdeps/hppa/linkmap.h: ...here.
23171         * sysdeps/ia64/bits/linkmap.h: Move to ...
23172         * sysdeps/ia64/linkmap.h: ...here.
23173         * sysdeps/mips/bits/linkmap.h: Move to ...
23174         * sysdeps/mips/linkmap.h: ...here.
23175         * sysdeps/s390/bits/linkmap.h: Move to ...
23176         * sysdeps/s390/linkmap.h: ...here.
23177         * sysdeps/sh/bits/linkmap.h: Move to ...
23178         * sysdeps/sh/linkmap.h: ...here.
23179         * sysdeps/x86/bits/linkmap.h: Move to ...
23180         * sysdeps/x86/linkmap.h: ...here.
23181         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23183 2015-09-04  Andreas Schwab  <schwab@suse.de>
23185         [BZ #18635]
23186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23187         (__makecontext): Terminate FDE before return label.
23188         (__novec_makecontext): Likewise.
23190 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23192         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23193         first member of struct sv in syscall macro.
23195 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23197         [BZ #14912]
23198         * bits/stdio-lock.h: Move to ...
23199         * sysdeps/generic/stdio-lock.h: ...here.
23200         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23201         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23202         * sysdeps/nptl/stdio-lock.h: ...here.
23203         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23204         * include/libio.h: Include <stdio-lock.h> instead of
23205         <bits/stdio-lock.h>.
23206         * sysdeps/nptl/fork.c: Likewise.
23207         * sysdeps/pthread/flockfile.c: Likewise.
23208         * sysdeps/pthread/ftrylockfile.c: Likewise.
23209         * sysdeps/pthread/funlockfile.c: Likewise.
23211         [BZ #14912]
23212         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23213         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23214         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23215         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23216         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23217         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23218         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23220 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23222         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23223         (test-xfail-tst-protected1b): New variable.
23225 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23227         [BZ #14912]
23228         * bits/libc-tsd.h: Move to ...
23229         * sysdeps/generic/libc-tsd.h: ...here.
23230         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23231         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23232         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23233         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23234         * include/ctype.h: Include <libc-tsd.h> instead of
23235         <bits/libc-tsd.h>.
23236         * include/rpc/rpc.h: Likewise.
23237         * locale/localeinfo.h: Likewise.
23238         * sunrpc/rpc_thread.c: Likewise.
23239         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23240         * sysdeps/nptl/malloc-machine.h: Likewise.
23242         * Makefile (headers): Remove bits/libc-lock.h.
23243         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23245         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23246         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23247         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23248         <bits/stdio-lock.h>.
23249         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23250         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23252 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23254         [BZ #18757]
23255         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23256         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23257         BZ #18757.
23259 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23261         * malloc/mtrace.pl: Filter out NULL entries.
23263 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23265         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23266         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23267         macro.
23269         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23270         (TCP_CC_INFO): Likewise.
23271         (TCP_SAVE_SYN): Likewise.
23272         (TCP_SAVED_SYN): Likewise.
23274 2015-08-31  Brett Neumeier <brett@neumeier.us>
23276         [BZ #18870]
23277         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23279 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23281         [BZ #18873]
23282         Fix broken overflow check in posix_fallocate
23283         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23284         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23285         Fix parenthesization typo.
23287 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23289         [BZ #18887]
23290         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23291         tst-mntent-blank-passno.
23292         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23293         * misc/tst-mntent-blank-corrupt.c: New test.
23294         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23295         * misc/tst-mntent.c (do_test): ... here.
23297 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23299         [BZ #4404]
23300         * po/de.po: Fix SIGALRM typo.
23302 2015-08-28  James Perkins  <james@loowit.net>
23304         * time/tst-strptime2.c (tests): Replace short list of test
23305         strings for strptime %z specifier with code which exhaustively
23306         tests every combination of sign and 0 to 5 digits. Tests for
23307         rejection of invalid strings.
23309 2015-08-28  James Perkins  <james@loowit.net>
23311         [BZ #16141]
23312         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23313         calculation, removing incorrect decimal time rounding, so that
23314         all minute values result in a valid seconds value.
23315         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23316         offset range limits to UTC-99:59 through UTC+99:59 to parse
23317         current and historical use cases.
23318         * time/tst-strptime2.c (tests): Modify and add tests for the
23319         strptime %z input field descriptor, specifically conversion of
23320         minutes to seconds and validating an offset range of -9959 to
23321         +9959.
23323 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23324             Dmitry V. Levin  <ldv@altlinux.org>
23326         [BZ #18877]
23327         * posix/Makefile (tests): Add tst-mmap-offset.
23328         * posix/tst-mmap.c: New file.
23329         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23330         offset calculation for negative values.
23332 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23334         * sysdeps/i386/init-arch.h: New file.
23335         * sysdeps/i386/i586/init-arch.h: Likewise.
23336         * sysdeps/i386/i686/init-arch.h: Likewise.
23337         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23338         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23339         * sysdeps/x86/cpu-features.h (bit_I586): New.
23340         (bit_I686): Likewise.
23341         (bit_CX8): Likewise.
23342         (bit_CMOV): Likewise.
23343         (index_CX8): Likewise.
23344         (index_CMOV): Likewise.
23345         (index_I586): Likewise.
23346         (index_I686): Likewise.
23347         (reg_CX8): Likewise.
23348         (reg_CMOV): Likewise.
23349         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23350         available at compile-time.
23351         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23352         available at compile-time.
23353         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23354         (USE_I686): Likewise.
23356 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23358         * sysdeps/i386/bcopy.S: New file.
23359         * sysdeps/i386/bzero.S: Likewise.
23360         * sysdeps/i386/memcpy.S: Likewise.
23361         * sysdeps/i386/memmove.S: Likewise.
23362         * sysdeps/i386/mempcpy.S: Likewise.
23363         * sysdeps/i386/memset.S: Likewise.
23364         * sysdeps/i386/bzero.c: Removed.
23365         * sysdeps/i386/memset.c: Likewise.
23366         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23367         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23368         * sysdeps/i386/i586/memset_chk.S: Likewise.
23369         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23370         * sysdeps/i386/memcpy_chk.S: Here.
23371         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23372         * sysdeps/i386/memmove_chk.S: Here.
23373         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23374         * sysdeps/i386/mempcpy_chk.S: Likewise.
23375         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23376         * sysdeps/i386/memset_chk.S: Likewise.
23378 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23380         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23381         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23382         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23383         * soft-fp/fmadf4.c: Ditto.
23384         * soft-fp/fmatf4.c: Ditto.
23386 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23388         * sysdeps/i386/i586/Implies: Removed.
23389         * sysdeps/i386/i686/Implies: Likewise.
23391 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23393         * sysdeps/i386/i486/strlen.S: Moved to ...
23394         * sysdeps/i386/strlen.S: Here.
23396 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23398         * sysdeps/i386/i486/strcat.S: Moved to ...
23399         * sysdeps/i386/strcat.S: Here.
23401 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23403         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23404         * sysdeps/i386/pthread_spin_trylock.S: Here.
23405         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23406         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23408 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23410         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23411         * sysdeps/i386/string-inlines.c: Here.
23413 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23415         * sysdeps/i386/i486/htonl.S: Moved ...
23416         * sysdeps/i386/htonl.S: here.
23418 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23420         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23421         * sysdeps/i386/bits/atomic.h: Here.
23423 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23425         * sysdeps/i386/i486/Versions: Removed.
23427 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23429         [BZ #2898]
23430         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23431         Based on patch by Aurelien Jarno.
23433 2015-08-26  Stan Shebs  <stanshebs@google.com>
23435         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23436         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23438 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23440         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23441         * sysdeps/powerpc/dl-procinfo.c:
23442         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23443         feature so it shows when LD_SHOW_AUXV=1.
23445 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23447         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23448         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23449         definition.  ISA 2.07B no longer requires full sync.
23451 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23453         [BZ #18863]
23454         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23455         (si_call_addr): Define.
23456         (si_syscall): Define.
23457         (si_arch): Define.
23459 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23461         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23462         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23463         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23464         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23465         (__memset_zero_constant_len_parameter): New.
23466         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23467         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23468         (__memset_zero_constant_len_parameter): Don't define if
23469         __memset_chk or USE_AS_BZERO are defined.
23471         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23472         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23473         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23475         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23476         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23477         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23478         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23479         comments.
23480         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23481         -mno-mmx for $(all-rtld-routines).
23482         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23483         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23484         i386.
23486 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23488         * sysdeps/generic/unwind.h
23489         (_Unwind_Word): Use __mode__(__unwind_word__)
23490         instead of __mode__(__word__).
23491         (_Unwind_Sword): Likewise.
23493         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23494         (MAX_NEEDED_INPUT): New define.
23495         (MAX_NEEDED_OUTPUT): New define.
23497         * NEWS: New item for IBM z13 string optimizations.
23499         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23500         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23501         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23502         * sysdeps/s390/multiarch/Makefile
23503         (sysdep_routines): Add memrchr functions.
23504         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23505         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23507         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23508         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23509         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23510         * sysdeps/s390/multiarch/Makefile
23511         (sysdep_routines): Add wmemcmp functions.
23512         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23513         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23514         * benchtests/bench-wmemcmp.c: New File.
23515         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23517         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23518         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23519         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23520         * sysdeps/s390/multiarch/Makefile
23521         (sysdep_routines): Add wmemset functions.
23522         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23523         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23524         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23525         * string/test-memset.c: Add wmemset support.
23526         * wcsmbs/test-wmemset.c: New File.
23527         * wcsmbs/Makefile (strop-tests): Add wmemset.
23528         * benchtests/bench-memset.c: Add wmemset support.
23529         * benchtests/bench-wmemset.c: New File.
23530         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23532         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23533         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23534         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23535         * sysdeps/s390/multiarch/Makefile
23536         (sysdep_routines): Add memccpy functions.
23537         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23538         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23539         * string/memccpy.c: Use MEMCCPY if defined.
23541         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23542         * sysdeps/s390/multiarch/memchr.c: Likewise.
23543         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23544         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23545         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23546         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23547         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23548         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23549         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23550         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23551         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23552         and rawmemchr functions.
23553         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23554         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23555         and wmemchr.
23556         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23557         * string/test-memchr.c: Add wmemchr support.
23558         * wcsmbs/test-wmemchr.c: New File.
23559         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23560         * benchtests/bench-memchr.c: Add wmemchr support.
23561         * benchtests/bench-wmemchr.c: New File.
23562         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23564         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23565         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23566         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23567         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23568         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23569         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23570         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23571         wcscspn functions.
23572         * sysdeps/s390/multiarch/ifunc-impl-list.c
23573         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23574         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23575         * string/test-strcspn.c: Add wcscspn support.
23576         * wcsmbs/test-wcscspn.c: New File.
23577         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23578         * benchtests/bench-strcspn.c: Add wcscspn support.
23579         * benchtests/bench-wcscspn.c: New File.
23580         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23582         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23583         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23584         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23585         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23586         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23587         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23589         wcspbrk functions.
23590         * sysdeps/s390/multiarch/ifunc-impl-list.c
23591         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23592         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23593         * string/test-strpbrk.c: Add wcspbrk support.
23594         * wcsmbs/test-wcspbrk.c: New File.
23595         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23596         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23597         * benchtests/bench-wcspbrk.c: New File.
23598         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23600         * sysdeps/s390/multiarch/strspn-c.c: New File.
23601         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23602         * sysdeps/s390/multiarch/strspn.c: Likewise.
23603         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23604         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23605         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23606         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23607         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23608         wcsspn functions.
23609         * sysdeps/s390/multiarch/ifunc-impl-list.c
23610         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23611         * string/test-strspn.c: Add wcsspn support.
23612         * wcsmbs/test-wcsspn.c: New File.
23613         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23614         * benchtests/bench-strspn.c: Add wcsspn support.
23615         * benchtests/bench-wcsspn.c: New File.
23616         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23618         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23619         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23620         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23621         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23622         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23623         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23625         wcsrchr functions.
23626         * sysdeps/s390/multiarch/ifunc-impl-list.c
23627         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23628         * benchtests/bench-wcsrchr.c: New File.
23629         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23631         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23632         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23633         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23634         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23635         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23636         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23638         wcschrnul functions.
23639         * sysdeps/s390/multiarch/ifunc-impl-list.c
23640         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23641         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23642         * string/test-strchr.c: Add wcschrnul support.
23643         * wcsmbs/test-wcschrnul.c: New File.
23644         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23645         * benchtests/bench-strchr.c: Add wcschrnul support.
23646         * benchtests/bench-wcschrnul.c: New File.
23647         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23649         * sysdeps/s390/multiarch/strchr-c.c: New File.
23650         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23651         * sysdeps/s390/multiarch/strchr.c: Likewise.
23652         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23653         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23654         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23655         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23656         wcschr functions.
23657         * sysdeps/s390/multiarch/ifunc-impl-list.c
23658         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23659         * string/strchr.c (STRCHR): Define and use macro.
23660         * benchtests/bench-wcschr.c: New File.
23661         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23663         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23664         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23665         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23666         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23667         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23668         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23669         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23670         wcsncmp functions.
23671         * sysdeps/s390/multiarch/ifunc-impl-list.c
23672         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23673         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23674         * benchtests/bench-strncmp.c: Add wcsncmp support.
23675         * benchtests/bench-wcsncmp.c: New File.
23676         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23678         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23679         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23680         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23681         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23682         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23683         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23684         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23685         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23686         wcscmp functions.
23687         * sysdeps/s390/multiarch/ifunc-impl-list.c
23688         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23689         * string/strcmp.c (STRCMP): Define and use macro.
23690         * benchtests/bench-wcscmp.c: New File.
23691         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23692         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23693         instead of _HAVE_STRING_ARCH_memchr.
23695         * sysdeps/s390/multiarch/strncat-c.c: New File.
23696         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23697         * sysdeps/s390/multiarch/strncat.c: Likewise.
23698         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23699         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23700         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23702         wcsncat functions.
23703         * sysdeps/s390/multiarch/ifunc-impl-list.c
23704         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23705         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23706         * string/test-strncat.c: Add wcsncat support.
23707         * wcsmbs/test-wcsncat.c: New File.
23708         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23709         * benchtests/bench-strncat.c: Add wcsncat support.
23710         * benchtests/bench-wcsncat.c: New File.
23711         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23713         * sysdeps/s390/multiarch/strcat-c.c: New File.
23714         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23715         * sysdeps/s390/multiarch/strcat.c: Likewise.
23716         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23717         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23718         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23719         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23720         wcscat functions.
23721         * sysdeps/s390/multiarch/ifunc-impl-list.c
23722         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23723         * string/strcat.c (STRCAT): Define and use macro.
23724         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23725         * string/test-strcat.c: Add wcscat support.
23726         * wcsmbs/test-wcscat.c: New File.
23727         * wcsmbs/Makefile (strop-tests): Add wcscat.
23728         * benchtests/bench-strcat.c: Add wcscat support.
23729         * benchtests/bench-wcscat.c: New File.
23730         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23732         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23733         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23734         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23735         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23736         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23737         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23738         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23739         wcpncpy functions.
23740         * sysdeps/s390/multiarch/ifunc-impl-list.c
23741         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23742         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23743         * string/test-stpncpy.c: Add wcpncpy support.
23744         * wcsmbs/test-wcpncpy.c: New File.
23745         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23746         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23747         * benchtests/bench-wcpncpy.c: New File.
23748         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23750         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23751         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23752         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23753         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23754         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23755         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23756         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23758         wcsncpy functions.
23759         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23760         * sysdeps/s390/multiarch/ifunc-impl-list.c
23761         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23762         * string/test-strncpy.c: Add wcsncpy support.
23763         * wcsmbs/test-wcsncpy.c: New File.
23764         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23765         * benchtests/bench-strncpy.c: Add wcsncpy support.
23766         * benchtests/bench-wcsncpy.c: New File.
23767         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23769         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23770         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23771         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23772         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23773         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23774         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23775         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23776         wcpcpy functions.
23777         * string/stpcpy.c: Use STPCPY if defined.
23778         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23779         * sysdeps/s390/multiarch/ifunc-impl-list.c
23780         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23781         * string/test-stpcpy.c: Add wcpcpy support.
23782         * wcsmbs/test-wcpcpy.c: New File.
23783         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23784         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23785         * benchtests/bench-wcpcpy.c: New File.
23786         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23788         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23789         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23790         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23791         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23792         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23793         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23794         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23795         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23796         wcscpy functions.
23797         * sysdeps/s390/multiarch/ifunc-impl-list.c
23798         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23799         * benchtests/bench-wcscpy.c: New File.
23800         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23802         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23803         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23804         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23805         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23806         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23807         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23809         wcsnlen functions.
23810         * sysdeps/s390/multiarch/ifunc-impl-list.c
23811         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23812         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23813         * string/test-strnlen.c: Add wcsnlen support.
23814         * wcsmbs/test-wcsnlen.c: New File.
23815         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23816         * benchtests/bench-strnlen.c: Add wcsnlen support.
23817         * benchtests/bench-wcsnlen.c: New File.
23818         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23820         * sysdeps/s390/multiarch/Makefile: New File.
23821         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23822         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23823         * sysdeps/s390/multiarch/strlen.c: Likewise.
23824         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23825         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23826         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23827         * string/strlen.c (STRLEN): Define and use macro.
23828         * sysdeps/s390/multiarch/ifunc-impl-list.c
23829         (IFUNC_VX_IMPL): New macro function.
23830         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23831         * benchtests/Makefile (wcsmbs-bench): New variable.
23832         (string-bench-all): Added wcsmbs-bench.
23833         * benchtests/bench-wcslen.c: New File.
23835         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23836         s390_vx_libc_ifunc2): New macro function.
23838         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23839         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23840         assembler support.
23841         * sysdeps/s390/configure: Regenerated.
23843         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23844         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23846         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23847         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23848         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23850         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23851         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23852         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23853         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23854         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23855         (memcmp, bcmp): Use __memcmp_default as alias source.
23856         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23857         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23858         Rename to __memcmp_default.
23859         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23860         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23861         (memcpy): Use __memcpy_default as alias source.
23862         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23863         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23864         Rename to __memcpy_default.
23865         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23866         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23867         (memset): Use __memset_default as alias source.
23868         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23869         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23870         Rename to __memset_default.
23871         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23872         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23873         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23874         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23875         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23876         (memcmp, bcmp): Use __memcmp_default as alias source.
23877         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23878         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23879         Rename to __memcmp_default.
23880         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23881         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23882         (memcpy): Use __memcpy_default as alias source.
23883         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23884         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23885         Rename to __memcpy_default.
23886         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23887         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23888         (memset): Use __memset_default as alias source.
23889         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23890         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23891         Rename to __memset_default.
23892         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23893         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23895         [BZ #18610]
23896         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23897         __ieee_instruction_pointer to __unused.
23898         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23899         __ieee_instruction_pointer.
23900         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23901         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23902         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23903         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23904         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23905         Mark dxc-field as reserved.
23907 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23909         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23910         if the weak reference is not null.
23912 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23914         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23916         [BZ #11214]
23917         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23919 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23921         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23922         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23923         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23924         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23925         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23926         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23927         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23928         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23929         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23930         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23931         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23932         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23933         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23934         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23935         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23936         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23937         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23938         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23940 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23942         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23943         register other than r0 for tabort, it has special meaning.
23944         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23945         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23946         transaction before starting syscall.
23948 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23950         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23952 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23954         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23956         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23957         * sysdeps/x86_64/rtld-memset.S: Likewise.
23958         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23959         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23960         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23961         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23963         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23965 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23967         * debug/strcpy_chk.c: Improve performance.
23968         * debug/stpcpy_chk.c: Likewise.
23969         * sysdeps/x86_64/strcpy_chk.S: Remove.
23970         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23972         [BZ #18240]
23973         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23975 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23977         [BZ #15128]
23978         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23979         ifuncmain8.
23980         (modules-names): Add ifuncmod8.
23981         ($(objpfx)ifuncmain8): New rule.
23982         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23983         <cpuid.h>.
23984         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23985         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23986         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23987         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23988         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23989         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23990         * sysdeps/x86_64/ifuncmain8.c: New file.
23991         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23992         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23993         Removed.
23994         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23995         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23996         Change rtld_savespace_sse to __glibc_unused2.
23997         (RTLD_CHECK_FOREIGN_CALL): Removed.
23998         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23999         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24000         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24002 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24004         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24006 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24008         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24009         Unconditionally set __fpcr to avoid uninialized warning.
24010         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24012 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24014         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24015         is corrupt.
24017         * malloc/arena.c (arena_get2): Drop unused argument.
24018         (arena_lock): Adjust.
24019         (arena_get_retry): Likewise.
24021 2015-08-24  Andreas Schwab  <schwab@suse.de>
24023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24024         Don't define.
24025         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24026         (__ASSUME_IPC64): Don't undef.
24027         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24028         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24029         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24030         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24031         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24032         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24033         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24034         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24035         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24036         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24037         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24038         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24039         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24040         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24041         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24042         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24043         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24044         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24045         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24046         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24047         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24049 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24051         * manual/Makefile (install): Only build manual when perl is available.
24053 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24055         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24056         '#undef memcpy' by '#undef memchr'.
24058 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24060         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24061         memchr not point to the internal __GI_memchr implementation.
24063 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24065         * timezone/Makefile (CFLAGS-zdump.c): Remove
24066         -Wno-strict-prototypes.
24067         (CFLAGS-zic.c): Likewise.
24068         (CFLAGS-ialloc.c): Likewise.
24069         (CFLAGS-scheck.c): Likewise.
24071         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24072         -Wno-error=undef.
24074 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24076         * i386/i686/multiarch/strcasestr-c.c: Removed.
24077         * x86_64/multiarch/strcasestr.c: Likewise.
24078         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24079         Remove strcasestr.
24081 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24083         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24085         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24086         variables for high and low parts before possibly modifying them.
24088 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24090         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24091         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24092         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24093         of "multiarch/init-arch.h".
24094         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24095         * sysdeps/x86/init-arch.h: This.
24097 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24099         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24100         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24102 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24104         [BZ #17787]
24105         * manual/macros.texi: Add twoexp macro.
24106         * manual/filesys.texi: Fix exponents.
24107         * manual/llio.texi: Likewise.
24108         * manual/stdio.texi: Likewise.
24110 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24112         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24113         incorrect use.
24115 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24117         [BZ #18370]
24118         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24119         whose real or imaginary part has small absolute value.
24120         * math/s_csqrtf.c (__csqrtf): Likewise.
24121         * math/s_csqrtl.c (__csqrtl): Likewise.
24122         * math/auto-libm-test-in: Add more tests of csqrt.
24123         * math/auto-libm-test-out: Regenerated.
24124         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24128         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24129         __ppc_set_ppr_very_low): New functions.
24130         * manual/platform.texi: Add documentation about
24131         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24133 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24135         * string/stpncpy.c (stpncpy): Improve performance using
24136         __strnlen/memcpy/memset.
24138 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24140         [BZ #18796]
24141         * scripts/test-installation.pl: Don't add -lmvec to build options if
24142         libmvec wasn't built.
24144 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24146         [BZ #14341]
24147         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24148         case when there is a gap between DT_REL and DT_JMPREL sections.
24149         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24150         (LDFLAGS-tst-split-dynreloc): New.
24151         (tst-split-dynreloc-ENV): Likewise.
24152         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24153         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24155 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24157         [BZ #18822]
24158         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24159         attribute_hidden.
24160         (__xstat64_conv): Likewise.
24161         (__xstat32_conv): Likewise.
24163 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24165         [BZ #18822]
24166         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24167         Don't load %ebx when calling __setcontext.  Call __setcontext
24168         with HIDDEN_JUMPTARGET.
24169         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24170         libc_hidden_def.
24172 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24174         * sysdeps/i386/i686/Makefile
24175         [$(subdir) == string] (sysdep_routines): Moved to ...
24176         * sysdeps/i386/Makefile: Here.
24177         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24178         * sysdeps/i386/cacheinfo.c: Here.
24179         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24180         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24181         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24182         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24184 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24186         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24187         __i586__ is defined.
24188         (HAS_I686): Defined to 1 if __i686__ is defined.
24190 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24192         * elf/Makefile [$(have-z-execstack) = yes]
24193         (CPPFLAGS-tst-execstack.c): New variable.
24195         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24196         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24197         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24198         UTMPX || _HAVE_UT_TV].
24199         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24200         UTMPX || _HAVE_UT_TV - 0].
24202 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24205         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24206         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24208 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24210         * sysdeps/powerpc/dl-procinfo.c:
24211         (_dl_powerpc_cap_flags): Added missing strings for some
24212         hwcap features.
24213         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24215 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24217         Port the 0x7efe...feff pattern to GCC 6.
24218         See Steve Ellcey's bug report in:
24219         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24220         * string/memrchr.c (MEMRCHR):
24221         * string/rawmemchr.c (RAWMEMCHR):
24222         * string/strchr.c (strchr):
24223         * string/strchrnul.c (STRCHRNUL):
24224         Rewrite code to avoid issues with signed shift overflow.
24226 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24228         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24229         whether cpuid is available only if HAS_CPUID is 0.
24230         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24231         (HAS_I586): Likewise.
24232         (HAS_I686): Likewise.
24234 2015-08-18  Zack Weinberg  <zackw@panix.com>
24236         * misc/Versions (libc): Add GLIBC_2.23.
24238 2015-08-18  Alan Modra  <amodra@gmail.com>
24240         [BZ #18421]
24241         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24242         .Lp__global.
24243         (_start): Load %dp via .Lp__global.
24244         [!SHARED]: Use .section .rodata.
24246 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24248         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24249         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24251 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24253         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24254         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24256 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24258         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24259         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24263         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24264         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24266 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24268         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24269         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24271 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24273         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24274         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24276 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24278         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24280 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24282         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24283         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24284         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24285         (__ASSUME_LWS_CAS): Delete.
24287 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24289         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24290         * sysdeps/hppa/configure: Regenerated.
24291         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24292         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24293         * sysdeps/hppa/nptl/tls.h: Likewise.
24295 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24297         [BZ #18823]
24298         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24299         for scaling up small arguments.
24300         * math/s_csqrtf.c (__csqrtf): Likewise.
24301         * math/s_csqrtl.c (__csqrtl): Likewise.
24302         * math/auto-libm-test-in: Add more tests of csqrt.
24303         * math/auto-libm-test-out: Regenerated.
24305 2015-08-17  Andreas Schwab  <schwab@suse.de>
24307         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24308         version set GLIBC_2.19.
24310 2015-08-16  Zack Weinberg  <zackw@panix.com>
24312         [BZ #18681]
24313         * misc/regexp.h: This interface is no longer supported.
24314         Remove all contents, leaving only an #error directive.
24315         * misc/regexp.c (loc1, loc2, locs, step, advance):
24316         Demote to compatibility symbols.
24318 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24320         [BZ #18084]
24321         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24322         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24323         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24324         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24325         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24326         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24327         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24328         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24329         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24331 2015-08-15  Zack Weinberg  <zackw@panix.com>
24333         [BZ #18795]
24334         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24335         buffer length is known to be too large, not if it's known to be
24336         small enough.
24337         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24338         overflow at runtime, involving a length parameter, twice: once
24339         with a compile-time constant length parameter, once without.
24341 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24343         [BZ #18824]
24344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24345         scaling x * y up instead of down.
24346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24348         * math/auto-libm-test-in: Add more tests of fma.
24349         * math/auto-libm-test-out: Regenerated.
24351 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24353         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24355 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24357         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24358         unnecessary movq.
24359         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24360         Likewise.
24362 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24364         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24365         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24366         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24367         and tgamma.
24368         * math/auto-libm-test-out: Regenerated.
24369         * sysdeps/i386/fpu/libm-test-ulps: Update.
24370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24372         [BZ #16520]
24373         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24374         (__tanh): Force underflow exception for arguments with small
24375         absolute value.
24376         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24377         (__tanhf): Force underflow exception for arguments with small
24378         absolute value.
24379         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24380         (__tanhl): Force underflow exception for arguments with small
24381         absolute value.
24382         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24383         (__tanhl): Force underflow exception for arguments with small
24384         absolute value.
24385         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24386         (__tanhl): Force underflow exception for arguments with small
24387         absolute value.
24388         * math/auto-libm-test-in: Add more tests of tanh.
24389         * math/auto-libm-test-out: Regenerated.
24390         * sysdeps/i386/fpu/libm-test-ulps: Update.
24392 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24394         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24395         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24397 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24399         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24400         <cpuid.h>.
24402 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24404         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24405         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24407 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24409         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24410         Remove $(objpfx)init-arch.o.
24411         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24412         init-arch.
24413         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24414         (INIT_ARCH_EXT): Defined as empty.
24415         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24417         __init_cpu_features call.  Replace HAS_XXX with
24418         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24423         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24424         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24425         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24426         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24433         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24442         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24444         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24455 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24457         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24458         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24459         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24460         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24461         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24462         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24463         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24464         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24465         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24466         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24467         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24468         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24469         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24470         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24474         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24475         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24476         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24477         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24478         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24480         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24481         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24482         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24483         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24484         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24485         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24486         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24487         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24488         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24489         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24490         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24491         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24492         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24493         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24494         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24495         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24496         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24497         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24498         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24499         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24501 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24503         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24504         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24505         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24506         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24507         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24508         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24509         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24510         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24511         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24512         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24513         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24514         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24515         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24516         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24517         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24518         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24519         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24521         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24522         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24524         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24525         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24526         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24527         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24528         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24529         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24530         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24531         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24532         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24533         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24534         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24535         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24536         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24537         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24538         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24539         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24540         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24541         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24542         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24543         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24544         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24545         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24547 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24549         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24550         (dl_platform_init): Call init_cpu_features.
24551         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24552         * sysdeps/i386/i686/cacheinfo.c
24553         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24554         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24555         * sysdeps/i386/i686/multiarch/Versions: Removed.
24556         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24557         Removed.
24558         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24559         * sysdeps/unix/sysv/linux/x86/Makefile
24560         (libpthread-sysdep_routines): Remove init-arch.
24561         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24562         <sysdeps/x86_64/dl-procinfo.c> instead of
24563         sysdeps/generic/dl-procinfo.c>.
24564         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24565         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24566         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24567         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24568         [$(subdir) == elf] (tests-static): Add
24569         tst-get-cpu-features-static.
24570         * sysdeps/x86/Versions: New file.
24571         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24572         * sysdeps/x86/cpu-features.c: Likewise.
24573         * sysdeps/x86/cpu-features.h: Likewise.
24574         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24575         * sysdeps/x86/libc-start.c: Likewise.
24576         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24577         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24578         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24579         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24580         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24581         Assume USE_MULTIARCH is defined and don't check it.
24582         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24583         (is_amd): Likewise.
24584         (max_cpuid): Likewise.
24585         (intel_check_word): Likewise.
24586         (__cache_sysconf): Don't call __init_cpu_features.
24587         (__x86_preferred_memory_instruction): Removed.
24588         (init_cacheinfo): Don't call __init_cpu_features. Replace
24589         __cpu_features with GLRO(dl_x86_cpu_features).
24590         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24591         (dl_platform_init): Call init_cpu_features.
24592         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24593         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24594         * sysdeps/x86_64/multiarch/Versions: Removed.
24595         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24596         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24597         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24598         Removed.
24599         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24601 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24603         [BZ #18820]
24604         * libio/Makefile (test-fmemopen-mem): New test.
24605         * libio/test-fmemopen.c (do_bz18820): New test.
24606         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24607         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24609 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24611         [BZ #16734]
24612         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24613         (FREE_BUF): Delete.
24614         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24615         * libio/genops.c (_IO_setb): Use malloc and free directly.
24616         (_IO_default_doallocate, _IO_default_finish): Likewise.
24617         ( _IO_unbuffer_all): Likewise.
24618         ( libc_freeres_fn): Likewise.
24619         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24620         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24621         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24622         (_IO_wdefault_doallocate): Likewise.
24624 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24626         [BZ #18086]
24627         * sysdeps/posix/nice.c (nice): Restore old errno.
24628         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24630 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24634 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24636         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24637         __bcopy and add a weak_alias to bcopy.
24638         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24639         for static build.
24641         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24642         cleanup macro usage.
24643         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24648         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24649         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24650         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24651         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24652         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24653         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24654         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24655         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24656         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24658         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24659         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24660         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24661         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24663         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24664         libc_hidden_def.
24665         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24667         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24668         (sysdep_routines): Add strstr-ppc64.
24669         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24671 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24673         [BZ #18778]
24674         * elf/Makefile (tests): Add Add tst-nodelete2.
24675         (modules-names): Add tst-nodelete2mod.
24676         (tst-nodelete2mod.so-no-z-defs): New.
24677         ($(objpfx)tst-nodelete2): Likewise.
24678         ($(objpfx)tst-nodelete2.out): Likewise.
24679         (LDFLAGS-tst-nodelete2): Likewise.
24680         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24681         out of loop through all loaded libraries.
24682         * elf/tst-nodelete2.c: New file.
24683         * elf/tst-nodelete2mod.c: Likewise.
24684         * elf/tst-znodelete-zlib.cc: Delete.
24686 2015-08-11  Andreas Schwab  <schwab@suse.de>
24688         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24689         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24690         (__openat64_nocancel): Likewise.
24692 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24694         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24695         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24696         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24697         * math/auto-libm-test-out: Regenerated.
24698         * sysdeps/i386/fpu/libm-test-ulps: Update.
24699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24701 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24703         [BZ #18790]
24704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24705         threshold for returning +/- 1.
24706         * math/auto-libm-test-in: Add more tests of tanh.
24707         * math/auto-libm-test-out: Regenerated.
24708         * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 2015-08-10  Andreas Schwab  <schwab@suse.de>
24712         [BZ #18781]
24713         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24714         MORE_OFLAGS to oflag.
24715         * io/test-lfs.c (do_test): Test openat64.
24717 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24719         [BZ #18789]
24720         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24721         smaller threshold for returning the argument.
24722         * math/auto-libm-test-in: Add more tests of sinh.
24723         * math/auto-libm-test-out: Regenerated.
24724         * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24728         [BZ #18674]
24729         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24730         break.
24732 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24734         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24735         (generated): Don't add $(addprefix z.,$(tzfiles)).
24737 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24739         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24740         * scripts/sysd-rules.awk: Likewise.
24742 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24744         * iconvdata/tst-tables.sh: Change echo -n to printf.
24745         * nss/db-Makefile: Likewise.
24746         * posix/tst-getconf.sh: Likewise.
24747         * stdio-common/tst-unbputc.sh: Likewise.
24749 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24751         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24752         MADV_*_PAGES defines behind this feature check.
24754 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24756         [BZ #18480]
24757         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24758         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24759         Define.
24760         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24761         LOAD_REGS_5, LOAD_REGS_6): Update.
24762         (INTERNAL_SYSCALL): Update using new LOAD defines.
24763         (INTERNAL_SYSCALL_NCS): Likewise.
24764         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24766 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24768         [BZ #16734]
24769         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24771 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24773         [BZ #17905]
24774         * catgets/Makefile (tst-catgets-mem): New test.
24775         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24776         * catgets/open_catalog.c (__open_catalog): Likewise.
24777         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24779 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24781         [BZ #18787]
24782         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24783         clobber registers.
24784         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24785         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24786         Cast return to __typeof (oldval).
24788 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24790         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24791         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24792         and delete sys/syscall.h include.
24794 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24796         [BZ #16517]
24797         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24798         (tan): Force underflow exception for arguments with small absolute
24799         value.
24800         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24801         (__kernel_tanf): Force underflow exception for arguments with
24802         small absolute value.
24803         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24804         (__kernel_tanl): Force underflow exception for arguments with
24805         small absolute value.
24806         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24807         (__kernel_tanl): Force underflow exception for arguments with
24808         small absolute value.
24809         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24810         (__kernel_tanl): Force underflow exception for arguments with
24811         small absolute value.
24812         * math/auto-libm-test-in: Add more tests of tan.
24813         * math/auto-libm-test-out: Regenerated.
24815 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24817         Fix sysdeps/i386/fpu/s_scalbn.S build
24819         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24821 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24823         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24825 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24827         Fix gcrt0.o compilation
24829         When static-start-installed-name is different from
24830         start-installed-name, we must not use the shared objects.
24832         * csu/Makefile
24833         (extra-objs): Add gmon-start.o when building shared library and
24834         $(static-start-installed-name) is different from
24835         $(start-installed-name).
24836         $(objpfx)g$(static-start-installed-name): When building shared
24837         library and $(static-start-installed-name) is different from
24838         $(static-start-installed-name), revert to non-shared rule,
24839         i.e. using $(objpfx)% and gmon-start.o.
24841 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24843         [BZ #16519]
24844         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24845         (__ieee754_sinh): Force underflow exception for arguments with
24846         small absolute value.
24847         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24848         (__ieee754_sinhf): Force underflow exception for arguments with
24849         small absolute value.
24850         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24851         (__ieee754_sinhl): Force underflow exception for arguments with
24852         small absolute value.
24853         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24854         (__ieee754_sinhl): Force underflow exception for arguments with
24855         small absolute value.
24856         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24857         (__ieee754_sinhl): Force underflow exception for arguments with
24858         small absolute value.
24859         * math/auto-libm-test-in: Add more tests of sinh.
24860         * math/auto-libm-test-out: Regenerated.
24861         * sysdeps/i386/fpu/libm-test-ulps: Update.
24863 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24865         * libio/oldfileops.c: Include unistd.h.
24867 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24869         * stdlib/isomac.c: Include ctype.h.
24871 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24873         * dirent/tst-seekdir.c (main): Converted to ...
24874         (do_test): ... this.
24875         (TEST_FUNCTION): New macro.
24876         Include test-skeleton.c.
24877         * elf/tst-dlmodcount.c (main): Converted to ...
24878         (do_test): ... this.
24879         (TEST_FUNCTION): New macro.
24880         Include test-skeleton.c.
24881         * elf/tst-order-main.c (main): Converted to ...
24882         (do_test): ... this.
24883         (TEST_FUNCTION): New macro.
24884         Include test-skeleton.c.
24885         * elf/tst-pie2.c (main): Converted to ...
24886         (do_test): ... this.
24887         (TEST_FUNCTION): New macro.
24888         Include test-skeleton.c.
24889         * inet/tst-ether_aton.c (main): Converted to ...
24890         (do_test): ... this.
24891         (TEST_FUNCTION): New macro.
24892         Include test-skeleton.c.
24893         * misc/tst-mntent.c (main): Converted to ...
24894         (do_test): ... this.
24895         (TEST_FUNCTION): New macro.
24896         Include test-skeleton.c.
24897         * misc/tst-tsearch.c (main): Converted to ...
24898         (do_test): ... this.
24899         (TEST_FUNCTION): New macro.
24900         Include test-skeleton.c.
24901         * posix/tst-regexloc.c (main): Converted to ...
24902         (do_test): ... this.
24903         (TEST_FUNCTION): New macro.
24904         Include test-skeleton.c.
24905         * resolv/tst-aton.c (main): Converted to ...
24906         (do_test): ... this.
24907         (TEST_FUNCTION): New macro.
24908         Include test-skeleton.c.
24909         * stdio-common/test-fwrite.c (main): Converted to ...
24910         (do_test): ... this.
24911         (TEST_FUNCTION): New macro.
24912         Include test-skeleton.c.
24913         * stdio-common/tst-ferror.c (main): Converted to ...
24914         (do_test): ... this.
24915         (TEST_FUNCTION): New macro.
24916         Include test-skeleton.c.
24917         * stdio-common/tst-printf.c (main): Converted to ...
24918         (do_test): ... this.
24919         (TEST_FUNCTION): New macro.
24920         Include test-skeleton.c.
24921         * stdio-common/tst-printfsz.c (main): Converted to ...
24922         (do_test): ... this.
24923         (TEST_FUNCTION): New macro.
24924         Include test-skeleton.c.
24925         * stdlib/tst-strtod.c (main): Converted to ...
24926         (do_test): ... this.
24927         (TEST_FUNCTION): New macro.
24928         Include test-skeleton.c.
24929         * string/tst-strlen.c (main): Converted to ...
24930         (do_test): ... this.
24931         (TEST_FUNCTION): New macro.
24932         Include test-skeleton.c.
24933         * string/tst-svc.c (main): Converted to ...
24934         (do_test): ... this.
24935         (TEST_FUNCTION): New macro.
24936         Include test-skeleton.c.
24937         * time/tst-strptime.c (main): Converted to ...
24938         (do_test): ... this.
24939         (TEST_FUNCTION): New macro.
24940         Include test-skeleton.c.
24941         * timezone/tst-timezone.c (main): Converted to ...
24942         (do_test): ... this.
24943         (TEST_FUNCTION): New macro.
24944         Include test-skeleton.c.
24946 2015-08-05  Zack Weinberg  <zackw@panix.com>
24948         * misc/regexp.h: Update comments.
24950 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24952         [BZ #18635]
24953         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24954         before return label.
24956 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24958         [BZ #18661]
24959         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24960         when calling __errno_location.
24961         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24962         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24964 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24966         [BZ #18661]
24967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24968         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24969         __gettimeofday.
24971 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24973         [BZ #18661]
24974         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24975         (__start_context): Don't use pop to restore %rdi so that stack
24976         is aligned to 16 bytes when calling __setcontext.
24978 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24980         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24981         only for libc.
24982         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24984 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24986         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24987         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24988         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24990 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24992         * string/memccpy.c (memccpy):
24993         Improve performance by using memchr/memcpy/__mempcpy.
24995 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24997         * string/strncpy.c (strncpy):
24998         Improve performance by using __strnlen/memcpy.
25000 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25002         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25003         Optimize to avoid an unnecessary FPCR read.
25005 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25007         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25008         Optimize to reduce FPCR/FPSR accesses.
25010 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25012         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25013         dead->data[category] != NULL.
25015 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25017         [BZ #18647]
25018         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25019         and |x| close to 1, use absolute value of x when computing log.
25020         * math/auto-libm-test-in: Add more tests of pow.
25021         * math/auto-libm-test-out: Regenerated.
25023 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25025         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25026         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25027         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25029 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25031         [BZ #18525]
25032         * locales/km_KH: Remove timezone definition.
25033         * locales/lo_LA: Likewise.
25034         * locales/my_MM: Likewise.
25035         * locales/nan_TW@latin: Likewise.
25036         * locales/th_TH: Likewise.
25037         * locales/uk_UA: Likewise.
25039 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25041         [BZ #18265]
25042         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25043         (wcsncat): Likewise.
25044         (wcscmp): Likewise.
25045         (wcsncmp): Likewise.
25047 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25049         * test-skeleton.c (usage): New function.
25050         (main): Call usage when opt is '?'.
25052 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25054         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25055         before first use.
25057 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25059         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25060         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25061         in there too.
25063 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25065         * version.h (RELEASE): Set to "development".
25066         (VERSION): Set to "2.22.90"
25068         * version.h (RELEASE): Set to "stable".
25069         (VERSION): Set to "2.22"
25070         * include/features.h (__GLIBC_MINOR__): Set to 22.
25072 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25074         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25075         Restructure macro to avoid "value computed is not used" warning.
25076         (atomic_compare_and_exchange_val_acq): Likewise.
25078 2015-08-04  Andreas Schwab  <schwab@suse.de>
25080         [BZ #18635]
25081         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25082         ret.
25083         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25085 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25087         * po/pl.po: Updated translation.
25088         * po/uk.po: Likewise.
25089         * po/fi.po: Likewise.
25090         * po/ko.po: Likewise.
25091         * po/ru.po: Likewise.
25092         * po/vi.po: Likewise.
25094 2015-07-31  Zack Weinberg  <zackw@panix.com>
25096         [BZ #18681]
25097         * regexp.h: Add unconditional #warning stating that this header
25098         will be removed soon.  Revise banner comment to match.
25099         (compile): Consistently use ERROR instead of RETURN to report
25100         errors (partial fix for bz#18681).
25101         * regexp.c: Don't include regexp.h. Remove some unnecessary
25102         declarations.
25104 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25106         * po/libc.pot: Regenerated.
25108 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25110         [BZ #18740]
25111         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25112         float-vlen4-arch-ext-cflags): Removed.
25113         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25114         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25116 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25118         [BZ #14113]
25119         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25120         aligned to __aligned__.
25121         (pthread_cond_t, pthread_rwlock_t): Likewise.
25123 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25125         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25127 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25129         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25130         (struct sigaction): Change sa_flags from a long to an int, and add
25131         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25133 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25135         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25136         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25137         sysdeps/generic/sysdep.h include.
25138         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25139         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25140         sysdeps/hppa/sysdep.h.
25141         (ENTRY, PSEUDO): Undefine before defining.
25143 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25145         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25146         from scratch to use INTERNAL_SYSCALL.
25148 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25150         [BZ #18078]
25151         * scripts/check-localplt.awk: Support alternate relocations.
25152         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25153         sections.
25154         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25155         malloc entries with + REL R_386_GLOB_DAT.
25156         * sysdeps/x86_64/localplt.data: New file.
25158 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25160         [BZ #18731]
25161         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25162         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25163         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25165 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25167         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25169 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25171         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25172         directly in terms of __sync_fetch_and_add and delete (int) cast.
25174 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25176         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25177         the -D_ASM_IA64_CURRENT_H flag.
25179 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25181         [BZ #18641]
25182         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25184 2015-07-27  Andreas Schwab  <schwab@suse.de>
25186         * conform/conformtest.pl (checknamespace): Filter out string
25187         literals while tokenizing.
25189 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25191         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25192         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25193         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25195 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25197         * nptl/tst-join7mod.c: Add #include <string.h>.
25199 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25201         * sysdeps/nios2/libm-test-ulps: Update.
25203 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25205         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25206         Fix order of arguments to the rt_sigprocmask syscall.
25207         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25208         Likewise.
25210 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25212         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25214 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25216         [BZ #18457]
25217         * nptl/Makefile (tests): New test case tst-join7.
25218         (modules-names): New test case module tst-join7mod.
25219         * nptl/tst-join7.c: New file.
25220         * nptl/tst-join7mod.c: New file.
25221         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25222         all translation units in libc.so, libpthread.so and rtld.
25224 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25228 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25232         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25237         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25238         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25239         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25240         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25242         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25243         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25245         implementation.
25247 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25249         [BZ #17711]
25250         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25251         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25252         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25253         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25254         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25255         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25257 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25259         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25260         instead of just saying load lock in the comments.
25262 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25264         * sysdeps/unix/Subdirs: Moved ...
25265         * sysdeps/posix/Subdirs: ... here.
25266         * login/pty.h (struct termios, struct winsize): Add forward decls.
25267         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25268         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25269         * sysdeps/arm/nacl/libc.abilist: Updated.
25270         * sysdeps/nacl/libutil.abilist: New file.
25272         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25273         (SIGWINCH): New macro.
25275         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25276         * sysdeps/arm/nacl/libc.abilist: Add it.
25278 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25280         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25282 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25284         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25285         Swap __glibc_reserved0 and sa_flags order.
25287 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25289         [BZ #18657]
25290         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25291         are pending TLS destructor calls.
25292         * include/link.h (struct link_map): Add concurrency note for
25293         L_TLS_DTOR_COUNT.
25294         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25295         Don't touch the link map flag.  Atomically increment
25296         l_tls_dtor_count.
25297         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25298         Avoid taking the load lock and don't touch the link map flag.
25299         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25300         * stdlib/Makefile (tests): Use it.
25301         * stdlib/tst-tls-atexit.c (do_test): dlopen
25302         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25303         to allow tst-tls-atexit-nodelete test case to use it.
25305 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25307         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25308         to bits/types.h.
25309         (msgqnum_t): New typedef.
25310         (msglen_t): Likewise.
25311         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25312         and msg_qbytes type to msglen_t.
25314 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25316         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25317         pad0 to __glibc_reserved0.
25318         (struct stat64): Likewise.
25320 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25322         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25323         Change sa_flags from a long to an int and add __glibc_reserved0 before
25324         it for padding.
25326 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25328         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25329         anonymous by deleting "siginfo" name.
25331 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25333         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25334         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25335         rather than __nacl_irt_filename.
25336         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25338         * NEWS: New item for arm-nacl port.
25339         * sysdeps/arm/nacl/libc.abilist: New file.
25340         * sysdeps/nacl/ld.abilist: New file.
25341         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25342         * sysdeps/nacl/libanl.abilist: New file.
25343         * sysdeps/nacl/libcrypt.abilist: New file.
25344         * sysdeps/nacl/libdl.abilist: New file.
25345         * sysdeps/nacl/libm.abilist: New file.
25346         * sysdeps/nacl/libpthread.abilist: New file.
25347         * sysdeps/nacl/libresolv.abilist: New file.
25348         * sysdeps/nacl/librt.abilist: New file.
25350 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25352         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25353         __startcontext to initialize the new context.
25354         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25355         up CFI directive to forbid further backtracing.
25357 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25359         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25360         reference.
25361         * charmaps/ANSI_X3.4-1968: Likewise.
25362         * charmaps/BS_4730: Likewise.
25363         * charmaps/BS_VIEWDATA: Likewise.
25364         * charmaps/CP1250: Likewise.
25365         * charmaps/CP1251: Likewise.
25366         * charmaps/CP1252: Likewise.
25367         * charmaps/CP1253: Likewise.
25368         * charmaps/CP1254: Likewise.
25369         * charmaps/CP1255: Likewise.
25370         * charmaps/CP1256: Likewise.
25371         * charmaps/CSN_369103: Likewise.
25372         * charmaps/EBCDIC-DK-NO: Likewise.
25373         * charmaps/GB_1988-80: Likewise.
25374         * charmaps/GREEK-CCITT: Likewise.
25375         * charmaps/GREEK7: Likewise.
25376         * charmaps/INIS-8: Likewise.
25377         * charmaps/ISIRI-3342: Likewise.
25378         * charmaps/ISO_2033-1983: Likewise.
25379         * charmaps/ISO_5427-EXT: Likewise.
25380         * locales/POSIX: Likewise.
25381         * locales/ar_SA: Likewise.
25382         * locales/be_BY: Likewise.
25383         * locales/be_BY@latin: Likewise.
25384         * locales/ca_ES: Likewise.
25385         * locales/cs_CZ: Likewise.
25386         * locales/da_DK: Likewise.
25387         * locales/de_BE: Likewise.
25388         * locales/de_CH: Likewise.
25389         * locales/de_LU: Likewise.
25390         * locales/en_AU: Likewise.
25391         * locales/en_BW: Likewise.
25392         * locales/en_CA: Likewise.
25393         * locales/en_DK: Likewise.
25394         * locales/en_GB: Likewise.
25395         * locales/en_IE: Likewise.
25396         * locales/en_NZ: Likewise.
25397         * locales/en_ZA: Likewise.
25398         * locales/en_ZW: Likewise.
25399         * locales/es_AR: Likewise.
25400         * locales/es_BO: Likewise.
25401         * locales/es_CL: Likewise.
25402         * locales/es_CO: Likewise.
25403         * locales/es_DO: Likewise.
25404         * locales/es_EC: Likewise.
25405         * locales/es_ES: Likewise.
25406         * locales/es_HN: Likewise.
25407         * locales/es_MX: Likewise.
25408         * locales/es_PA: Likewise.
25409         * locales/es_PE: Likewise.
25410         * locales/es_PY: Likewise.
25411         * locales/es_SV: Likewise.
25412         * locales/es_US: Likewise.
25413         * locales/es_UY: Likewise.
25414         * locales/es_VE: Likewise.
25415         * locales/et_EE: Likewise.
25416         * locales/fa_IR: Likewise.
25417         * locales/fo_FO: Likewise.
25418         * locales/fr_CA: Likewise.
25419         * locales/fr_CH: Likewise.
25420         * locales/gv_GB: Likewise.
25421         * locales/he_IL: Likewise.
25422         * locales/hr_HR: Likewise.
25423         * locales/id_ID: Likewise.
25424         * locales/is_IS: Likewise.
25425         * locales/it_CH: Likewise.
25426         * locales/iw_IL: Likewise.
25427         * locales/kl_GL: Likewise.
25428         * locales/ko_KR: Likewise.
25429         * locales/kw_GB: Likewise.
25430         * locales/lg_UG: Likewise.
25431         * locales/lt_LT: Likewise.
25432         * locales/lv_LV: Likewise.
25433         * locales/mi_NZ: Likewise.
25434         * locales/nhn_MX: Likewise.
25435         * locales/nl_BE: Likewise.
25436         * locales/pl_PL: Likewise.
25437         * locales/sk_SK: Likewise.
25438         * locales/sl_SI: Likewise.
25439         * locales/sv_FI: Likewise.
25440         * locales/tl_PH: Likewise.
25441         * locales/tr_TR: Likewise.
25442         * locales/vi_VN: Likewise.
25444 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25446         [BZ #17475]
25447         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25448         of tu_IN and bh_IN.
25450 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25452         [BZ #18694]
25453         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25454         bits/wordsize.h.
25455         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25457 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25459         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25460         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25461         (spawn_thread): New function.
25462         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25463         (do_test): ... here.  Use IS_LOADED to test for its
25464         availability.
25466 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25468         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25470 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25472         [BZ #18696]
25473         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25474         si_addr_bnd.
25475         (si_lower): New.
25476         (si_upper): Likewise.
25478 2015-07-16  David S. Miller  <davem@davemloft.net>
25480         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25482 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25484         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25485         buffer.
25486         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25487         fail output information.
25489 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25492         and strstr-ppc64..
25493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25494         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25495         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25496         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25497         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25499 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25501         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25502         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25503         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25504         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25506 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25508         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25509         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25510         rtld_hidden_proto.
25511         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25513 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25515         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25516         the test can fail.
25518         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25520         [BZ #18676]
25521         * elf/tst-nodelete-opened.c: New test case.
25522         * elf/tst-nodelete-opened-lib.c: New test case module.
25523         * elf/Makefile (tests, modules-names): Use them.
25524         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25525         early.
25527 2015-07-15  David S. Miller  <davem@davemloft.net>
25529         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25530         futex-intenal.h
25531         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25532         * sysdeps/sparc/sparc64/Makefile: Likewise.
25533         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25534         Remove space from macro define.
25535         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25537 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25539         [BZ #17475]
25540         * locale/iso-639.def: Update Bhili and Tulu language codes as
25541         per iso639-3.
25543 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25545         * elf/tst-leaks1.c (main): Converted to ...
25546         (do_test): ... this.
25547         (TEST_FUNCTION): New macro.
25548         Include test-skeleton.c.
25549         * localedata/tst-langinfo.c (main): Converted to ...
25550         (do_test): ... this.
25551         (TEST_FUNCTION): New macro.
25552         Include test-skeleton.c.
25553         * math/test-fpucw.c (main): Converted to ...
25554         (do_test): ... this.
25555         (TEST_FUNCTION): New macro.
25556         Include test-skeleton.c.
25557         * math/test-tgmath.c (main): Converted to ...
25558         (do_test): ... this.
25559         (TEST_FUNCTION): New macro.
25560         Include test-skeleton.c.
25561         * math/test-tgmath2.c (main): Converted to ...
25562         (do_test): ... this.
25563         (TEST_FUNCTION): New macro.
25564         Include test-skeleton.c.
25565         * setjmp/tst-setjmp.c (main): Converted to ...
25566         (do_test): ... this.
25567         (TEST_FUNCTION): New macro.
25568         Include test-skeleton.c.
25569         * stdio-common/tst-sscanf.c (main): Converted to ...
25570         (do_test): ... this.
25571         (TEST_FUNCTION): New macro.
25572         Include test-skeleton.c.
25573         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25574         (do_test): ... this.
25575         (TEST_FUNCTION): New macro.
25576         Include test-skeleton.c.
25578         * elf/tst-audit9.c (main): Converted to ...
25579         (do_test): ... this.
25580         (TEST_FUNCTION): New macro.
25581         Include test-skeleton.c.
25583 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25585         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25587 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25589         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25590         New variable.
25592 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25594         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25596 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25598         * sysdeps/generic/dl-fileid.h: New file.
25599         * sysdeps/posix/dl-fileid.h: New file.
25600         * sysdeps/nacl/dl-fileid.h: New file.
25601         * include/link.h: Include <dl-fileid.h>.
25602         (struct link_map): Replace l_dev and l_ino with l_file_id.
25603         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25604         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25605         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25607 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25609         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25611 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25613         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25614         Add iff $CXX is set.
25615         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25616         Likewise.
25617         (tst-nodelete-zmodiff): Likewise.
25618         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25620 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25622         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25624 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25626         * sysdeps/aarch64/fpu/math_private.h
25627         (define math_opt_barrier): Add AArch64 version.
25628         (math_force_eval): Likewise.
25630 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25632         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25634 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25636         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25637         %ld with %jd and cast to intmax_t.
25638         (do_test_length_zero): Likewise.
25640 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25642         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25644 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25646         * sysdeps/tile/libm-test-ulps: Regenerated.
25648         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25649         Comment out the whole function, not just its body.
25651 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25654         locks.
25656         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25658 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25660         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25661         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25663 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25665         * sysdeps/nptl/futex-internal.h: New file.
25666         * sysdeps/nacl/futex-internal.h: New file.
25667         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25668         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25669         error checking.
25670         (setxid_unmark_thread): Likewise.
25671         (__nptl_setxid): Likewise.
25672         (__wait_lookup_done): Likewise.
25673         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25674         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25675         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25676         * nptl/pthread_once.c (clear_once_control): Likewise.
25677         (__pthread_once_slow): Likewise.
25678         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25679         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25680         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25681         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25682         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25683         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25684         Likewise.
25685         (__pthread_rwlock_rdlock): Likewise.
25686         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25687         Likewise.
25688         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25689         Likewise.
25690         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25691         Likewise.
25692         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25693         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25694         Likewise.
25695         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25696         __ASSUME_PRIVATE_FUTEX check.
25697         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25698         Check that shared futexes are supported.
25699         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25700         wrappers with error checking.
25701         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25702         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25703         * nptl/pthread_barrierattr_setpshared.c
25704         (pthread_barrierattr_setpshared): Check that shared futexes are
25705         supported.
25706         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25707         Likewise.
25708         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25709         Likewise.
25710         * nptl/sem_init.c (futex_private_if_supported): Remove.
25711         (__new_sem_init): Adapt and check that shared futexes are supported.
25712         * nptl/sem_open.c (sem_open): Likewise.
25713         * nptl/sem_post.c (futex_wake): Remove.
25714         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25715         (do_futex_wait): Use futex wrappers with error checking.
25716         * nptl/sem_wait.c: Include lowlevellock.h.
25717         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25718         Use futex_supports_pshared.
25719         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25720         Use futex wrappers with error checking.
25721         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25722         Likewise.
25723         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25724         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25725         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25726         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25727         (futex_wake): Likewise.
25728         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25729         (do_futex_wait): Use futex wrappers with error checking.
25730         (__new_sem_wait_slow): Update EINTR handling.
25731         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25733 2015-07-09  Martin Sebor  <msebor@redhat.com>
25735         [BZ #18435]
25736         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25737         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25738         * nptl/Makefile (test-xfail-tst-once5): Define.
25740 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25742         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25743         * elf/dl-minimal.c: For readability, reorder some definitions and
25744         introduce more page breaks.  Include <stdio.h>.
25745         (__libc_fatal): New function.
25747         * include/unistd.h: Add rtld_hidden_proto for _exit.
25748         * posix/_exit.c: Add rtld_hidden_def.
25749         * sysdeps/mach/hurd/_exit.c: Likewise.
25750         * sysdeps/nacl/_exit.c: Likewise.
25751         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25752         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25754 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25756         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25757         bndmov encoding with zero displacement.
25759 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25760             H.J. Lu  <hongjiu.lu@intel.com>
25762         [BZ #18134]
25763         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25764         * sysdeps/i386/configure: Regenerated.
25765         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25766         (_dl_runtime_profile): Save and restore Intel MPX return bound
25767         registers when calling _dl_call_pltexit.  Add
25768         PRESERVE_BND_REGS_PREFIX before return.
25769         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25770         (LRV_BND1_OFFSET): Likewise.
25771         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25772         lrv_bnd1.
25773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25774         typo in bndmov encoding.
25775         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25776         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25777         branch instructions to preserve bounds.
25779 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25782         [GLIBC_2.22]: Add fmemopen.
25784 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25786         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25787         returns an error, also try to use host port from __mach_host_self for
25788         the __vm_wire call.
25789         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25791 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25793         [BZ #18400]
25794         [BZ #18648]
25795         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25796         Fix pr_uid and pr_gid members.
25797         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25798         definition to elf_greg_t.
25800 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25802         [BZ #18383]
25803         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25804         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25805         * sysdeps/arm/configure: Regenerated.
25806         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25807         (test-xfail-tst-tlsalign-static): Variable removed.
25809         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25810         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25811         rather than explicit 'ln -s'.
25813         * resolv/rpc/netdb.h: New file.
25814         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25816 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25818         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25819         length buffers.
25820         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25821         test-skeleton.c.
25823         [BZ #6544]
25824         [BZ #11216]
25825         [BZ #12836]
25826         [BZ #13151]
25827         [BZ #13152]
25828         [BZ #14292]
25829         * include/stdio.h (fmemopen): Remove hidden prototype.
25830         (__fmemopen): Add new hidden prototype.
25831         * libio/Makefile: Add oldfmemopen object.
25832         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25833         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25834         compliance.
25835         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25836         symbol compatibility.
25837         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25838         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25839         fmemopen.
25840         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25841         on append and read mode.
25842         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25843         fmemopen.
25844         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25845         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25846         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25847         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25848         Likewise.
25849         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25850         [GLIBC_2.22]: Likewise.
25851         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25852         Likewise.
25853         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25854         Likewise.
25855         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25856         [GLIBC_2.22]: Likewise.
25857         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25858         [GLIBC_2.22]: Likewise.
25859         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25860         [GLIBC_2.22]: Likewise.
25861         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25862         [GLIBC_2.22]: Likewise.
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25864         [GLIBC_2.22]: Likewise.
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25866         [GLIBC_2.22]: Likewise.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25868         [GLIBC_2.22]: Likewise.
25869         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25870         Likewise.
25871         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25872         Likewise.
25873         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25874         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25875         [GLIBC_2.22]: Likewise.
25876         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25877         [GLIBC_2.22]: Likewise.
25878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25879         [GLIBC_2.22]: Likewise.
25880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25881         [GLIBC_2.22]: Likewise.
25882         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25883         Likewise.
25884         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25885         Likewise.
25886         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25887         Likewise.
25888         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25889         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25891 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25893         [BZ #18643]
25894         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25895         IPV6_PATHMTU, and IPV6_DONTFRAG.
25897 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25899         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25900         and _IO_UNBUFFERED.
25901         * libio/oldfileops.c: Likewise.
25902         * libio/wfileops.c: Likewise.
25904 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25906         * nscd/selinux.c: Delete selinux/flask.h include.
25908 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25910         [BZ #18641]
25911         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25912         (putpwent): Likewise.
25913         (getpwnam): Likewise.
25914         (getpwent_r): Likewise.
25915         (getpwuid_r): Likewise.
25916         (getpwnam_r): Likewise.
25917         (fgetpwent_r): Likewise.
25919 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25921         [BZ #18557]
25922         * inet/rcmd.c (__validuser2_sa): Check user first to
25923         short-circuit host check.
25925 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25926             Mikhail Ilin  <m.ilin@samsung.com>
25928         [BZ #17833]
25929         * elf/Makefile (tests): Add tst-nodelete.
25930         (modules-names): Add tst-nodelete-uniquemod.
25931         (tst-nodelete-uniquemod.so-no-z-defs): New.
25932         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25933         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25934         ($(objpfx)tst-nodelete): Likewise.
25935         ($(objpfx)tst-nodelete.out): Likewise.
25936         (LDFLAGS-tst-nodelete): Likewise.
25937         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25938         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25939         implement forced object deletion.
25940         (_dl_close): Pass false to _dl_close_worker.
25941         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25942         * elf/tst-nodelete.cc: New file.
25943         * elf/tst-nodeletelib.cc: Likewise.
25944         * elf/tst-znodeletelib.cc: Likewise.
25945         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25947 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25949         [BZ #18508]
25950         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25951         Depend on $(libdl).
25952         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25953         is not called infinitely times.
25954         (backtrace_helper): New function.
25955         (trace_arg): New struct.
25956         (st1): Enlarge stack size.
25957         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25958         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25959         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25960         Likewise.
25962 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25964         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25966 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25968         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25969         Include sys/types.h instead of bits/types.h.
25970         Remove inclusion of bits/wordsize.h.
25972 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25974         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25975         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25976         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25977         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25978         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25979         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25981 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25983         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25984         link-defines.sym.
25985         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25986         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25987         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25988         and LR_SIZE.
25989         * sysdeps/i386/link-defines.sym: New file.
25991 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25993         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25994         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25995         ($(objpfx)tst-audit3): New rule.
25996         ($(objpfx)tst-audit3.out): Likewise.
25997         * sysdeps/i386/tst-audit3.c: New file.
25998         * sysdeps/i386/tst-audit3.h: Likewise.
25999         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26000         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26002 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26004         [BZ #18633]
26005         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26006         pointer in C code.
26007         (__strcat_c): Likewise.
26008         (__strcat_g): Likewise.
26010 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26012         [BZ #18592]
26013         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26015 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26017         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26018         New function.  (__ieee754_sqrtf): New function.
26019         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26020         New function.
26021         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26022         New function.
26024 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26026         * sysdeps/ieee754/support.c: Remove unused file.
26028 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26030         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26031         registers instead of d ones so the layout is kernel abi compatible.
26032         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26033         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26034         Likewise.
26036 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26038         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26040 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26042         [BZ #18619]
26043         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26044         and return argument in case of subnormal argument.
26046 2015-07-01  Martin Sebor  <msebor@redhat.com>
26048         [BZ #18435]
26049         * nptl/Makefile: Add tst-once5.cc.
26050         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26051         Remove macro redefinitions.
26052         * nptl/tst-once5.cc: New test.
26054 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26058         * sysdeps/arm/libm-test-ulps: Regenerated.
26060         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26061         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26063 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26065         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26066         lll_lock_wait_private and lll_futex_wake probes.
26068         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26070         Likewise.
26071         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26072         atomic_spin_nop.
26073         * sysdeps/x86_64/bits/atomic.h: Likewise.
26074         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26075         to atomic_spin_nop and move ...
26076         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26077         ... here and ...
26078         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26079         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26080         atomic_spin_nop instead of BUSY_WAIT_NOP.
26081         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26082         Likewise.
26083         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26084         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26085         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26086         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26087         instead of atomic_delay.
26089 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26091         [BZ #18613]
26092         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26093         X_ADJ not X when adjusting exponent.
26094         (__ieee754_gamma_r): Do intermediate computations in
26095         round-to-nearest then adjust overflowing and underflowing results
26096         as needed.
26097         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26098         of X_ADJ not X when adjusting exponent.
26099         (__ieee754_gammaf_r): Do intermediate computations in
26100         round-to-nearest then adjust overflowing and underflowing results
26101         as needed.
26102         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26103         log of X_ADJ not X when adjusting exponent.
26104         (__ieee754_gammal_r): Do intermediate computations in
26105         round-to-nearest then adjust overflowing and underflowing results
26106         as needed.  Use 1.0L not 1.0f as numerator of division.
26107         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26108         log of X_ADJ not X when adjusting exponent.
26109         (__ieee754_gammal_r): Do intermediate computations in
26110         round-to-nearest then adjust overflowing and underflowing results
26111         as needed.  Use 1.0L not 1.0f as numerator of division.
26112         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26113         of X_ADJ not X when adjusting exponent.
26114         (__ieee754_gammal_r): Do intermediate computations in
26115         round-to-nearest then adjust overflowing and underflowing results
26116         as needed.  Use 1.0L not 1.0f as numerator of division.
26117         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26118         to auto-libm-test-in.
26119         (tgamma_test): Use ALL_RM_TEST.
26120         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26121         tests of tgamma with spurious-overflow.
26122         * math/auto-libm-test-out: Regenerated.
26123         * math/gen-libm-have-vector-test.sh: Do not check for START.
26124         * sysdeps/i386/fpu/libm-test-ulps: Update.
26125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26127         [BZ #18612]
26128         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26129         arguments, just return 0.5 times the argument, with underflow
26130         forced as needed.
26131         * math/auto-libm-test-in: Add more tests of j1.
26132         * math/auto-libm-test-out: Regenerated.
26134         [BZ #16559]
26135         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26136         (__ieee754_j1): Force underflow exception for small results.
26137         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26138         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26139         (__ieee754_j1f): Force underflow exception for small results.
26140         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26141         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26143         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26144         (__ieee754_j1l): Force underflow exception for small results.
26145         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26146         * math/auto-libm-test-in: Add more tests of j1 and jn.
26147         * math/auto-libm-test-out: Regenerated.
26149         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26151         (PF_MPLS): Likewise.
26152         (AF_IB): Likewise.
26153         (AF_MPLS): Likewise.
26154         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26155         value and macro.
26156         (MS_RMT_MASK): Include MS_LAZYTIME.
26158 2015-06-26  Mel Gorman  <mgorman@suse.de>
26160         [BZ #18502]
26161         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26162         already minimal.
26164 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26166         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26167         (DT_MIPS_NUM): Update.
26168         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26169         DT_MIPS_RLD_MAP_REL.
26171 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26173         [BZ #16559]
26174         [BZ #18602]
26175         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26176         round-to-nearest internally then recompute results that
26177         underflowed to zero in the original rounding mode.
26178         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26179         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26180         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26181         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26182         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26183         * sysdeps/i386/fpu/libm-test-ulps: Update.
26184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26186 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26188         * NEWS: Fixed description of link with vector math library.
26190 2015-06-25  Andreas Schwab  <schwab@suse.de>
26192         [BZ #18549]
26193         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26194         * libio/test-fmemopen.c (do_test): Add test for it.
26196 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26198         [BZ #17841]
26199         * Makeconfig (no-pie-ldflag): New.
26200         (+link): Set to $(+link-pie) if default to PIE.
26201         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26202         * config.make.in (build-pie-default): New.
26203         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26204         is default.  AC_SUBST.
26205         * configure: Regenerated.
26206         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26208 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26210         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26211         to 'unsigned int'.
26213         * resolv/gai_misc.h (struct waitlist): Change type of field
26214         counterp to 'volatile unsigned int *'.
26215         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26216         FUTEXADDR and OLDVAL.
26217         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26218         Give local variable TOTAL type 'volatile unsigned int'.
26219         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26220         * resolv/gai_suspend.c (gai_suspend):
26221         Give local variable CNTR type 'unsigned int'.
26223         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26224         counterp to 'volatile unsigned int *'.
26225         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26226         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26227         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26228         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26229         Give local variable TOTAL type 'volatile unsigned int'.
26230         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26232 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26234         [BZ #18383]
26235         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26236         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26237         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26238         comment for i386/x86-64.
26239         (test-xfail-tst-tlsalign-extern-static): Removed.
26241 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26243         * math/test-double.h: New file.
26244         * math/test-float.h: Likewise.
26245         * math/test-ldouble.h: Likewise.
26246         * math/test-math-inline.h: Likewise.
26247         * math/test-math-no-inline.h: Likewise.
26248         * math/test-math-scalar.h: Likewise.
26249         * math/test-math-vector.h: Likewise.
26250         * math/test-vec-loop.h: Remove file.  Contents moved into
26251         test-math-vector.h.
26252         * math/libm-test.inc (MATHCONST): Do not document macro.
26253         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26254         and test-math-scalar.h.
26255         (FUNC): Remove macro.
26256         (FUNC_TEST): Likewise.
26257         (FLOAT): Likewise.
26258         (MATHCONST): Likewise.
26259         (PRINTF_EXPR): Likewise.
26260         (PRINTF_XEXPR): Likewise.
26261         (PRINTF_NEXPR): Likewise.
26262         (TEST_DOUBLE): Likewise.
26263         (TEST_MATHVEC): Likewise.
26264         (__NO_MATH_INLINES): Likewise.
26265         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26266         and test-math-scalar.h.
26267         (FUNC): Remove macro.
26268         (FUNC_TEST): Likewise.
26269         (FLOAT): Likewise.
26270         (MATHCONST): Likewise.
26271         (PRINTF_EXPR): Likewise.
26272         (PRINTF_XEXPR): Likewise.
26273         (PRINTF_NEXPR): Likewise.
26274         (TEST_FLOAT): Likewise.
26275         (TEST_MATHVEC): Likewise.
26276         (__NO_MATH_INLINES): Likewise.
26277         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26278         and test-math-scalar.h.
26279         (FUNC): Remove macro.
26280         (FUNC_TEST): Likewise.
26281         (FLOAT): Likewise.
26282         (MATHCONST): Likewise.
26283         (PRINTF_EXPR): Likewise.
26284         (PRINTF_XEXPR): Likewise.
26285         (PRINTF_NEXPR): Likewise.
26286         (TEST_DOUBLE): Likewise.
26287         (TEST_MATHVEC): Likewise.
26288         (TEST_INLINE): Likewise.
26289         (__NO_MATH_INLINES): Likewise.
26290         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26291         test-math-scalar.h.
26292         (FUNC): Remove macro.
26293         (FUNC_TEST): Likewise.
26294         (FLOAT): Likewise.
26295         (MATHCONST): Likewise.
26296         (PRINTF_EXPR): Likewise.
26297         (PRINTF_XEXPR): Likewise.
26298         (PRINTF_NEXPR): Likewise.
26299         (TEST_FLOAT): Likewise.
26300         (TEST_MATHVEC): Likewise.
26301         (TEST_INLINE): Likewise.
26302         (__NO_MATH_INLINES): Likewise.
26303         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26304         and test-math-scalar.h.
26305         (FUNC): Remove macro.
26306         (FUNC_TEST): Likewise.
26307         (FLOAT): Likewise.
26308         (MATHCONST): Likewise.
26309         (PRINTF_EXPR): Likewise.
26310         (PRINTF_XEXPR): Likewise.
26311         (PRINTF_NEXPR): Likewise.
26312         (TEST_LDOUBLE): Likewise.
26313         (TEST_MATHVEC): Likewise.
26314         (TEST_INLINE): Likewise.
26315         (__NO_MATH_INLINES): Likewise.
26316         * math/test-ldouble.c: Include test-ldouble.h,
26317         test-math-no-inline.h and test-math-scalar.h.
26318         (FUNC): Remove macro.
26319         (FUNC_TEST): Likewise.
26320         (FLOAT): Likewise.
26321         (MATHCONST): Likewise.
26322         (PRINTF_EXPR): Likewise.
26323         (PRINTF_XEXPR): Likewise.
26324         (PRINTF_NEXPR): Likewise.
26325         (TEST_LDOUBLE): Likewise.
26326         (TEST_MATHVEC): Likewise.
26327         (__NO_MATH_INLINES): Likewise.
26328         * math/test-double-vlen2.h: Include test-double.h,
26329         test-math-no-inline.h and test-math-vector.h.
26330         (FLOAT): Remove macro.
26331         (FUNC): Likewise.
26332         (MATHCONST): Likewise.
26333         (PRINTF_EXPR): Likewise.
26334         (PRINTF_XEXPR): Likewise.
26335         (PRINTF_NEXPR): Likewise.
26336         (TEST_DOUBLE): Likewise.
26337         (TEST_MATHVEC): Likewise.
26338         (__NO_MATH_INLINES): Likewise.
26339         (CNCT): Likewise.
26340         (CONCAT): Likewise.
26341         (WRAPPER_NAME): Likewise.
26342         (WRAPPER_DECL): Likewise.
26343         (WRAPPER_DECL_ff): Likewise.
26344         (WRAPPER_DECL_fFF): Likewise.
26345         (VECTOR_WRAPPER): Likewise.
26346         (VECTOR_WRAPPER_ff): Likewise.
26347         (VECTOR_WRAPPER_fFF): Likewise.
26348         (VEC_LEN): New macro.
26349         * math/test-double-vlen4.h: Include test-double.h,
26350         test-math-no-inline.h and test-math-vector.h.
26351         (FLOAT): Remove macro.
26352         (FUNC): Likewise.
26353         (MATHCONST): Likewise.
26354         (PRINTF_EXPR): Likewise.
26355         (PRINTF_XEXPR): Likewise.
26356         (PRINTF_NEXPR): Likewise.
26357         (TEST_DOUBLE): Likewise.
26358         (TEST_MATHVEC): Likewise.
26359         (__NO_MATH_INLINES): Likewise.
26360         (CNCT): Likewise.
26361         (CONCAT): Likewise.
26362         (WRAPPER_NAME): Likewise.
26363         (WRAPPER_DECL): Likewise.
26364         (WRAPPER_DECL_ff): Likewise.
26365         (WRAPPER_DECL_fFF): Likewise.
26366         (VECTOR_WRAPPER): Likewise.
26367         (VECTOR_WRAPPER_ff): Likewise.
26368         (VECTOR_WRAPPER_fFF): Likewise.
26369         (VEC_LEN): New macro.
26370         * math/test-double-vlen8.h: Include test-double.h,
26371         test-math-no-inline.h and test-math-vector.h.
26372         (FLOAT): Remove macro.
26373         (FUNC): Likewise.
26374         (MATHCONST): Likewise.
26375         (PRINTF_EXPR): Likewise.
26376         (PRINTF_XEXPR): Likewise.
26377         (PRINTF_NEXPR): Likewise.
26378         (TEST_DOUBLE): Likewise.
26379         (TEST_MATHVEC): Likewise.
26380         (__NO_MATH_INLINES): Likewise.
26381         (CNCT): Likewise.
26382         (CONCAT): Likewise.
26383         (WRAPPER_NAME): Likewise.
26384         (WRAPPER_DECL): Likewise.
26385         (WRAPPER_DECL_ff): Likewise.
26386         (WRAPPER_DECL_fFF): Likewise.
26387         (VECTOR_WRAPPER): Likewise.
26388         (VECTOR_WRAPPER_ff): Likewise.
26389         (VECTOR_WRAPPER_fFF): Likewise.
26390         (VEC_LEN): New macro.
26391         * math/test-float-vlen4.h: Include test-float.h,
26392         test-math-no-inline.h and test-math-vector.h.
26393         (FLOAT): Remove macro.
26394         (FUNC): Likewise.
26395         (MATHCONST): Likewise.
26396         (PRINTF_EXPR): Likewise.
26397         (PRINTF_XEXPR): Likewise.
26398         (PRINTF_NEXPR): Likewise.
26399         (TEST_FLOAT): Likewise.
26400         (TEST_MATHVEC): Likewise.
26401         (__NO_MATH_INLINES): Likewise.
26402         (CNCT): Likewise.
26403         (CONCAT): Likewise.
26404         (WRAPPER_NAME): Likewise.
26405         (WRAPPER_DECL): Likewise.
26406         (WRAPPER_DECL_ff): Likewise.
26407         (WRAPPER_DECL_fFF): Likewise.
26408         (VECTOR_WRAPPER): Likewise.
26409         (VECTOR_WRAPPER_ff): Likewise.
26410         (VECTOR_WRAPPER_fFF): Likewise.
26411         (VEC_LEN): New macro.
26412         * math/test-float-vlen8.h: Include test-float.h,
26413         test-math-no-inline.h and test-math-vector.h.
26414         (FLOAT): Remove macro.
26415         (FUNC): Likewise.
26416         (MATHCONST): Likewise.
26417         (PRINTF_EXPR): Likewise.
26418         (PRINTF_XEXPR): Likewise.
26419         (PRINTF_NEXPR): Likewise.
26420         (TEST_FLOAT): Likewise.
26421         (TEST_MATHVEC): Likewise.
26422         (__NO_MATH_INLINES): Likewise.
26423         (CNCT): Likewise.
26424         (CONCAT): Likewise.
26425         (WRAPPER_NAME): Likewise.
26426         (WRAPPER_DECL): Likewise.
26427         (WRAPPER_DECL_ff): Likewise.
26428         (WRAPPER_DECL_fFF): Likewise.
26429         (VECTOR_WRAPPER): Likewise.
26430         (VECTOR_WRAPPER_ff): Likewise.
26431         (VECTOR_WRAPPER_fFF): Likewise.
26432         (VEC_LEN): New macro.
26433         * math/test-float-vlen16.h: Include test-float.h,
26434         test-math-no-inline.h and test-math-vector.h.
26435         (FLOAT): Remove macro.
26436         (FUNC): Likewise.
26437         (MATHCONST): Likewise.
26438         (PRINTF_EXPR): Likewise.
26439         (PRINTF_XEXPR): Likewise.
26440         (PRINTF_NEXPR): Likewise.
26441         (TEST_FLOAT): Likewise.
26442         (TEST_MATHVEC): Likewise.
26443         (__NO_MATH_INLINES): Likewise.
26444         (CNCT): Likewise.
26445         (CONCAT): Likewise.
26446         (WRAPPER_NAME): Likewise.
26447         (WRAPPER_DECL): Likewise.
26448         (WRAPPER_DECL_ff): Likewise.
26449         (WRAPPER_DECL_fFF): Likewise.
26450         (VECTOR_WRAPPER): Likewise.
26451         (VECTOR_WRAPPER_ff): Likewise.
26452         (VECTOR_WRAPPER_fFF): Likewise.
26453         (VEC_LEN): New macro.
26454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26455         test-vec-loop.h.
26456         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26457         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26458         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26459         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26460         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26461         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26462         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26464 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26466         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26467         (__getlogin_r): ... this.
26469 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26471         [BZ #18594]
26472         * math/s_ccosh.c (__ccosh): Compare with least normal value
26473         instead of comparing class with FP_SUBNORMAL.
26474         * math/s_ccoshf.c (__ccoshf): Likewise.
26475         * math/s_ccoshl.c (__ccoshl): Likewise.
26476         * math/s_cexp.c (__cexp): Likewise.
26477         * math/s_cexpf.c (__cexpf): Likewise.
26478         * math/s_cexpl.c (__cexpl): Likewise.
26479         * math/s_csin.c (__csin): Likewise.
26480         * math/s_csinf.c (__csinf): Likewise.
26481         * math/s_csinh.c (__csinh): Likewise.
26482         * math/s_csinhf.c (__csinhf): Likewise.
26483         * math/s_csinhl.c (__csinhl): Likewise.
26484         * math/s_csinl.c (__csinl): Likewise.
26485         * math/s_ctan.c (__ctan): Likewise.
26486         * math/s_ctanf.c (__ctanf): Likewise.
26487         * math/s_ctanh.c (__ctanh): Likewise.
26488         * math/s_ctanhf.c (__ctanhf): Likewise.
26489         * math/s_ctanhl.c (__ctanhl): Likewise.
26490         * math/s_ctanl.c (__ctanl): Likewise.
26491         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26492         csin, csinh, ctan and ctanh.
26493         * math/auto-libm-test-out: Regenerated.
26494         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26495         * sysdeps/i386/fpu/libm-test-ulps: Update.
26496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26498 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26500         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26501         return value is wrong, print the expected value too.
26503 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26505         [BZ #18585]
26506         * elf/readlib.c (is_gdb_python_file): New.
26507         (process_file): Don't issue errors on filenames with -gdb.py
26508         suffix.
26510 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26512         * math/auto-libm-test-in: Add more tests of csin and csinh.
26513         * math/auto-libm-test-out: Regenerated.
26514         * math/libm-test.inc (csin_test_data): Remove tests moved to
26515         auto-libm-test-in.
26516         (csinh_test_data): Likewise.
26518         [BZ #18593]
26519         * math/s_csin.c (__csin): Negate before rather than after possibly
26520         overflowing multiplication.
26521         * math/s_csinf.c (__csinf): Likewise.
26522         * math/s_csinh.c (__csinh): Likewise.
26523         * math/s_csinhf.c (__csinhf): Likewise.
26524         * math/s_csinhl.c (__csinhl): Likewise.
26525         * math/s_csinl.c (__csinl): Likewise.
26526         * math/auto-libm-test-in: Add some tests of csin and csinh.
26527         * math/auto-libm-test-out: Regenerated.
26528         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26529         (csinh_test_data): Likewise.
26530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26532         [BZ #18586]
26533         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26534         underflow exception for small results.
26536 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26538         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26540         variable and included header.
26541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26542         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26545         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26549         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26550         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26551         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26552         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26553         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26554         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26555         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26556         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26558 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26560         [BZ #16526]
26561         [BZ #16538]
26562         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26563         (__sin): Force underflow exception for arguments with small
26564         absolute value.
26565         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26566         (__kernel_sinf): Force underflow exception for arguments with
26567         small absolute value.
26568         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26569         (__kernel_sincosl): Force underflow exception for arguments with
26570         small absolute value.
26571         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26572         (__kernel_sinl): Force underflow exception for arguments with
26573         small absolute value.
26574         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26575         (__kernel_sincosl): Force underflow exception for arguments with
26576         small absolute value.
26577         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26578         (__kernel_sinl): Force underflow exception for arguments with
26579         small absolute value.
26580         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26581         (__kernel_sinl): Force underflow exception for arguments with
26582         small absolute value.
26583         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26584         (__kernel_sinf): Force underflow exception for arguments with
26585         small absolute value.
26586         * math/auto-libm-test-in: Add more tests of sin and sincos.
26587         * math/auto-libm-test-out: Regenerated.
26589         [BZ #18245]
26590         [BZ #18583]
26591         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26592         (__kernel_standard_l): Use feholdexcept and fesetenv around
26593         conversion to double instead of special-casing overflow and
26594         underflow.
26595         * math/libm-test.inc (fmod_test_data): Add more tests.
26596         (remainder_test_data): Likewise.
26597         (sqrt_test_data): Likewise.
26599 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26601         [BZ #17403]
26602         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26603         atomic_read_barrier, atomic_write_barrier): Define.
26604         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26605         atomic_read_barrier, atomic_write_barrier): Define.
26607 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26609         * math/Makefile [$(PERL) != no]
26610         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26611         dependency on libm-test.stmp below the inclusion of Rules.
26613 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26615         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26617         and included header.
26618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26619         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26620         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26621         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26622         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26626         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26627         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26628         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26629         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26630         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26631         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26632         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26633         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26634         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26635         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26636         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26638 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26640         [BZ #18371]
26641         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26642         intermediate but not final result might underflow.
26643         * math/s_csqrtf.c (__csqrtf): Likewise.
26644         * math/s_csqrtl.c (__csqrtl): Likewise.
26645         * math/auto-libm-test-in: Add more tests of csqrt.
26646         * math/auto-libm-test-out: Regenerated.
26647         * sysdeps/i386/fpu/libm-test-ulps: Update.
26649         [BZ #18219]
26650         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26651         threshold on absolute value of exponent for which scaling is used.
26652         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26653         * math/auto-libm-test-in: Add more tests of exp2.
26654         * math/auto-libm-test-out: Regenerated.
26656 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26658         [BZ #17977]
26659         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26660         when initializing interface list, based on the bug analysis
26661         and the patch proposed by Eric Newton.
26662         * resolv/tst-res_hconf_reorder.c: New test.
26663         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26664         tst-res_hconf_reorder.
26665         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26666         and $(shared-thread-library).
26667         (tst-res_hconf_reorder-ENV): New variable.
26669         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26670         in comment.
26672 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26674         [BZ #16353]
26675         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26676         (__expm1): Force underflow exception for arguments with small
26677         absolute value.
26678         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26679         (__expm1f): Force underflow exception for arguments with small
26680         absolute value.
26681         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26682         (__expm1): Force underflow exception for arguments with small
26683         absolute value.
26684         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26685         (__expm1f): Force underflow exception for arguments with small
26686         absolute value.
26687         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26688         Check for small arguments before calling __expm1.
26689         * math/auto-libm-test-in: Do not mark underflow exceptions as
26690         possibly missing for bug 16353.
26691         * math/auto-libm-test-out: Regenerated.
26693 2015-06-22  Andreas Schwab  <schwab@suse.de>
26695         [BZ #18513]
26696         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26697         PTR queries.
26699 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26701         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26703         * string/strcoll_l.c: Remove unused struct element idxnow.
26705 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26707         [BZ #18569]
26708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26709         underflow and return argument in case of subnormal argument.
26710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26711         Likewise.
26712         * math/auto-libm-test-in: Add more tests of expm1.
26713         * math/auto-libm-test-out: Regenerated.
26715         [BZ #16361]
26716         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26717         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26718         tiny results.
26719         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26720         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26721         tiny results.
26722         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26723         mark underflow exceptions as possibly missing for bug 16361.
26724         * math/auto-libm-test-out: Regenerated.
26726 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26728         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26729         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26730         Remove variable.
26731         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26732         (test-xfail-XOPEN2K8/utmpx.h/conform).
26734         * conform/conformtest.pl ($xerrors): New variable.
26735         (note_error): New function.
26736         (compiletest): New argument $xfail.  Use not_error.
26737         (runtest): Likewise.
26738         (top level): Handle xfail- lines.  Update calls to compiletest and
26739         runtest.  Handle xfail- and optional- in headers listed with
26740         allow-header.
26741         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26742         (O_EXEC): Likewise.
26743         (O_SEARCH): Likewise.
26744         * conform/data/stropts.h-data (ioctl): Likewise.
26745         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26746         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26747         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26748         (msghdr.msg_controllen): Likewise.
26749         (cmsghdr.cmsg_len): Likewise.
26750         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26751         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26752         variable.
26753         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26754         (test-xfail-XPG4/stropts.h/conform): Likewise.
26755         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26756         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26757         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26758         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26759         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26760         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26761         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26762         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26763         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26764         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26765         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26766         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26767         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26768         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26769         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26770         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26771         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26772         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26773         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26775 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26777         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26778         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26779         definitions for proper unfolding of __MATHDECL_VEC.
26781 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26783         * benchtests/bench-strcoll.c:
26784         Include string.h.
26785         (main): Remove unused variable res.
26787 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26789         * timezone/Makefile (%/UTC %/Universal):
26790         Generate test-result files for UTC and Universal.
26792 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26794         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26796 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26798         [BZ #16350]
26799         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26800         for arguments with small absolute value.
26801         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26802         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26803         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26804         (__asinh): Force underflow exception for arguments with small
26805         absolute value.
26806         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26807         (__asinhf): Force underflow exception for arguments with small
26808         absolute value.
26809         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26810         (__asinhl): Force underflow exception for arguments with small
26811         absolute value.
26812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26813         (__asinhl): Force underflow exception for arguments with small
26814         absolute value.
26815         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26816         (__asinhl): Force underflow exception for arguments with small
26817         absolute value.
26818         * math/auto-libm-test-in: Do not mark underflow exceptions as
26819         possibly missing for bug 16350.
26820         * math/auto-libm-test-out: Regenerated.
26822         * include/bits/ipc.h: Remove file.
26823         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26824         variable.
26825         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26826         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26827         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26828         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26829         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26830         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26831         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26832         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26833         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26835         * math/auto-libm-test-in: Remove spurious underflow allowance for
26836         tests of cexp.
26837         * math/auto-libm-test-out: Regenerated.
26839         [BZ #18558]
26840         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26841         unconditional definition.
26842         (MCAST_BLOCK_SOURCE): Likewise.
26843         (MCAST_UNBLOCK_SOURCE): Likewise.
26844         (MCAST_LEAVE_GROUP): Likewise.
26845         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26846         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26847         (MCAST_MSFILTER): Likewise.
26848         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26849         Remove variable.
26850         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26851         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26852         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26853         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26854         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26856 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26858         * NEWS: Mention addition of x86_64 vector sincosf.
26859         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26860         * math/test-float-vlen4.h: Likewise.
26861         * math/test-float-vlen8.h: Likewise.
26862         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26863         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26865         * sysdeps/x86_64/fpu/Versions: New versions added.
26866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26867         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26868         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26871         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26875         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26876         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26877         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26878         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26879         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26880         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26881         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26882         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26884         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26885         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26886         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26888         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26889         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26891         * NEWS: Mention addition of x86_64 vector sincos.
26892         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26893         * math/math.h (__MATHDECL_VEC): New macro.
26894         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26895         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26896         declaration under condition.
26897         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26898         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26899         TEST_VEC_LOOP change.
26900         * math/test-double-vlen4.h: Likewise.
26901         * math/test-double-vlen8.h: Likewise.
26902         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26903         * math/test-float-vlen4.h: Likewise.
26904         * math/test-float-vlen8.h: Likewise.
26905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26906         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26908         * sysdeps/x86_64/fpu/Versions: New versions added.
26909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26910         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26911         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26916         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26918         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26919         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26920         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26921         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26922         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26923         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26924         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26925         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26926         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26927         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26929         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26930         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26931         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26932         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26934         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26935         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26936         redirections for powf.
26937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26938         * sysdeps/x86_64/fpu/Versions: New versions added.
26939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26940         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26941         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26942         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26943         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26945         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26947         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26948         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26949         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26950         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26951         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26952         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26953         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26954         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26955         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26956         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26957         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26958         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26959         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26961         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26962         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26963         * math/test-float-vlen16.h: Fixed 2 argument macro.
26964         * math/test-float-vlen4.h: Likewise.
26965         * math/test-float-vlen8.h: Likewise.
26966         * NEWS: Mention addition of x86_64 vector powf.
26968 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26970         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26971         and redefine.
26972         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26973         and redefine.
26974         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26975         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26976         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26978         [BZ #18553]
26979         * resource/getpriority.c (getpriority): Rename to __getpriority
26980         and define as weak alias of __getpriority.
26981         * resource/setpriority.c (setpriority): Rename to __setpriority
26982         and define as weak alias of __setpriority.
26983         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26984         __getpriority and define as weak alias of __getpriority.
26985         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26986         __setpriority and define as weak alias of __setpriority.
26987         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26988         strong name.
26989         (setpriority): Use __setpriority as strong name.
26990         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26991         __getpriority and define as weak alias of __getpriority.
26992         * include/sys/resource.h (__getpriority): Declare.  Use
26993         libc_hidden_proto.
26994         (__setpriority): Likewise.
26995         (getpriority): Don't use libc_hidden_proto.
26996         (setpriority): Likewise.
26997         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26998         getpriority.  Call __setpriority instead of setpriority.
26999         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27000         Remove variable.
27002         [BZ #18547]
27003         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27004         as weak alias of __getttynam.  Use prototype function definition.
27005         Call __setttyent, __getttyent and __endttyent instead of
27006         setttyent, getttyent and endttyent.
27007         (getttyent): Rename to __getttyent and define as weak alias of
27008         __getttyent.  Call __setttyent instead of setttyent.  Call
27009         __fgets_unlocked instead of fgets_unlocked.
27010         (setttyent): Rename to __setttyent and define as weak alias of
27011         __setttyent.
27012         (endttyent): Rename to __endttyent and define as weak alias of
27013         __endttyent.
27014         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27015         (__setttyent): Likewise.
27016         (__endttyent): Likewise.
27017         (getttyent): Don't use libc_hidden_proto.
27018         (setttyent): Likewise.
27019         (endttyent): Likewise.
27020         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27021         __endttyent instead of setttyent, getttyent and endttyent.
27022         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27023         Remove variable.
27025         [BZ #18546]
27026         * socket/recv.c (__recv): Use libc_hidden_def.
27027         * socket/socket.c (__socket): Likewise.
27028         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27029         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27030         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27031         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27032         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27033         libc_hidden_def.
27034         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27035         libc_hidden_weak.
27036         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27037         Use libc_hidden_proto.
27038         (__recv): Likewise.
27039         * socket/Versions (libc): Export __recv and __socket at version
27040         GLIBC_PRIVATE.
27041         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27042         instead of recv.
27043         (init_mq_netlink): Call __socket instead of socket.
27044         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27045         Remove variable.
27047         [BZ #18545]
27048         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27049         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27050         hidden_weak.
27051         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27052         define as alias of __mq_timedsend.  Use hidden_weak.
27053         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27054         __mq_timedsend as strong name.
27055         (mq_timedreceive): Use __mq_timedreceive as strong name.
27056         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27057         (__mq_timedreceive): Likewise.
27058         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27059         __mq_timedreceive instead of mq_timedreceive.
27060         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27061         instead of mq_timedsend.
27062         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27063         Remove variable.
27065         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27066         hidden_def and hidden_weak instead of libc_hidden_def and
27067         libc_hidden_weak.
27068         (top level): Refer to hidden_def in comment.
27069         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27070         macro.  Use it instead of libc_hidden_def.
27071         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27072         specify __GI_* name explicitly.
27073         (mq_timedreceive): Likewise.
27074         (mq_setattr): Likewise.
27076         [BZ #18544]
27077         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27078         __pthread_barrier_init and define as weak alias of
27079         __pthread_barrier_init.
27080         * sysdeps/sparc/nptl/pthread_barrier_init.c
27081         (pthread_barrier_init): Likewise.
27082         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27083         __pthread_barrier_wait and define as weak alias of
27084         __pthread_barrier_wait.
27085         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27086         (pthread_barrier_wait): Likewise.
27087         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27088         (pthread_barrier_wait): Likewise.
27089         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27090         (pthread_barrier_wait): Likewise.
27091         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27092         (pthread_barrier_wait): Likewise.
27093         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27094         __pthread_barrier_wait at version GLIBC_PRIVATE.
27095         * include/pthread.h (__pthread_barrier_init): Declare.
27096         (__pthread_barrier_wait): Likewise.
27097         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27098         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27099         (helper_thread): Likewise.
27100         (init_mq_netlink): Call __pthread_barrier_init instead of
27101         pthread_barrier_init.
27103         [BZ #18542]
27104         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27105         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27106         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27107         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27108         vswscanf.
27109         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27110         Remove variable.
27112         [BZ #18540]
27113         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27114         strong alias of _IO_fflush.  Use libc_hidden_def.
27115         * libio/iofflush_u.c (fflush_unlocked): Rename to
27116         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27117         Use libc_hidden_weak.
27118         * include/stdio.h (__fflush_unlocked): Declare.  Use
27119         libc_hidden_proto.
27120         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27121         fflush_unlocked.
27122         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27123         Remove variable.
27125         [BZ #18539]
27126         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27127         define as weak alias of __addseverity.
27128         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27129         Remove variable.
27130         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27131         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27132         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27134         [BZ #18536]
27135         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27136         (__tfind): Likewise.
27137         (__tdelete): Likewise.
27138         (__twalk): Likewise.
27139         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27140         __twalk to GLIBC_PRIVATE.
27141         * include/search.h (__tsearch): Use libc_hidden_proto.
27142         (__tfind): Likewise.
27143         (__tdelete): Likewise.
27144         (__twalk): Likewise.
27145         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27146         Call __tdelete instead of tdelete.
27147         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27148         tfind.  Call __tsearch instead of tsearch.
27149         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27150         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27151         Remove variable.
27152         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27154         [BZ #18534]
27155         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27156         (dprintf): Define as a weak alias of __dprintf, not a strong
27157         alias.
27158         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27159         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27160         dprintf.
27161         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27162         Remove variable.
27163         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27164         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27166         [BZ #18533]
27167         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27168         not a strong alias.
27169         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27170         Remove variable.
27172         [BZ #18532]
27173         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27174         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27175         (in6addr_loopback): Rename to __in6addr_loopback and define as
27176         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27177         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27178         libc_hidden_proto.
27179         (__in6addr_any): Likewise.
27180         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27181         in6addr_any.
27182         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27183         variable.
27184         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27186 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27188         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27189         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27190         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27191         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27192         redirections for pow.
27193         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27194         * sysdeps/x86_64/fpu/Versions: New versions added.
27195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27196         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27197         build of SSE, AVX2 and AVX512 IFUNC versions.
27198         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27199         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27203         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27205         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27206         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27207         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27208         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27209         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27210         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27211         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27212         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27213         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27214         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27215         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27216         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27217         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27218         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27219         * NEWS: Mention addition of x86_64 vector pow.
27221         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27222         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27223         redirections for expf.
27224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27225         * sysdeps/x86_64/fpu/Versions: New versions added.
27226         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27227         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27228         build of SSE, AVX2 and AVX512 IFUNC versions.
27229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27235         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27236         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27237         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27238         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27239         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27240         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27241         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27242         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27243         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27244         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27245         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27246         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27247         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27248         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27249         * NEWS: Mention addition of x86_64 vector expf.
27251         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27252         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27254         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27255         redirections for exp.
27256         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27257         * sysdeps/x86_64/fpu/Versions: New versions added.
27258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27260         build of SSE, AVX2 and AVX512 IFUNC versions.
27261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27266         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27267         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27268         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27269         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27270         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27271         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27272         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27273         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27274         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27275         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27277         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27278         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27279         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27280         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27281         * NEWS: Mention addition of x86_64 vector exp.
27283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27284         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27285         redirections for logf.
27286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27287         * sysdeps/x86_64/fpu/Versions: New versions added.
27288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27289         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27290         build of SSE, AVX2 and AVX512 IFUNC versions.
27291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27293         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27295         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27296         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27297         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27298         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27299         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27300         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27301         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27302         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27304         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27305         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27306         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27310         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27311         * NEWS: Mention addition of x86_64 vector logf.
27313         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27314         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27317         redirections for log.
27318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27319         * sysdeps/x86_64/fpu/Versions: New versions added.
27320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27321         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27322         build of SSE, AVX2 and AVX512 IFUNC versions.
27323         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27324         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27325         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27326         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27327         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27328         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27329         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27330         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27331         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27332         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27333         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27334         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27335         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27336         test.
27337         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27343         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27344         * NEWS: Mention addition of x86_64 vector log.
27346 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27348         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27349         cfi_adjust_cfa_offset argument.
27350         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27351         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27353         [BZ #18034]
27354         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27355         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27356         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27357         ordering using ldar.
27358         (_dl_tlsdesc_dynamic): Likewise.
27359         (_dl_tlsdesc_return_lazy): Likewise.
27360         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27361         relaxed atomics instead of volatile and synchronize with release store.
27362         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27363         volatile.
27364         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27366 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27368         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27369         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27370         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27371         * sysdeps/x86_64/fpu/Versions: New versions added.
27372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27373         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27374         build of SSE, AVX2 and AVX512 IFUNC versions.
27375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27378         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27381         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27382         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27383         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27384         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27385         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27386         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27387         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27388         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27389         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27390         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27391         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27392         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27393         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27394         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27395         * NEWS: Mention addition of x86_64 vector sinf.
27397 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27399         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27400         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27401         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27402         Remove variable.
27403         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27404         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27406 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27408         [BZ #18530]
27409         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27410         strong alias of _IO_fputs.  Use libc_hidden_def.
27411         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27412         and define as weak alias of __fputs_unlocked.  Use
27413         libc_hidden_weak.
27414         * include/stdio.h (__fputs_unlocked): Declare.  Use
27415         libc_hidden_proto.
27416         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27417         fputs_unlocked.
27419         [BZ #18529]
27420         * resolv/netdb.h [__USE_POSIX]: Change condition to
27421         [__USE_XOPEN2K].
27422         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27423         not expect.
27424         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27425         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27426         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27427         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27428         [XPG4 || UNIX98] (AI_ALL): Likewise.
27429         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27430         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27431         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27432         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27433         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27434         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27435         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27436         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27437         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27438         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27439         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27440         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27441         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27442         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27443         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27444         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27445         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27446         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27447         [XPG4 || UNIX98] (gai_strerror): Likewise.
27448         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27449         [XPG4 || UNIX98] (getnameinfo): Likewise.
27451         [BZ #18528]
27452         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27453         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27454         __USE_XOPEN2K8].
27455         (getgrent): Likewise.
27456         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27457         expect.
27458         [XPG3 || POSIX2008] (endgrent): Likewise.
27459         [XPG3] (setgrent): Likewise.
27460         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27461         variable.
27462         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27464         [BZ #18527]
27465         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27466         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27467         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27468         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27469         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27470         * include/unistd.h (__getlogin_r): Declare.  Use
27471         libc_hidden_proto.
27472         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27473         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27474         variable.
27475         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27476         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27477         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27479 2015-06-12  Martin Sebor  <msebor@redhat.com>
27481         [BZ #18512]
27482         * Makerules (check-install-supported): New target.
27483         (install): Add check-install-supported as a dependency.
27484         * manual/install.texi (Installing the C Library): Document
27485         that overriding prefix and exec_prefix is not supported.
27486         Mention DESTDIR.
27487         * INSTALL: Regenerate from the above.
27489 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27491         [BZ #18519]
27492         * posix/Versions (libc): Export __libc_pread at version
27493         GLIBC_PRIVATE.
27494         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27495         instead of pread.
27496         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27497         variable.
27499         [BZ #18522]
27500         * misc/efgcvt_r.c
27501         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27502         (cvt_symbol): Use weak_alias instead of strong_alias.
27503         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27504         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27505         Remove variable.
27506         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27507         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27509         [BZ #18520]
27510         * inet/herrno.c (h_errno): Rename to __h_errno.
27511         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27512         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27513         to __h_errno instead of h_errno.
27514         * nptl/herrno.c (h_errno): Rename to __h_errno.
27515         (__h_errno_location): Refer to __h_errno not h_errno.
27516         * resolv/Versions (h_errno): Rename to __h_errno.
27517         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27518         Remove variable.
27519         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27521 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27523         * configure.ac: More strict check for AVX512 assembler support.
27524         * configure: Regenerated.
27526         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27527         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27528         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27529         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27530         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27531         * sysdeps/x86_64/fpu/Versions: New versions added.
27532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27533         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27534         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27538         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27540         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27541         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27542         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27543         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27544         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27545         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27546         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27547         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27548         test.
27549         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27550         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27552         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27553         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27554         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27555         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27556         * NEWS: Mention addition of x86_64 vector sin.
27558 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27560         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27561         comment.
27563 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27565         [BZ #18479]
27566         * nptl/pt-interp.c: New file.
27567         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27568         Add pt-interp.
27569         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27570         $(common-objpfx)runtime-linker.h.
27572 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27574         * Makeconfig (+interp): Remove unused variable.
27575         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27576         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27577         $(elf-objpfx)runtime-linker.h.
27578         ($(elf-objpfx)runtime-linker.h): Rename to
27579         $(common-objpfx)runtime-linker.h and move ...
27580         * Makerules [$(build-shared) = yes]: ... here.
27581         * elf/interp.c: Include <runtime-linker.h> instead of
27582         <elf/runtime-linker.h>.
27584 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27586         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27587         (__gettimeofday_syscall): Remove vsyscall fallback.
27588         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27589         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27590         Add syscall fallback function.
27591         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27592         if vDSO is not present.
27593         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27594         fallback function.
27595         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27596         present.
27597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27598         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27600 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27602         [BZ #18497]
27603         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27604         of wcscmp.
27605         (wcscmp): Define as weak alias of WCSCMP.
27606         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27607         wcscoll.
27608         (USE_HIDDEN_DEF): Define.
27609         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27610         __wcscoll.  Don't use libc_hidden_weak.
27611         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27612         wcscmp.
27613         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27614         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27615         __GI_wcscmp.
27616         (weak_alias): Undefine and redefine.
27617         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27618         __wcscmp and define as weak alias of __wcscmp.
27619         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27620         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27621         (__wcscoll): Likewise.
27622         (wcscmp): Don't use libc_hidden_proto.
27623         (wcscoll): Likewise.
27624         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27625         wcscoll.
27626         * posix/regexec.c (check_node_accept_bytes): Likewise.
27627         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27628         variable.
27629         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27630         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27632         [BZ #18507]
27633         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27634         __fstatvfs and define as weak alias of __fstatvfs.  Use
27635         libc_hidden_weak.
27636         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27637         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27638         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27639         Define as alias of __fstatvfs, not fstatvfs.
27640         (fstatvfs64): Likewise.
27641         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27642         Define as alias of __statvfs, not statvfs.
27643         (statvfs64): Likewise.
27644         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27645         Remove variable.
27647 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27650         (HAVE_GETCPU_VSYSCALL): Define.
27651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27652         (HAVE_GETCPU_VSYSCALL): Likewise.
27653         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27654         * sysdeps/unix/sysv/linux/sched_getcpu.c
27655         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27656         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27657         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27658         prototype.
27659         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27660         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27661         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27663         Define.
27664         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27665         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27666         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27669 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27671         * sysdeps/x86_64/fpu/Makefile: New file.
27672         * sysdeps/x86_64/fpu/Versions: New file.
27673         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27674         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27675         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27676         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27677         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27678         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27679         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27681         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27685         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27686         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27687         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27688         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27689         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27690         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27691         * sysdeps/x86_64/configure: Regenerated.
27692         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27693         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27694         * manual/install.texi (Configuring and compiling): Document
27695         --disable-mathvec.
27696         * INSTALL: Regenerated.
27697         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27699         * math/Makefile: Added rules for vector tests.
27700         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27701         declaration under condition.
27702         * math/test-double-vlen2.h: New file.
27703         * math/test-double-vlen4.h: New file.
27704         * math/test-double-vlen8.h: New file.
27705         * math/test-vec-loop.h: Added initialization macro.
27706         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27707         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27708         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27709         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27710         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27713         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27714         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27715         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27716         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27719         * sysdeps/x86_64/fpu/Versions: New versions added.
27720         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27721         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27723         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27724         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27727         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27728         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27729         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27730         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27731         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27732         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27734         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27736         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27737         * NEWS: Mention addition of x86_64 vector cosf.
27739         * math/Makefile: Added CFLAGS for new tests.
27740         * math/test-float-vlen16.h: New file.
27741         * math/test-float-vlen4.h: New file.
27742         * math/test-float-vlen8.h: New file.
27743         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27744         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27746         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27747         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27748         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27749         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27750         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27751         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27752         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27753         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27755 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27757         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27758         * locale/programs/ld-ctype.c: Likewise.
27760 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27762         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27763         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27764         bit_ZMM16_31_state): New macro.
27765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27766         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27768 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27770         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27772 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27774         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27776 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27778         [BZ #18498]
27779         * libio/memstream.c (open_memstream): Rename to __open_memstream
27780         and define as weak alias of __open_memstream.
27781         * include/stdio.h (__open_memstream): Declare.  Use
27782         libc_hidden_proto.
27783         (open_memstream): Don't use libc_hidden_proto.
27784         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27785         open_memstream.
27786         * posix/getopt.c (_getopt_internal_r): Likewise.
27787         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27788         variable.
27789         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27790         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27791         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27793         [BZ #18496]
27794         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27795         instead of wcrtomb.
27797         [BZ #18483]
27798         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27799         [__USE_XOPEN2K8].  Remove redundant #endif.
27800         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27801         Remove redundant #if.
27802         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27803         Remove variable.
27804         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27805         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27807         [BZ #18495]
27808         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27809         (__iswlower): Likewise.
27810         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27811         (__iswlower): Likewise.
27812         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27813         instead of towlower.
27814         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27815         instead of iswlower.  Call __towupper instead of towupper.
27816         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27817         instead of iswalnum.
27819 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27821         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27822         errors to stderr.
27824 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27826         [BZ #15661]
27827         [BZ #17322]
27828         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27829         Check for overflow properly.  Check for O_APPEND.  Ignore large
27830         file system block sizes.  Add comments about problems.
27831         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27832         * manual/filesys.texi (Storage Allocation): New node.
27834 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27836         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27837         cancellable syscalls.
27838         (SYS_ify): Add guard to no redefine it.
27839         (INLINE_SYSCALL): Likewise.
27840         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27841         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27842         SYSCALL_CANCEL instead.
27843         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27844         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27845         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27846         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27847         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27848         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27849         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27850         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27851         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27852         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27853         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27854         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27855         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27856         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27857         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27859         Likewise.
27860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27861         (__libc_pread64): Likewise.
27862         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27863         (__libc_preadv): Likewise.
27864         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27865         (__libc_readv64): Likewise.
27866         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27867         (__libc_pwrite): Likewise.
27868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27869         (__libc_pwrite64): Likewise.
27870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27871         (__libc_pwritev): Likewise.
27872         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27873         (__libc_pwritev64): Likewise.
27874         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27875         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27876         (sync_file_range): Likewise.
27877         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27878         Likewise.
27879         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27880         Likewise.
27881         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27882         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27883         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27884         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27885         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27886         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27887         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27888         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27890         Likewise.
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27892         (__libc_read64): Likewise.
27893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27894         Likewise.
27895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27896         Likewise.
27897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27898         Likewise.
27899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27900         Likewise.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27902         (__libc_pread64): Likewise.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27904         Likewise.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27906         (__libc_pwrite64): Likewise.
27907         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27908         (sync_file_range): Likewise.
27909         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27910         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27911         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27912         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27913         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27914         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27915         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27916         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27917         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27918         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27919         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27920         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27921         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27922         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27923         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27924         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27925         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27926         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27927         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27928         Likewise.
27929         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27930         Likewise.
27931         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27932         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27933         Likewise.
27934         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27935         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27936         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27937         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27938         Likewise.
27939         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27941         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27942         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27943         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27945 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27947         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27948         Include dl-vdso.
27949         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27950         Use VDSO routines for gettimeofday, clock_gettime if
27951         available.
27952         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27953         Declare VDSO symbols.
27954         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27955         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27956         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27957         * sysdeps/unix/sysv/linux/arm/Versions: Add
27958         __vdso_clock_gettime.
27960 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27962         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27963         be an inline implementation regardless of library is built within.
27964         (open_not_cancel_2): Likewise.
27965         (__read_nocancel): Likewise.
27966         (__write_nocancel): Likewise.
27967         (openat_not_cancel): Likewise.
27968         (openat_not_cancel_3): Likewise.
27969         (openat64_not_cancel): Likewise.
27970         (openat64_not_cancel_3): Likewise.
27971         (__close_nocancel): Likewise.
27972         (pause_not_cancel): Likewise.
27973         (nanosleep_not_cancel): Likewise.
27974         (sigsuspend_not_cancel): Likewise.
27976 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27978         [BZ #14958]
27979         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27980         wake-up.
27981         (__pthread_rwlock_rdlock_slow): Likewise.
27982         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27983         Likewise.
27984         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27985         Likewise.
27986         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27987         * nptl/tst-rwlock16.c: New file.
27988         * nptl/Makefile (tests): Add new test.
27990 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27992         [BZ #18324]
27993         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27994         missing wake-up of readers.
27995         * nptl/tst-rwlock15.c: New file.
27996         * nptl/Makefile (tests): Add new test.
27998 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28000         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28001         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28002         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28003         and __nacl_supply_interface_rtld.
28004         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28005         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28006         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28007         Add __nacl_supply_interface_rtld.
28008         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28010 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28012         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28013         isfinite.
28014         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28015         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28017 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28019         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28020         __signbit* with standard C99 macros.
28021         * math/e_exp10l.c: Likewise.
28022         * math/e_exp2l.c: Likewise.
28023         * math/e_scalb.c: Likewise.
28024         * math/e_scalbf.c: Likewise.
28025         * math/e_scalbl.c: Likewise.
28026         * math/s_ldexp.c: Likewise.
28027         * math/s_ldexpf.c: Likewise.
28028         * math/s_ldexpl.c: Likewise.
28029         * math/w_atan2.c: Likewise.
28030         * math/w_atan2f.c: Likewise.
28031         * math/w_atan2l.c: Likewise.
28032         * math/w_cosh.c: Likewise.
28033         * math/w_coshf.c: Likewise.
28034         * math/w_coshl.c: Likewise.
28035         * math/w_exp10.c: Likewise.
28036         * math/w_exp10f.c: Likewise.
28037         * math/w_exp10l.c: Likewise.
28038         * math/w_exp2.c: Likewise.
28039         * math/w_exp2f.c: Likewise.
28040         * math/w_exp2l.c: Likewise.
28041         * math/w_fmod.c: Likewise.
28042         * math/w_fmodf.c: Likewise.
28043         * math/w_fmodl.c: Likewise.
28044         * math/w_hypot.c: Likewise.
28045         * math/w_hypotf.c: Likewise.
28046         * math/w_hypotl.c: Likewise.
28047         * math/w_jnl.c: Likewise.
28048         * math/w_lgamma.c: Likewise.
28049         * math/w_lgamma_r.c: Likewise.
28050         * math/w_lgammaf.c: Likewise.
28051         * math/w_lgammaf_r.c: Likewise.
28052         * math/w_lgammal.c: Likewise.
28053         * math/w_lgammal_r.c: Likewise.
28054         * math/w_pow.c: Likewise.
28055         * math/w_powf.c: Likewise.
28056         * math/w_powl.c: Likewise.
28057         * math/w_remainder.c: Likewise.
28058         * math/w_remainderf.c: Likewise.
28059         * math/w_remainderl.c: Likewise.
28060         * math/w_scalb.c: Likewise.
28061         * math/w_scalbf.c: Likewise.
28062         * math/w_scalbl.c: Likewise.
28063         * math/w_scalbln.c: Likewise.
28064         * math/w_scalblnf.c: Likewise.
28065         * math/w_scalblnl.c: Likewise.
28066         * math/w_sinh.c: Likewise.
28067         * math/w_sinhf.c: Likewise.
28068         * math/w_sinhl.c: Likewise.
28069         * math/w_tgamma.c: Likewise.
28070         * math/w_tgammaf.c: Likewise.
28071         * math/w_tgammal.c: Likewise.
28072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28073         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28074         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28075         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28076         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28077         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28078         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28079         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28080         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28081         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28082         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28083         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28084         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28085         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28086         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28087         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28089         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28093         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28099         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28100         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28102         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28103         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28104         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28105         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28106         * stdio-common/printf_fp.c: Likewise.
28107         * stdio-common/printf_fphex.c: Likewise.
28108         * stdio-common/printf_size.c: Likewise.
28110 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28112         [BZ #18470]
28113         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28114         strnlen.
28115         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28116         Remove variable.
28117         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28118         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28119         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28120         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28121         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28122         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28123         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28124         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28125         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28126         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28128         [BZ #18468]
28129         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28130         weak alias of __wmemchr.  Use libc_hidden_weak.
28131         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28132         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28133         instead of wmemchr.
28135 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28137         [BZ #18383]
28138         * elf/tst-tlsalign-extern.c: New file.
28139         * elf/tst-tlsalign-extern-static.c: New file.
28140         * elf/tst-tlsalign-vars.c: New file.
28141         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28142         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28143         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28144         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28145         (test-xfail-tst-tlsalign-extern-static): New variable.
28147 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28149         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28150         Use variable name _sc_err instead of err.
28151         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28152         instead of ret.
28153         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28154         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28155         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28156         (INLINE_SYSCALL): Likewise.
28158         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28159         * include/string.h (__strnlen): Use libc_hidden_proto.
28160         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28161         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28162         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28163         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28164         (libc_hidden_def): Undefine and redefine.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28166         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28167         __GI_strnlen.
28168         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28169         libc_hidden_def.
28170         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28172         [BZ #18469]
28173         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28174         weak alias of __towlower.  Use libc_hidden_weak.
28175         (towupper): Rename to __towupper and define as weak alias of
28176         __towupper.  Use libc_hidden_weak.
28177         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28178         (__towupper): Likewise.
28179         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28180         __towlower instead of towlower.
28182 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28184         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28185         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28187 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28189         * sysdeps/aarch64/libm-test-ulps: Update.
28191 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28193         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28194         Define.
28195         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28197         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28198         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28199         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28200         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28201         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28203 2015-06-01  Martin Sebor  <msebor@redhat.com>
28205         [BZ #18116]
28206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28207         (__setcontext): Use extended four-operand version of mtsf whenever
28208         possible.
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28210         (__novec_swapcontext): Likewise.
28212 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28214         * benchtests/scripts/compare_bench.py: New file.
28215         * benchtests/scripts/import_bench.py (mean): New function.
28216         (split_list): Likewise.
28217         (do_for_all_timings): Likewise.
28218         (compress_timings): Likewise.
28220         * benchtests/scripts/import_bench.py: New file.
28221         * benchtests/scripts/validate_benchout.py: Import import_bench
28222         instead of jsonschema.
28223         (validate_bench): Remove function.
28224         (main): Use import_bench.
28226 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28228         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28229         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28231 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28235 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28237         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28238         set THREAD_SELF->tid to a magic value and futex-wake it.
28239         Pass its address to the thread_exit system call.
28240         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28241         bit is clear.
28242         * sysdeps/nacl/lowlevellock.h: New file.
28243         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28245         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28246         Add TIMEOUT to current time, don't subtract it.
28248 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28250         [BZ #2981]
28251         [BZ #18422]
28252         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28253         ($(objpfx)tst-audit2.out): Also depend on
28254         $(objpfx)tst-auditmod9b.so.
28255         * elf/tst-audit2.c: Include <dlfcn.h>.
28256         (calloc_called): New.
28257         (calloc): Allow to be called more than once.
28258         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28260 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28262         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28263         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28265 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28267         * stdlib/monetary.h: Fix comment.
28269 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28271         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28272         Avoid using variables in #defines that might cause shadowing.
28273         (INTERNAL_VSYSCALL_CALL): Likewise.
28275 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28277         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28279         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28280         * nptl/lll_timedlock_wait.c: ... to this new file.
28281         * nptl/Makefile (libpthread-routines): Add it.
28282         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28283         * nptl/lll_timedwait_tid.c: ... to this new file.
28284         * nptl/Makefile (libpthread-routines): Add it.
28285         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28286         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28287         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28288         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28289         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28290         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28291         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28292         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28293         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28294         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28296 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28298         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28299         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28300         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28302         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28304         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28306         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28307         * sysdeps/unix/sysv/linux/tile/sysdep.h
28308         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28309         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28310         using vDSO syscall macro.
28312 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28314         [BZ #17293]
28315         * uk_UA: Fix sorting order for Ukrainian locale
28317 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28319         * stdlib/monetary.h: Fix comment.
28321 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28323         [BZ #18234]
28324         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28325         st_mtim and st_ctim members.
28326         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28327         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28328         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28329         (struct stat64): Likewise.
28330         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28331         (struct stat64): Likewise.
28332         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28333         (struct stat64): Likewise.
28335 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28337         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28338         Define and include sysdep-vdso.h.
28339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28340         Likewise.
28341         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28342         Likewise.
28343         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28344         Define with VDSO_SYMBOL and use PTR_MANGLE.
28345         (__vdso_clock_gettime): Likewise.
28346         (__vdso_clock_getres): Likewise.
28347         (_libc_vdso_platform_setup): Likewise.
28348         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28349         Likewise.
28350         (_libc_vdso_platform_setup): Likewise.
28351         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28352         Likewise.
28353         (__vdso_clock_gettime): Likewise.
28354         (__vdso_clock_getres): Likewise.
28355         (__vdso_get_tbfreq): Likewise.
28356         (__vdso_getcpu): Likewise.
28357         (__vdso_time): Likewise.
28358         (__vdso_sigtramp_rt64): Likewise.
28359         (__vdso_signtramp32): Likewise.
28360         (__vdso_sigtramp_rt32): Likewise.
28361         (_libc_vdso_platform_setup): Likewise.
28362         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28363         Likewise.
28364         (__vdso_clock_gettime): Likewise.
28365         (__vdso_clock_getres): Likewise.
28366         (_libc_vdso_platform_setup): Likewise.
28367         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28368         Likewise.
28369         (__vdso_clock_gettime): Likewise.
28370         (_libc_vdso_platform_setup): Likewise.
28371         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28372         Likewise.
28373         (__vdso_getcpu): Likewise.
28374         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28375         Use VDSO_SYMBOL macro to define.
28376         (__vdso_clock_gettime): Likewise.
28377         (__vdso_clock_getres): Likewise.
28378         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28379         Likewise.
28380         (__vdso_clock_gettime): Likewise.
28381         (__vdso_clock_getres): Likewise.
28382         (__vdso_get_tbfreq): Likewise.
28383         (__vdso_getcpu): Likewise.
28384         (__vdso_time): Likewise.
28385         (__vdso_sigtramp_rt64): Likewise.
28386         (__vdso_signtramp32): Likewise.
28387         (__vdso_sigtramp_rt32): Likewise.
28388         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28389         Likewise.
28390         (__vdso_clock_gettime): Likewise.
28391         (__vdso_clock_getres): Likewise.
28392         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28393         Likewise.
28394         (__vdso_clock_gettime): Likewise.
28395         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28396         Likewise.
28397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28398         macro.
28399         (INTERNAL_VSYSCALL): Likewise.
28400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28401         Remove macro.
28402         (INTERNAL_VSYSCALL): Likewise.
28403         (INTERNAL_VSYSCALL_NCS): Likewise.
28404         (INTERNAL_VSYSCALL_CALL): New macro.
28405         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28407         Likewise.
28408         (INTERNAL_VSYSCALL): Likewise.
28409         (INTERNAL_VSYSCALL_NCS): Likewise.
28410         (INTERNAL_VSYSCALL_CALL): New macro.
28411         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28413         (INLINE_VSYSCALL): Remove macro.
28414         (INTERNAL_VSYSCALL): Remove macro.
28415         (INTERNAL_VSYSCALL_NCS): Remove macro.
28416         (INTERNAL_VSYSCALL_CALL): New macro.
28417         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28418         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28419         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28420         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28421         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28423         (INLINE_VSYSCALL): Remove macro.
28424         (INTERNAL_VSYSCALL): Likewise.
28425         (INTERNAL_VSYSCALL_NCS): Likewise.
28426         (INTERNAL_VSYSCALL_CALL): New macro.
28427         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28428         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28429         PTR_DEMANGLE on vDSO pointer.
28430         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28431         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28432         macro.
28433         (INTERNAL_SYSCALL): Likewise.
28434         (INTERNAL_VSYSCALL_NCS): Remove macro.
28435         (INTERNAL_VSYSCALL_CALL): New macro.
28436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28437         Remove macro.
28438         (INTERNAL_VSYSCALL): Likewise.
28439         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28440         sysdep-vdso.h instead of libc-vdso.h.
28441         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28442         definition.
28443         (INLINE_VSYSCALL): Likewise.
28444         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28445         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28446         definition.
28447         (INLINE_VSYSCALL): Likewise.
28448         (INTERNAL_VSYSCALL): Likewise.
28449         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28450         * sysdeps/unix/sysv/linux/timespec_get.c
28451         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28452         (timespec_get): Use ANSI prototype.
28453         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28454         and definition for Linux.
28456 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28458         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28459         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28461 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28463         [BZ #2981]
28464         [BZ #18410]
28465         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28466         for missing DT_PLTRELSZ.
28468 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28470         Remove obsolete aliases that broke 'locale -a'
28471         [BZ #18412]
28472         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28473         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28474         breaking some applications that use 'locale -a' output.
28475         Change the encoding of this file from Latin-1 to ASCII to avoid
28476         other potential problems with people grepping this file.
28478 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28480         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28481         -fasynchronous-unwind-tables.
28482         (CFLAGS-sendto.c): Likewise.
28483         (CFLAGS-sendmsg.c): Likewise.
28484         (CFLAGS-connect.c): Likewise.
28485         (CFLAGS-recvmsg.c): Likewise.
28486         (CFLAGS-recvfrom.c): Likewise.
28487         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28488         (SOCKETCALL): New macro: non-cancellable socketcall.
28489         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28490         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28491         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28492         * sysdeps/unix/sysv/linux/accept.c: New file.
28493         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28494         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28495         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28496         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28497         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28498         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28499         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28500         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28501         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28502         * sysdeps/unix/sysv/linux/send.c: Likewise.
28503         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28504         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28505         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28506         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28507         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28508         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28509         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28510         prototype.
28511         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28512         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28513         instead of __internal_xxx function.
28514         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28515         prototype.
28516         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28517         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28518         instead of __internal_xxx function.
28519         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28520         prototype.
28521         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28522         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28523         instead of __internal_xxx function.
28524         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28525         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28526         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28527         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28528         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28529         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28530         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28531         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28532         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28533         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28534         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28535         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28536         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28537         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28538         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28539         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28540         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28541         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28542         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28543         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28546         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28547         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28548         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28549         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28550         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28551         * sysdeps/unix/sysv/linux/send.S: Likewise.
28552         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28553         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28554         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28555         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28556         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28557         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28558         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28559         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28560         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28561         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28562         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28563         socketcall is implemented in GLIBC.
28565 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28567         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28568         (__fma): Ignore uninitialized warnings around packing.
28569         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28570         (__fmaf): Ignore uninitialized warnings around packing.
28571         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28572         (__fmal): Ignore uninitialized warnings around packing.
28574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28575         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28576         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28577         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28579         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28580         switch statement into default case.
28581         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28583         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28584         a conditional in forcing "inexact".
28585         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28586         Likewise.
28588 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28590         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28591         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28592         for each INTERNAL_SYSCALL use.
28594 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28596         [BZ #438]
28597         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28598         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28599         variable.
28601         [BZ #18444]
28602         * string/basename.c (basename): Rename to __basename and define as
28603         weak alias of __basename.  Use libc_hidden_weak.
28604         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28605         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28606         __basename instead of basename.
28607         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28608         Remove variable.
28609         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28611 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28613         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28614         (_IO_JUMPS_FILE_plus): New.
28615         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28616         _IO_CAST_FIELD_ACCESS.
28617         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28618         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28619         * libio/freopen.c (freopen): Likewise.
28620         * libio/freopen64.c (freopen64): Likewise.
28621         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28622         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28623         * libio/iofwide.c (_IO_fwide): Likewise.
28624         * libio/memstream.c (open_memstream): Likewise.
28625         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28626         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28627         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28629 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28631         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28632         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28633         NADJ.
28634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28635         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28636         NADJ.
28637         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28638         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28639         NADJ.
28641         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28642         (p == 4) case.
28644         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28645         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28646         Remove variable.
28647         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28648         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28649         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28651 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28653         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28654         Adjust jump table label generation macros.
28656 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28658         * stdio-common/vfprintf.c (vfprintf): Move local variables
28659         args_malloced, specs, specs_malloced, and the code after
28660         do_positional to the printf_positional function.
28661         (printf_positional): New function.
28663 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28665         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28666         function.
28667         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28668         STEP4_TABLE, process_arg): Move macro definitions
28669         out of the vfprintf function.  (Cosmetic change only.)
28671 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28673         * benchtests/Makefile (stdio-common-bench): Define.
28674         (benchset): Add stdio-common-bench.
28675         * sprintf-inputs: New file.
28676         * sprintf-source.c: New file.
28678 2015-05-21  Andreas Schwab  <schwab@suse.de>
28680         [BZ #13028]
28681         [BZ #17053]
28682         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28683         of struct __res_state.
28684         * resolv/res_send.c (__libc_res_nsend): Likewise.
28685         (get_nsaddr): New function.
28686         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28687         statp directly.
28689 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28691         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28692         -D_POSIX_C_SOURCE=199506L.
28694         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28696         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28697         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28698         Do not mention otherwise.
28699         [POSIX] (_XOPEN_VERSION): Do not expect.
28700         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28701         [POSIX] (_POSIX2_C_BIND): Likewise.
28702         [POSIX] (_POSIX2_VERSION): Likewise.
28703         [POSIX] (_XOPEN_XPG2): Likewise.
28704         [POSIX] (_XOPEN_XPG3): Likewise.
28705         [POSIX] (_XOPEN_XPG4): Likewise.
28706         [POSIX] (_XOPEN_UNIX): Likewise.
28707         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28708         [POSIX] (_POSIX_BARRIERS): Likewise.
28709         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28710         [POSIX] (_POSIX_CPUTIME): Likewise.
28711         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28712         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28713         [POSIX] (_POSIX_SHELL): Likewise.
28714         [POSIX] (_POSIX_SPAWN): Likewise.
28715         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28716         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28717         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28718         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28719         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28720         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28721         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28722         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28723         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28724         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28725         [POSIX] (_POSIX2_PBS): Likewise.
28726         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28727         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28728         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28729         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28730         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28731         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28732         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28733         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28734         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28735         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28736         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28737         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28738         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28739         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28740         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28741         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28742         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28743         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28744         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28745         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28746         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28747         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28748         [POSIX] (_SC_2_C_BIND): Likewise.
28749         [POSIX] (_SC_2_C_VERSION): Likewise.
28750         [POSIX] (_SC_2_PBS): Likewise.
28751         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28752         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28753         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28754         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28755         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28756         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28757         [POSIX] (_SC_BARRIERS): Likewise.
28758         [POSIX] (_SC_BASE): Likewise.
28759         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28760         [POSIX] (_SC_DEVICE_IO): Likewise.
28761         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28762         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28763         [POSIX] (_SC_FD_MGMT): Likewise.
28764         [POSIX] (_SC_FIFO): Likewise.
28765         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28766         [POSIX] (_SC_FILE_LOCKING): Likewise.
28767         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28768         [POSIX] (_SC_IOV_MAX): Likewise.
28769         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28770         [POSIX] (_SC_NETWORKING): Likewise.
28771         [POSIX] (_SC_PAGE_SIZE): Likewise.
28772         [POSIX] (_SC_PASS_MAX): Likewise.
28773         [POSIX] (_SC_PIPE): Likewise.
28774         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28775         [POSIX] (_SC_REGEXP): Likewise.
28776         [POSIX] (_SC_SHELL): Likewise.
28777         [POSIX] (_SC_SIGNALS): Likewise.
28778         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28779         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28780         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28781         [POSIX] (_SC_USER_GROUPS): Likewise.
28782         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28783         [POSIX] (_SC_STREAMS): Likewise.
28784         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28785         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28786         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28787         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28788         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28789         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28790         [POSIX] (_PC_FILESIZEBITS): Likewise.
28791         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28792         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28793         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28794         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28795         [POSIX] (uid_t): Likewise.
28796         [POSIX] (gid_t): Likewise.
28797         [POSIX] (off_t): Likewise.
28798         [POSIX] (pid_t): Likewise.
28799         [POSIX] (cuserid): Allow.
28800         (_SC_2_CHAR_TERM): Require constant.
28801         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28802         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28803         variable.
28805 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28807         * sysdeps/nacl/pthread-pids.h: New file.
28808         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28809         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28811         * nptl/pthread-pids.h: New file.
28812         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28813         * nptl/nptl-init.c: Include <pthread-pids.h>.
28814         (__pthread_initialize_minimal_internal):
28815         Call __pthread_initialize_pids instead of set_tid_address syscall.
28817         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28818         * sysdeps/posix/usleep.c: ... here.
28820 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28822         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28823         call_pselect6 object.
28824         [$(subdir) = io]: Remove call_sync_file_range object.
28825         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28826         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28827         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28828         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28830 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28832         * math/s_cproj.c: Add include "math_private.h".
28833         * math/s_cprojf.c: Likewise.
28834         * math/s_cprojl.c: Likewise.
28836 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28838         [BZ #18244]
28839         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28840         high mantissa bit when testing whether P is a NaN.
28841         * math/libm-test.inc (remainder_test_data): Add more tests.
28842         (remquo_test_data): Likewise.
28844         [BZ #18049]
28845         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28846         below -32, return the argument, with underflow if subnormal.
28847         * math/auto-libm-test-in: Add more tests of atanh.
28848         * math/auto-libm-test-out: Regenerated.
28850 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28852         [BZ #18434]
28853         * nptl/tst-sem15.c: New file.
28854         * nptl/Makefile (tests): Add it.
28855         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28856         s/<</>>/ to fix typo in EOVERFLOW check.
28857         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28859 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28861         * manual/strings.texi (envz_remove): Fix typo in safety
28862         annotations.
28864 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28865             Steve Ellcey  <sellcey@imgtec.com>
28867         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28868         in order to avoid strict alias warnings.
28869         (iruserok_af): Ditto for ra.
28871 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28873         [BZ #17581]
28874         * malloc/hooks.c
28875         (magicbyte): Convert to a function and avoid returning 0x01.
28876         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28877         (mem2chunk_check): Fix unsigned comparisons to zero.
28878         Hoist defs of sz and magic.
28880 2015-05-19  Richard Henderson  <rth@redhat.com>
28882         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28884         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28886 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28888         [BZ #16159]
28889         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28890         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28891         (reused_arena): Find a non-corrupt arena.
28892         (heap_trim): Pass arena to unlink.
28893         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28894         malloc_printerr.
28895         (top_check): Likewise.
28896         (free_check): Likewise.
28897         (realloc_check): Likewise.
28898         * malloc/malloc.c (malloc_printerr): Add arena argument.
28899         (unlink): Likewise.
28900         (munmap_chunk): Adjust.
28901         (ARENA_CORRUPTION_BIT): New macro.
28902         (arena_is_corrupt): Likewise.
28903         (set_arena_corrupt): Likewise.
28904         (sysmalloc): Use mmap if there are no usable arenas.
28905         (_int_malloc): Likewise.
28906         (__libc_malloc): Don't fail if arena_get returns NULL.
28907         (_mid_memalign): Likewise.
28908         (__libc_calloc): Likewise.
28909         (__libc_realloc): Adjust for additional argument to
28910         malloc_printerr.
28911         (_int_free): Likewise.
28912         (malloc_consolidate): Likewise.
28913         (_int_realloc): Likewise.
28914         (_int_memalign): Don't touch corrupt arenas.
28915         * malloc/tst-malloc-backtrace.c: New test case.
28917         * Makefile (summarize-tests): Fix return value on success.
28919         * manual/string.texi (Envz Functions): Add envz_remove.
28921 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28923         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28924         (invalid_name): New function, broken out of ...
28925         (__opendirat): ... here.  Call it.
28926         (need_isdir_precheck): New function, broken out of ...
28927         (__opendirat): ... here.  Call it.
28928         Use __fxstatat64, not __xstatat64.
28929         (opendir_oflags): New function, broken out of ...
28930         (__opendirat): ... here.  Call it.
28931         (opendir_tail): New function, broken out of ...
28932         (__opendirat): ... here.  Call it.
28933         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28934         opendir_tail, rather than punting to __opendirat.
28935         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28937 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28939         * .gitignore: Ignore generated *.pyc.
28941 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28943         * include/stdio.h: Define __need_wint_t.
28944         * test-skeleton.c: Avoid `for' loop initial declaration.
28945         * nptl/tst-initializers1.c: Use test-skeleton.c.
28947 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28949         [BZ #18418]
28950         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28952 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28954         [BZ #16352]
28955         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28956         (__ieee754_atanh): Force underflow exception for results with
28957         small absolute value.
28958         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28959         (__ieee754_atanhf): Force underflow exception for results with
28960         small absolute value.
28961         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28962         (__ieee754_atanh): Force underflow exception for results with
28963         small absolute value.
28964         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28965         (__ieee754_atanhf): Force underflow exception for results with
28966         small absolute value.
28967         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28968         (__ieee754_atanhl): Force underflow exception for results with
28969         small absolute value.
28970         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28971         (__ieee754_atanhl): Force underflow exception for results with
28972         small absolute value.
28973         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28974         (__ieee754_atanhl): Force underflow exception for results with
28975         small absolute value.
28976         * math/auto-libm-test-in: Do not allow missing underflow
28977         exceptions from atanh.
28978         * math/auto-libm-test-out: Regenerated.
28980         [BZ #18221]
28981         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28982         2**-28 as threshold for returning x or +/- 1/x.
28983         * math/auto-libm-test-in: Add more tests of tan.
28984         * math/auto-libm-test-out: Regenerated.
28986         [BZ #18220]
28987         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28988         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28989         * math/auto-libm-test-in: Add another test of lgamma.
28990         * math/auto-libm-test-out: Regenerated.
28992 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28994         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28995         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28996         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28997         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28998         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28999         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29000         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29001         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29003         (log1): Use fabs.  (my_log2): Use fabs.
29004         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29005         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29006         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29007         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29009         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29010         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29011         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29012         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29013         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29014         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29016 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29018         [BZ #18217]
29019         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29020         as threshold for returning 1 - x.
29021         * math/auto-libm-test-in: Add more tests of erfc.
29022         * math/auto-libm-test-out: Regenerated.
29024 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29026         [BZ #18196]
29027         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29028         threshold for large arguments.
29029         * math/auto-libm-test-in: Add another test of atan.
29030         * math/auto-libm-test-out: Regenerated.
29032         [BZ #16339]
29033         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29034         (__log1p): Force underflow exception for results with small
29035         absolute value.
29036         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29037         (__log1pf): Force underflow exception for results with small
29038         absolute value.
29039         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29040         (__log1p): Force underflow exception for results with small
29041         absolute value.
29042         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29043         (__log1pf): Force underflow exception for results with small
29044         absolute value.
29045         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29046         (__log1pl): Force underflow exception for results with small
29047         absolute value.
29048         * math/auto-libm-test-in: Do not allow missing underflow
29049         exceptions from log1p.
29050         * math/auto-libm-test-out: Regenerated.
29052 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29053             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29055         [BZ #16704]
29056         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29058 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29060         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29061         (libmvec): New variable.
29062         * configure.ac: Added option for mathvec build.
29063         * configure: Regenerated.
29064         * mathvec/Depend: New file.
29065         * mathvec/Makefile: New file.
29066         * shlib-versions: Added libmvec.
29067         * math/Makefile: Added rule for libm.so installation.
29069         * bits/math-vector.h: New file.
29070         * bits/libm-simd-decl-stubs.h: New header.
29071         * math/Makefile (headers): Added new header
29072         libm-simd-decl-stubs.h.
29073         * math/math.h (__MATHCALL_VEC): New macro.
29075         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29076         for conditions in testing functions.
29077         * math/Makefile: Added call of libm-have-vector-test.sh.
29078         * math/libm-test.inc (HAVE_VECTOR): New macros.
29080         * math/libm-test.inc: START refactored.
29081         * math/test-double.c (TEST_MATHVEC): Add define.
29082         * math/test-float.c: Likewise.
29083         * math/test-idouble.c: Likewise.
29084         * math/test-ifloat.c: Likewise.
29085         * math/test-ildoubl.c: Likewise.
29086         * math/test-ldouble.c: Likewise.
29087         * sysdeps/generic/math-tests-arch.h
29088         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29089         architecture check.
29091         * math/test-double.c (FUNC_TEST): New macro.
29092         * math/test-float.c: Likewise.
29093         * math/test-idouble.c: Likewise.
29094         * math/test-ifloat.c: Likewise.
29095         * math/test-ildoubl.c: Likewise.
29096         * math/test-ldouble.c: Likewise.
29097         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29099 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29101         * sysdeps/nacl/fdopendir.c: New file.
29103         * dirent/scandir-tail.c: New file.
29104         * dirent/scandir64-tail.c: New file.
29105         * dirent/Makefile (routines): Add them.
29106         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29107         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29108         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29109         [!SCANDIR] (SCANDIR_TAIL): New macro.
29110         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29111         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29112         (SCANDIRAT): Macro removed.
29113         (SCANDIR_TAIL): New macro.
29114         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29115         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29116         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29117         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29118         (READDIR): Macro removed.
29119         (SCANDIR_TAIL): New macro.
29120         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29121         (SCANDIR_TAIL): New macro.
29123         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29124         * dirent/scandir-cancel.c: ... to this new file.
29125         * dirent/Makefile (routines): Add it.
29126         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29127         * sysdeps/unix/sysv/linux/i386/scandir64.c
29128         (SKIP_SCANDIR_CANCEL): Macro removed.
29129         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29131         * dirent/tst-scandir.c: New file.
29132         * dirent/tst-scandir64.c: New file.
29133         * dirent/Makefile (tests): Add them.
29135 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29137         [BZ #18409]
29138         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29140 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29142         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29143         list.
29145 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29147         * benchtests/bench-strcoll.c: New benchmark.
29148         * benchtests/Makefile: Generate locales and run benchmark.
29149         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29150         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29151         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29152         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29153         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29154         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29155         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29156         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29157         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29158         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29159         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29160         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29161         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29162         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29163         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29164         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29165         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29166         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29167         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29168         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29169         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29170         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29171         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29172         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29174 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29176         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29177         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29179 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29181         * posix/uname-values.h: New file.
29182         * posix/uname.c: Include that instead of <config-name.h>.
29183         * sysdeps/nacl/uname-values.h: New file.
29184         * sysdeps/arm/nacl/uname-values.h: New file.
29186 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29188         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29189         splitting into fields.
29191 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29193         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29194         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29195         * locale/localeinfo.h: Add enum collation_encoding_type.
29196         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29197         * programs/ld-collate.c (collate_output): Add encoding type info.
29198         * string/strcoll_l.c (STRDIFF): New function.
29199         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29200         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29202 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29204         [BZ #18397]
29205         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29206         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29207         <fpu_control.h> instead of <math/fpu_control.c>.
29208         * sysdeps/mips/mips32/fpu/Makefile: New file.
29210 2015-05-11  Andreas Schwab  <schwab@suse.de>
29212         [BZ #18007]
29213         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29214         nss_endgrent.
29215         (_nss_compat_endgrent): Call nss_endgrent.
29216         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29217         nss_endpwent.
29218         (_nss_compat_endpwent): Call nss_endpwent.
29219         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29220         needent, call nss_setspent only if non-zero.
29221         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29222         (internal_endspent): Don't call nss_endspent.
29223         (_nss_compat_endspent): Call nss_endspent.
29224         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29225         Remove.  All uses removed.
29226         (internal_setent): Remove parameter stayopen, add parameter
29227         stream.  Use it instead of global variable.
29228         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29229         (internal_endent, internal_getent): Add parameter stream.  Use it
29230         instead of global variable.
29231         (CONCAT(_nss_files_end,ENTNAME))
29232         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29233         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29234         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29235         uses removed.
29236         (internal_setent, internal_endent): Add parameter stream.  Use it
29237         instead of global variable.
29238         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29239         stream.
29240         (get_next_alias): Add parameter stream.
29241         (_nss_files_getaliasent_r): Pass global stream.
29242         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29243         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29244         (_nss_files_gethostbyname4_r): Pass local stream to
29245         internal_setent, internal_getent and internal_endent.  Remove
29246         locking.
29248 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29250         * tst-strfmon1.c (tests): Update expected currency symbol.
29252 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29254         * sysdeps/nacl/gethostname.c: New file.
29256 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29258         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29259         and sinh.
29260         * math/auto-libm-test-out: Regenerated.
29261         * sysdeps/i386/fpu/libm-test-ulps: Update.
29262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29264 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29266         [BZ #18125]
29267         * stdlib/tst-setcontext3.c: New file.
29268         * stdlib/tst-setcontext3.sh: New file.
29269         * stdlib/Makefile (tests): Add tst-setcontext3.
29270         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29271         to verify test program created output file.
29272         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29273         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29274         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29275         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29277 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29279         [BZ #18383]
29280         * elf/tst-tlsalign.c: New file.
29281         * elf/tst-tlsalign-static.c: New file.
29282         * elf/tst-tlsalign-lib.c: New file.
29283         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29284         (tests-static): Add tst-tlsalign-static.
29285         (modules-names): Add tst-tlsalign-lib.
29286         (test-xfail-tst-tlsalign): New variable.
29287         (test-xfail-tst-tlsalign-static): New variable.
29289         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29290         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29292 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29294         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29295         csqrt, erfc, sin and sincos.
29296         * math/auto-libm-test-out: Regenerated.
29297         * sysdeps/i386/fpu/libm-test-ulps: Update.
29298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29300 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29302         * sysdeps/aarch64/libm-test-ulps: Update.
29304 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29306         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29307         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29308         * math/auto-libm-test-out: Regenerated.
29309         * sysdeps/i386/fpu/libm-test-ulps: Update.
29310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29314         [BZ #18265]
29315         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29316         (wcsncpy): Likewise.
29318 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29320         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29321         Assume __ASSUME_FALLOCATE is always true.
29322         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29323         (__posix_fallocate64_l64): Likewise.
29324         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29325         (posix_fallocate): Likewise.
29326         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29327         (__posix_fallocate64_l64): Likewise.
29328         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29329         [!__ASSUME_FALLOCATE]: Add comment.
29331 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29333         * sysdeps/unix/sysv/linux/i386/Makefile
29334         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29335         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29336         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29337         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29338         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29339         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29340         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29342 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29344         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29345         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29346         tgamma.
29347         * math/auto-libm-test-out: Regenerated.
29348         * sysdeps/i386/fpu/libm-test-ulps: Update.
29349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29351 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29353         * math/auto-libm-test-in: Add more tests of tgamma.
29354         * math/auto-libm-test-out: Regenerated.
29355         * sysdeps/i386/fpu/libm-test-ulps: Update.
29356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29358         * math/auto-libm-test-in: Add more tests of tanh.
29359         * math/auto-libm-test-out: Regenerated.
29360         * sysdeps/i386/fpu/libm-test-ulps: Update.
29361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29363         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29369         * math/auto-libm-test-out: Regenerated.
29370         * sysdeps/i386/fpu/libm-test-ulps: Update.
29371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29373         * math/auto-libm-test-in: Add another test of pow.
29374         * math/auto-libm-test-out: Regenerated.
29375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29377         * math/auto-libm-test-in: Add more tests of lgamma.
29378         * math/auto-libm-test-out: Regenerated.
29379         * sysdeps/i386/fpu/libm-test-ulps: Update.
29380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29382         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29383         log1p.
29384         * math/auto-libm-test-out: Regenerated.
29385         * sysdeps/i386/fpu/libm-test-ulps: Update.
29386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29388 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29390         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29391         Elf64_Chdr structs and ELFCOMPRESS constants.
29393 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29395         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29396         expm1.
29397         * math/auto-libm-test-out: Regenerated.
29398         * sysdeps/i386/fpu/libm-test-ulps: Update.
29399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29401         * math/auto-libm-test-in: Add more tests of erf and erfc.
29402         * math/auto-libm-test-out: Regenerated.
29403         * sysdeps/i386/fpu/libm-test-ulps: Update.
29404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29406 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29408         * config.h.in (HAVE_AARCH64_BE): Add.
29410 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29412         * math/auto-libm-test-in: Add more tests of csqrt.
29413         * math/auto-libm-test-out: Regenerated.
29414         * sysdeps/i386/fpu/libm-test-ulps: Update.
29415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29417         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29418         * math/auto-libm-test-out: Regenerated.
29419         * sysdeps/i386/fpu/libm-test-ulps: Update.
29420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29422         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29424 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29426         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29427         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29429         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29430         (euidaccess, eaccess): Define as weak aliases.
29432         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29433         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29434         but __suseconds_t is often 'long int' so some sources assume that
29435         type is being used (e.g. they use %ld to print tv_usec).
29437 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29439         [BZ #18007]
29440         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29441         (CVE-2014-8121)
29442         * nss/tst-nss-getpwent.c: New file.
29443         * nss/Makefile (tests): Add new test.
29445 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29447         [BZ #18346]
29448         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29449         exponents less than 48 as cases where high part of mantissa needs
29450         examining to determine whether argument is integral.
29451         * math/libm-test.inc (round_test_data): Add more tests.
29453 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29455         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29457 2015-04-27  David S. Miller  <davem@davemloft.net>
29459         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29460         __tls_get_addr.
29461         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29463 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29465         [BZ#18333]
29466         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29468 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29470         [BZ#18333]
29471         * time/tzset.c (parse_tzname): Return error on memory allocation
29472         failure.
29473         * test-skeleton.c (struct temp_name_list): Change type of name
29474         member to non-const.
29475         (add_temp_file): Create a copy of the file name.
29476         (delete_temp_files): Deallocate memory.
29477         (create_temp_file): Add comment.
29479 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29481         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29482         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29484 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29486         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29487         * sysdeps/arm/configure: Regenerated.
29489 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29491         [BZ #17715]
29492         * time/tzfile.c (__tzfile_read): Check for large values of
29493         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29494         * time/tzset.c (__tzstring_len): New function, based on the old
29495         __tzstring function.
29496         (__tzstring): Call __tzstring_len.
29497         (parse_tzname): New helper function extracted from
29498         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29499         the input string.
29500         (parse_offset): New helper function extracted from
29501         __tzset_parse_tz.  Replace switch with fallthrough with
29502         initialization before sscanf.
29503         (parse_rule): Likewise.
29504         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29505         new-style function definition.
29506         * timezone/Makefile (tests): Add tst-tzset.
29507         (tst-tzset.out): Dependencies on time zone files.
29508         (tst-tzset-ENV): Set TZDIR.
29509         (testdata/XT%): Copy crafted time zone files.
29510         * timezone/README: Mention crafted time zone files.
29511         * timezone/testdata/XT1, timezone/testdata/XT2,
29512         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29513         files.
29514         * timezone/tst-tzset.c: New test.
29516 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29518         * Makeconfig (+gccwarn): Remove -Winline.
29520 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29522         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29524 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29526         * NEWS: Mention sysconf() cache information support for s390.
29527         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29529 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29531         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29532         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29533         (__nearbyint): Likewise.
29534         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29535         (copysignl): Likewise.
29537 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29539         [BZ #18287]
29540         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29541         based on padding.  (CVE-2015-1781)
29543 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29545         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29546         libc-vdso.h.
29547         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29548         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29549         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29550         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29551         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29552         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29553         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29554         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29555         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29556         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29558         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29559         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29560         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29561         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29562         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29563         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29564         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29565         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29566         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29567         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29568         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29569         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29571 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29573         * stdlib/setenv.c (__add_to_environ):
29574         Dump core quickly if setenv (..., NULL, ...) is called.
29575         This time, do it the right way, and pacify GCC with a pragma.
29577 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29579         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29580         IMAP->l_prev cannot be null, and #if out the code for the contrary
29581         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29582         believe that NS (&_dl_ns[NSID]) could point outside the array.
29584         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29585         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29586         before using NSID as an index.
29588 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29590         [BZ #17825]
29591         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29592         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29593         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29595 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29597         Add preliminary port to Google Native Client on ARM.
29598         * abi-tags (.*-.*-nacl.*): New entry.
29599         * sysdeps/arm/nacl: New directory.
29600         * sysdeps/nacl: New directory.
29602 2015-04-16  David S. Miller  <davem@davemloft.net>
29604         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29605         lowlevellock-futex.h
29607 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29609         * sysdeps/tile/configure.ac: New file.
29610         * sysdeps/tile/configure: Regenerated.
29612 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29614         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29615         conditionals for weak_alias and libc_hidden_weak.
29616         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29617         libc_hidden_weak and weak_alias.
29618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29619         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29620         and weak_alias for static one.
29622 2015-04-15  David S. Miller  <davem@davemloft.net>
29624         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29626 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29628         [BZ #18206]
29629         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29630           Use signed comparision instead of substraction to avoid
29631           overflow bug.
29632         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29633           Take the sign of ret.
29634         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29635           Do not expect precise return values. Only the sign matters.
29636         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29637         * wcsmbs/test-wcsncmp.c: New File.
29638         * string/test-strncmp.c: Add wcsncmp support.
29640 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29642         [BZ #6792]
29643         * math/w_log1p.c: New file.
29644         * math/w_log1pf.c: Likewise.
29645         * math/w_log1pl.c: Likewise.
29646         * math/Makefile (libm-calls): Add w_log1p.
29647         * math/s_log1pl.c (log1pl): Remove weak_alias.
29648         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29649         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29650         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29651         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29652         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29653         [NO_LONG_DOUBLE] (log1pl): Likewise.
29654         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29655         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29656         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29657         (log1p): Remove long_double_symbol.
29658         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29659         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29660         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29661         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29662         remove weak_alias for corresponding log1p function.
29663         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29664         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29665         * sysdeps/ia64/fpu/w_log1p.c: New file.
29666         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29667         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29668         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29670 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29672         [BZ #18247]
29673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29674         decimal exponent by 1.
29675         * stdlib/tst-strtod-round-data: Add more tests.
29676         * stdlib/tst-strtod-round.c (tests): Regenerated.
29678 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29680         * math/auto-libm-test-in: Add more tests of clog and clog10.
29681         * math/auto-libm-test-out: Regenerated.
29682         * sysdeps/i386/fpu/libm-test-ulps: Update.
29683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29687         * Makeconfig (module-cppflags): Exclude all .v.i files.
29688         (skip-module-cppflags): Variable removed.
29690         * configure.ac (libc_config_ok): Initialize before reading
29691         preconfigure scripts, not after.
29692         * configure: Regenerated.
29694         * test-skeleton.c (TIMEOUT): Move #define to top level.
29695         (main): Grok environment variable TEST_DIRECT.  If set, print
29696         test expectation details into that file and then behave as if
29697         given --direct.
29699 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29701         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29702         warning on 32-bit.
29704 2015-04-08  David S. Miller  <davem@davemloft.net>
29706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29708 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29710         * math/auto-libm-test-in: Add more tests of atanh.
29711         * math/auto-libm-test-out: Regenerated.
29712         * sysdeps/i386/fpu/libm-test-ulps: Update.
29713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29715         * math/auto-libm-test-in: Add more tests of atan.
29716         * math/auto-libm-test-out: Regenerated.
29717         * sysdeps/i386/fpu/libm-test-ulps: Update.
29718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29720 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29722         * elf/pldd.c (main): Rewrite to use struct
29723         scratch_buffer instead of extend_alloca.
29724         * elf/pldd-xx.c (find_maps): Likewise.
29725         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29726         <alloca.h>.
29727         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29728         scratch_buffer instead of extend_alloca.
29729         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29730         grp/compat-initgroups.c.
29731         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29732         Rewrite to use struct scratch_buffer instead of extend_alloca.
29733         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29734         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29736 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29738         * math/auto-libm-test-in: Add more tests of cbrt.
29739         * math/auto-libm-test-out: Regenerated.
29740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29742         * math/auto-libm-test-in: Add more tests of cabs.
29743         * math/auto-libm-test-out: Regenerated.
29744         * sysdeps/i386/fpu/libm-test-ulps: Update.
29745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747         [BZ #18210]
29748         [BZ #18211]
29749         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29750         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29751         computations.
29752         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29753         clog10.
29754         * math/auto-libm-test-out: Regenerated.
29755         * sysdeps/i386/fpu/libm-test-ulps: Update.
29756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29758         [BZ #18197]
29759         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29760         (atan): Set FE_TONEAREST mode for internal computations.
29761         * math/auto-libm-test-in: Add more tests of atan.
29762         * math/auto-libm-test-out: Regenerated.
29764 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29766         [BZ #17930]
29767         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29769 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29771         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29773 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29775         * include/scratch_buffer.h: New file.
29776         * malloc/scratch_buffer_grow.c: Likewise.
29777         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29778         * malloc/scratch_buffer_set_array_size.c: Likewise.
29779         * malloc/tst-scratch_buffer.c: Likewise.
29780         * malloc/Makefile (routines): Add scratch_buffer_grow.
29781         (tests): Add test case.
29782         * malloc/Versions (GLIBC_PRIVATE): Export
29783         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29784         __libc_scratch_buffer_set_array_size.
29786 2015-04-06  Richard Henderson  <rth@redhat.com>
29788         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29789         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29791         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29792         unsigned int before printing.
29794 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29796         [BZ #17596]
29797         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29798         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29800 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29802         * include/libc-internal.h (libc_max_align_t): Define.
29804 2015-04-02  Andreas Schwab  <schwab@suse.de>
29806         [BZ #16850]
29807         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29809 2015-04-02  Mel Gorman  <mgorman@suse.de>
29811         [BZ #17195]
29812         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29813         as well as the main arena.
29815 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29817         [BZ #18185]
29818         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29819         sharing L2 cache to 2 for Silvermont/Knights Landing.
29821 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29823         [BZ #17711]
29824         * config.make.in (have-protected-data): New.
29825         * configure.ac: Check linker support for protected data symbol.
29826         * configure: Regenerated.
29827         * elf/Makefile (modules-names): Add tst-protected1moda and
29828         tst-protected1modb if $(have-protected-data) is yes.
29829         (tests): Add tst-protected1a and tst-protected1b if
29830         $(have-protected-data) is yes.
29831         ($(objpfx)tst-protected1a): New.
29832         ($(objpfx)tst-protected1b): Likewise.
29833         (tst-protected1modb.so-no-z-defs): Likewise.
29834         * elf/tst-protected1a.c: New file.
29835         * elf/tst-protected1b.c: Likewise.
29836         * elf/tst-protected1mod.h: Likewise.
29837         * elf/tst-protected1moda.c: Likewise.
29838         * elf/tst-protected1modb.c: Likewise.
29840 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29842         [BZ #17711]
29843         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29844         indicates it is called from do_lookup_x on relocation against
29845         protected data, skip the data definion in the executable from
29846         copy reloc.
29847         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29848         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29849         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29850         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29851         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29852         otherwise to 0.
29853         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29854         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29855         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29856         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29857         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29858         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29860 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29862         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29863         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29865 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29867         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29868         THREAD_SETMEM_NC.
29869         * sysdeps/x86_64/nptl/tls.h: Ditto.
29871 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29873         * dlfcn/tststatic.c (main): Converted to ...
29874         (do_test): ... this.
29875         (TEST_FUNCTION): New macro.
29876         Include test-skeleton.c.
29878 2015-03-26  Alan Modra  <amodra@gmail.com>
29880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29881         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29882         zero for undefined weak.
29883         (elf_machine_plt_conflict): Similarly.
29885 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29887         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29888         atanh.
29889         * math/auto-libm-test-out: Regenerated.
29890         * sysdeps/i386/fpu/libm-test-ulps: Update.
29891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29893         * math/auto-libm-test-in: Add another test of asin.
29894         * math/auto-libm-test-out: Regenerated.
29895         * sysdeps/i386/fpu/libm-test-ulps: Update.
29896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29899         Remove macro.
29900         (LLL_EBX_REG): Likewise.
29901         (LLL_ENTER_KERNEL): Likewise.
29903         * math/auto-libm-test-in: Add more tests of asin.
29904         * math/auto-libm-test-out: Regenerated.
29905         * sysdeps/i386/fpu/libm-test-ulps: Update.
29906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29908         [BZ #18138]
29909         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29910         libc_do_syscall_args): New structure.
29911         (INTERNAL_SYSCALL_MAIN_0): New macro.
29912         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29913         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29914         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29915         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29916         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29917         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29918         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29919         Replace conditional definitions by conditional definitions of ....
29920         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29921         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29922         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29923         (libpthread-sysdep_routines): Add libc-do-syscall.
29924         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29926         to __NR_futex not 240.
29928 2015-03-25  Alan Modra  <amodra@gmail.com>
29930         * NEWS: Advertise TLS optimization.
29931         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29932         (DT_PPC_NUM): Increment.
29933         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29934         (CHECK_STATIC_TLS): Use here.
29935         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29936         TLS descriptors.
29937         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29938         * sysdeps/powerpc/dl-tls.c: New file.
29939         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29940         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29941         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29942         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29947 2015-03-25  Alan Modra  <amodra@gmail.com>
29949         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29950         for overlapping .opd entries" to "support...".
29951         * sysdeps/powerpc/powerpc64/configure: Regenerate
29953 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29955         * math/auto-libm-test-in: Add more tests of acos.
29956         * math/auto-libm-test-out: Regenerated.
29957         * sysdeps/i386/fpu/libm-test-ulps: Update.
29958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29960         * math/auto-libm-test-in: Add more tests of expm1.
29961         * math/auto-libm-test-out: Regenerated.
29962         * sysdeps/i386/fpu/libm-test-ulps: Update.
29963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29965 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29967         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29968         * math/auto-libm-test-out: Regenerated.
29969         * sysdeps/i386/fpu/libm-test-ulps: Update.
29970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29972         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29975         * math/auto-libm-test-in: Add more tests of log2.
29976         * math/auto-libm-test-out: Regenerated.
29977         * sysdeps/i386/fpu/libm-test-ulps: Update.
29978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29980 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29982         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29983         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29984         _IO_IS_APPENDING bit in READ_WRITE instead.
29986 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29988         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29989         (__determine_cpumask_size): Replace extend_alloca with a
29990         variable-length array.  Do not treat res == 0 as an error.
29992 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29994         [BZ #18100]
29995         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29996         and integer overflow.
29997         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29998         (main): Add integer overflow tests.
29999         * manual/pattern.texi (Calling Wordexp): Document additional use
30000         for WRDE_SYNTAX.
30002 2015-03-23  Alan Modra  <amodra@gmail.com>
30004         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30005         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30006         and false branch of conditional.
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30008         Likewise.
30010 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30012         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30013         libc-modules.h
30014         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30015         unused declaration of _hurd_intr_rpc_msg_in_trap.
30016         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30017         defined instead of whether it is non-zero.
30018         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30019         input constraint instead of both input and output constraint.  Use ecx
30020         clobber instead of %ecx.
30021         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30022         mutex_unlock): Use a statement expression instead of an expression list.
30023         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30024         type to vm_size_t instead of vm_address_t.
30025         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30026         defined instead of whether it is non-zero.
30027         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30028         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30029         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30030         comparisons with mapaddr.
30031         * nscd/nscd-client.h: Include <time.h>.
30032         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30033         9th parameter to __vm_region instead of int.
30034         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30035         * scripts/check-local-headers.sh (exclude): Add device/,
30036         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30037         cthreads.h.
30039 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30041         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30042         to account for alignment padding.
30043         * sysdeps/arm/memmove.S: Likewise.
30045 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30047         * sysdeps/unix/sysv/linux/generic/README: New file.
30049 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30051         [BZ #18138]
30052         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30053         (futex_abstimed_wait)
30054         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30055         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30056         of lll_futex_timed_wait.
30058 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30060         [BZ #17542]
30061         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30063 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30065         [BZ #17090]
30066         [BZ #17620]
30067         [BZ #17621]
30068         [BZ #17628]
30069         * NEWS: Update.
30070         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30071         entries with Static TLS too.  Skip entries past the end of the
30072         allocated DTV, from Alan Modra.
30073         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30074         Static TLS DTV entry set up from...
30075         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30076         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30077         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30078         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30079         for Static TLS.
30080         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30081         that the slot we find is associated with the given map before
30082         using its generation count.
30083         * nptl_db/db_info.c: Include ldsodefs.h.
30084         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30085         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30086         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30087         (link_map::l_tls_offset): New struct field.
30088         (dtv_t::counter): Likewise.
30089         (rtld_global): New struct.
30090         (_rtld_global): New rtld variable.
30091         (dl_tls_dtv_slotinfo_list): New rtld global field.
30092         (dtv_slotinfo_list): New struct.
30093         (dtv_slotinfo): Likewise.
30094         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30095         (td_lookup): Rename to...
30096         (td_mod_lookup): ... this.  Use new mod parameter instead of
30097         LIBPTHREAD_SO.
30098         * nptl_db/td_thr_tlsbase.c: Include link.h.
30099         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30100         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30101         addresses even if the DTV is out of date or missing them.
30102         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30103         index zero-length arrays.
30104         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30105         (td_lookup): Make it a macro implemented in terms of...
30106         (td_mod_lookup): ... this declaration.
30107         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30108         (DB_MAIN_VARIABLE): Likewise.
30110 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30112         [BZ #18134]
30113         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30115 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30117         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30119 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30121         [BZ #18128]
30122         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30123         (atomic_add, atomic_increment_and_test)
30124         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30126 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30128         * stdlib/setenv.c (__add_to_environ):
30129         Dump core quickly if setenv (..., NULL, ...) is called.
30131 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30133         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30134         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30135         all the necessary asm magic in one place.
30136         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30137         using those.
30139 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30141         [BZ #14906]
30142         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30143         traced file mtime. Use consistent log message.
30144         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30145         (register_traced_file): Call install_watches. Always set mtime.
30146         (invalidate_cache): Iterate over all trace files. Call install_watches.
30147         (inotify_check_files): Don't inline. Handle watching parent
30148         directories and configuration file movement in and out.
30149         (handle_inotify_events): New function.
30150         (main_loop_poll): Call handle_inotify_events.
30151         (main_loop_epoll): Likewise.
30152         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30153         (struct traced_file): Use array of inotify fds. Add parent directory,
30154         and basename.
30155         (struct database_dyn): Remove unused file_mtime.
30156         (init_traced_file): New inline function.
30157         (define_traced_file): New macro.
30158         * nss/nss_db/db-init.c: Use define_traced_file.
30159         (_nss_db_init): Use init_traced_file.
30160         * nss/nss_files/files-init.c: Use define_traced_file.
30161         (_nss_files_init): Use init_traced_file.
30163 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30165         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30166         [_LIBC]: Do not include <stdlib.h>.
30167         [!_LIBC] (abort): Remove declaration.
30168         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30169         _FP_STATIC_ASSERT instead of conditionally calling abort.
30170         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30171         (_FP_EXTEND_CNAN): Likewise.
30172         (FP_TRUNC): Likewise.
30173         (__FP_CLZ): Likewise.
30174         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30176 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30178         * manual/string.texi (XPG basename): Fix prototype.
30180 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30182         [BZ #18080]
30183         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30184         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30185         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30186         (__setcontext): Likewise.
30187         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30188         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30189         Call rt_sigprocmask syscall one time to set new signal mask
30190         and retrieve the current signal mask instead of two calls.
30191         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30192         (__swapcontext): Likewise.
30193         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30194         * stdlib/tst-setcontext2.c: New file.
30196 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30198         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30200 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30202         [BZ #18093]
30203         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30204         the wrong size.
30206 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30208         [BZ #18043]
30209         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30211 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30213         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30214         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30215         Remove define.
30216         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30217         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30218         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30219         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30220         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30221         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30222         define.
30223         * nptl_db/td_symbol_list.c (td_lookup): Remove
30224         HAVE_ASM_GLOBAL_DOT_NAME code.
30225         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30226         HAVE_ASM_GLOBAL_DOT_NAME check.
30227         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30228         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30229         (DOT_LABEL): Remove define.
30230         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30231         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30232         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30233         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30234         (__TLS_GET_ADDR): Likewise.
30235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30236         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30238 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30240         [BZ #18111]
30241         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30242         (_FPU_SETCW): Initialize cw from fpsr before storing.
30243         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30244         (fesetexceptflag): Rewrite using fpu_control.h.
30245         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30247 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30249         [BZ #18110]
30250         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30251         asms.
30252         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30254 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30256         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30257         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30258         abort.
30259         (_FP_FMA): Likewise.
30260         (_FP_DIV): Likewise.
30262 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30264         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30265         with 0 in that case.
30266         * Makefile (summarize-tests): New canned sequence, factored out of
30267         commands for targets tests and xtests.  Display summary lines that
30268         don't start with PASS: or XFAIL: rather than ones that do start with
30269         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30270         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30271         do start with ERROR: or FAIL:.
30272         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30273         (except for [$(build-shared) = yes]).
30274         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30275         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30276         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30277         * nptl/Makefile: Revert 2015-03-04 changes.
30278         [$(CXX) empty] (tests-unsupported): New variable.
30279         * debug/Makefile: Likewise.
30281         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30282         gnulib file.  Replace __attribute with __attribute__ throughout.
30284 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30286         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30288 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30290         [BZ #18104]
30291         * math/auto-libm-test-in: Add another test of pow.
30292         * math/auto-libm-test-out: Regenerated.
30294 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30296         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30297         $(config-cflags-nofma).
30299 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30301         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30302         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30303         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30304         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30305         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30306         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30307         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30308         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30309         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30310         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30311         Add comment on closing #endif.
30313 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30315         * posix/wordexp.c (CHAR_IN_SET): New macro.
30316         (parse_param): Use it.
30318 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30320         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30322 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30324         [BZ #18043]
30325         * posix/wordexp.c (parse_param): Fix buffer overflow.
30326         * posix/wordexp-test.c (test_case): Add test case.
30328 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30330         [BZ #18042]
30331         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30332         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30334 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30336         [BZ #18043]
30337         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30338         (do_bz18043): Delete.
30339         (at_page_end): New.
30340         (testit): Refactor to have words at the edge of unreadable page.
30342 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30344         [BZ #16734]
30345         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30346         Cleanup read-only streams as well.
30347         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30349 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30351         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30352         <bits/libc-lockP.h>
30354 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30356         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30357         on [__KERNEL__].
30358         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30359         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30360         * soft-fp/op-common.h (_FP_DECL): Likewise.
30362 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30364         * elf/ifuncdep2.c (global): Replace
30365         __attribute__((visibility("protected"))) with
30366         asm (".protected global").
30367         * elf/ifuncmod1.c (global): Likewise.
30368         * elf/ifuncmod5.c (global): Likewise.
30370 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30372         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30373         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30375 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30377         * manual/install.texi (Configuring and compiling):
30378         Document test-wrapper-env-only.
30379         * INSTALL: Regenerated.
30381 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30383         [BZ #18043]
30384         * posix/wordexp.c (parse_param): Fix buffer overflow.
30385         * posix/wordexp-test.c (do_bz18043): Add test case.
30387 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30389         * time/tst-strptime2.c (do_test): Ensure failing tests are
30390         reported correctly.
30391         * time/tst-strptime3.c (do_test): Likewise.
30393 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30395         Fix aio_error thread-safety.
30396         * sysdeps/pthread/aio_error.c: New file
30397         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30398         synchronization.
30400 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30402         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30403         (group_number, vfprintf): Use it.
30404         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30405         (JUMP, REF): Use it.
30406         (WORK_BUFFER_SIZE): New enum constant.
30407         (process_arg, vfprintf): Use it.
30409 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30411         * manual/errno.texi (Error Messages): Complete example function
30412         by adding missing #define.
30413         (program_invocation_name): Add statement indicating GNU
30414         extension and reference which header file declares the variable.
30415         (program_invocation_short_name): Likewise.
30417 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30419         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30420         compatibility note.
30422 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30424         * Makeconfig (test-wrapper-env-only): New variable.
30425         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30426         then use that with $(test-wrapper-env-only) rather than using
30427         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30429 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30431         [BZ #18082]
30432         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30433         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30434         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30435         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30436         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30437         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30438         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30439         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30440         Likewise.
30441         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30442         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30443         Likewise.
30444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30445         Likewise.
30446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30447         Likewise.
30448         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30449         Likewise.
30450         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30452         Likewise.
30453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30454         Likewise.
30455         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30456         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30458 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30460         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30461         (ETH_ALEN): New macro.
30462         (struct ether_addr): Use it for length of ether_addr_octet.
30464         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30465         (setdb): Don't call __nss_configure_lookup for "rpc".
30466         (do_test): Don't call test_rpc.
30467         (output_rpcent, test_rpc): Functions moved ...
30468         * sunrpc/test-rpcent.c: ... to this new file.
30469         * sunrpc/Makefile (tests): Add it.
30471         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30472         __xpg_sigpause.
30473         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30474         * nptl/tst-signal6.c: Likewise.
30475         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30476         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30478         * configure.ac (libc_cv_cxx_link_ok): New check.
30479         Reset CXX to empty if it fails to link.
30480         * configure: Regenerated.
30481         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30482         bug-atexit3-lib only if $(CXX) is nonempty.
30483         * nptl/Makefile (tests): Likewise for tst-cancel24.
30484         (tests, tests-static): Likewise for tst-cancel24-static.
30485         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30486         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30487         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30488         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30490 2015-03-04  Andreas Schwab  <schwab@suse.de>
30492         [BZ #17631]
30493         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30494         for non-GCC compilers.
30495         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30496         Likewise.
30498 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30500         [BZ #17776]
30501         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30502         integer before bitwise and assembly operations.
30503         (feclearexcept): Likewise.
30504         * math/test-fenvinline.c: New file.
30505         * math/Makefile: Add test-fenvinline test.
30507 2015-03-03  Alan Modra  <amodra@gmail.com>
30509         [BZ #16512]
30510         * scripts/localplt.awk: Strip off symbol version.
30511         * NEWS: Mention bug fix.
30513 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30515         * sysdeps/pthread/timer_routines.c
30516         (timer_free_list, thread_free_list, thread_active_list): Make static.
30518 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30520         [BZ #17779]
30521         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30522         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30523         Undefine.
30524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30525         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30526         Likewise.
30527         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30528         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30529         Likewise.
30531 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30533         [BZ #18036]
30534         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30535         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30537 2015-03-02  Andreas Schwab  <schwab@suse.de>
30539         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30540         variable name.
30542 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30544         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30545         Return error status.
30547 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30549         [BZ #15969]
30550         * locale/findlocale.c (_nl_find_locale): Introduce const
30551         version of loc_name and drop unsafe type casts.
30553 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30555         * dlfcn/tststatic2.c (main): Converted to ...
30556         (do_test): ... this.
30557         (TEST_FUNCTION): New macro.
30558         Include test-skeleton.c.
30560 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30562         [BZ #17711]
30563         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30564         (tests-pie): Add vismain.
30565         (CFLAGS-vismain.c): New.
30566         * elf/vismain.c: Add comments for PIE requirement.
30568 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30570         [BZ #18046]
30571         [BZ #18047]
30572         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30573         0x1p-56L as threshold for just returning the argument.
30574         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30575         0x1p-32L as threshold for just returning the argument.
30576         * math/auto-libm-test-in: Add more tests of atanh.
30577         * math/auto-libm-test-out: Regenerated.
30578         * sysdeps/i386/fpu/libm-test-ulps: Update.
30579         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30581 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30583         * string/bcopy.c (bcopy): Call memmove for performance.
30585 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30587         * string/bzero.c (__bzero): Call memset for performance.
30589 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30591         [BZ #18068]
30592         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30593         to 00100000.
30595 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30597         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30599 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30601         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30602         (__kernel_standard): Use CSTR macro when setting exc.name.
30603         * sysdeps/ieee754/Makefile [$(subdir) = math]
30604         (CFLAGS-k_standard.c): Remove variable.
30606         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30607         setting p and q from "else if" to "else".
30608         (qzero): Likewise.
30609         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30610         (qone): Likewise.
30611         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30612         (qzerof): Likewise.
30613         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30614         (qonef): Likewise.
30615         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30616         (qzero): Likewise.
30617         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30618         (qone): Likewise.
30620         [BZ #18038]
30621         [BZ #18039]
30622         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30623         return pi/2 for arguments below 0x1p-113L.
30624         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30625         return pi/2 for arguments below 0x1p-106L.
30626         * math/auto-libm-test-in: Add more tests of acos.
30627         * math/auto-libm-test-out: Regenerated.
30629         [BZ #16351]
30630         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30631         (MO): New macro.
30632         (__ieee754_asin): Force underflow exception for results with small
30633         absolute value.
30634         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30635         (MO): New macro.
30636         (__ieee754_asinf): Force underflow exception for results with
30637         small absolute value.
30638         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30639         (__ieee754_asin): Force underflow exception for results with small
30640         absolute value.
30641         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30642         (__ieee754_asinf): Force underflow exception for results with
30643         small absolute value.
30644         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30645         (__ieee754_asinl): Force underflow exception for results with
30646         small absolute value.
30647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30648         (__ieee754_asinl): Force underflow exception for results with
30649         small absolute value.
30650         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30651         (__ieee754_asinl): Force underflow exception for results with
30652         small absolute value.
30653         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30654         Include <math.h>.
30655         * math/auto-libm-test-in: Do not mark underflow exceptions as
30656         possibly missing for bug 16351.
30657         * math/auto-libm-test-out: Regenerated.
30659         [BZ #18030]
30660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30661         of power of 2 down when low part has opposite sign.
30662         * math/libm-test.inc (logb_test_data): Add more tests.
30664 2015-02-26  Andreas Schwab  <schwab@suse.de>
30666         [BZ #18032]
30667         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30668         over collating symbol inside a bracket expression.  Minor cleanup.
30669         * posix/tst-fnmatch3.c (do_test): Add test case.
30671 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30673         [BZ #18029]
30674         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30675         Adjust exponent of power of 2 down when low part has opposite
30676         sign.
30677         * math/libm-test.inc (ilogb_test_data): Add more tests.
30679 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30681         [BZ #15969]
30682         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30683         the previous change.
30685         [BZ #15969]
30686         * locale/findlocale.c (_nl_find_locale): Retry archive search
30687         after alias expansion.
30689 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30691         * iconv/tst-iconv3.c (main): Converted to ...
30692         (do_test): ... this.
30693         (TEST_FUNCTION): New macro.
30694         Include test-skeleton.c.
30696         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30697         (convert): Make function static.
30698         (test_unalign): Likewise.  Add const to argument pointee types.
30699         (main): Replace with static function do_test.
30700         Print "Succeeded." only if RET is zero.
30701         (TEST_FUNCTION): New macro.
30702         Include test-skeleton.c.
30704         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30705         returns a null pointer.
30707 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30709         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30710         to __memcpy_ppc only for static builds.
30712 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30714         [BZ #18020]
30715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30716         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30717         * math/auto-libm-test-in: Add more tests of asinh.
30718         * math/auto-libm-test-out: Regenerated.
30719         * sysdeps/i386/fpu/libm-test-ulps: Update.
30720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30722 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30724         [BZ #15850]
30725         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30726         and ip6_mtuinfo definitions here.
30727         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30728         in this define too.  Update comment.
30730 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30732         * elf/sprof.c (load_shobj): Tweak error message to match others.
30734 2015-02-24  Kevin Easton  <kevin@guarana.org>
30736         [BZ #16145] (partial fix)
30737         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30738         to reduce lock contention.
30740 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30742         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30743         (struct timex): Update time comment.
30744         (ADJ_SETOFFSET): Define.
30746 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30748         [BZ #18019]
30749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30750         2**56 not 2**28 as threshold for log (2x) formula.
30751         * math/auto-libm-test-in: Add more tests of acosh.
30752         * math/auto-libm-test-out: Regenerated.
30753         * sysdeps/i386/fpu/libm-test-ulps: Update.
30754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30756 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30758         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30759         parenthesis around the buf assignment.
30760         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30762 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30764         [BZ #16783]
30765         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30766         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30767         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30768         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30769         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30770         * math/libm-test.inc (scalb_test_data): Add more tests.
30772 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30774         [BZ #17916]
30775         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30776         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30778 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30780         [BZ #17523]
30781         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30782         * io/bits/fcntl2.h (open): Use it.
30783         (openat): Likewise.
30784         * io/open.c (__libc_open): Likewise.
30785         * io/open64.c (__libc_open64): Likewise.
30786         * io/open64_2.c (__open64_2): Likewise.
30787         * io/open_2.c (__open_2): Likewise.
30788         * io/openat.c (__openat): Likewise.
30789         * io/openat64.c (__openat64): Likewise.
30790         * io/openat64_2.c (__openat64_2): Likewise.
30791         * io/openat_2.c (__openat_2): Likewise.
30792         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30793         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30794         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30795         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30796         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30797         (__open_nocancel): Likewise.
30798         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30799         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30800         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30802 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804         [BZ #14841]
30805         * resolv/gethnamaddr.c (getanswer): Skip logging if
30806         RES_USE_DNSSEC is set.
30807         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30809 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30811         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30813 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30815         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30816         201304L, for Unicode 7.
30818 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30820         [BZ #17836]
30821         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30822         shared library.  Add gmon-start.os otherwise.
30823         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30824         $(objpfx)gmon-start.os if builing shared library.
30825         ($(objpfx)g$(static-start-installed-name)): Likewise.
30827 2015-02-23  Andreas Schwab  <schwab@suse.de>
30829         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30831 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30833         [BZ #17269]
30834         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30835         (enlarge_userbuf): Likewise.
30837 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30839         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30840         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30841         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30842         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30844 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30846         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30847         expression inside statement expression.
30849 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30851         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30852         <sysdeps/nptl/lowlevellock.h> and remove macros and
30853         functions that are now defined there.
30854         (SYS_futex): Remove.
30855         (lll_compare_and_swap): Remove.
30856         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30858 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30860         [BZ #17999]
30861         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30862         instead of scandirat.
30863         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30864         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30865         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30866         __scandirat.
30867         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30868         (__scandirat): Declare.  Use libc_hidden_proto.
30869         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30870         Remove variable.
30871         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30873 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30875         [BZ #15319]
30876         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30877         (MO): New macro.
30878         (__ieee754_atan2): For results with small absolute value, force
30879         underflow exception and remove excess range and precision from
30880         return value.
30881         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30882         (MO): New macro.
30883         (__ieee754_atan2f): For results with small absolute value, force
30884         underflow exception and remove excess range and precision from
30885         return value.
30886         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30887         (MO): New macro.
30888         (__atan): For results with small absolute value, force underflow
30889         exception and remove excess range and precision from return value.
30890         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30891         (MO): New macro.
30892         (__atanf): For results with small absolute value, force underflow
30893         exception and remove excess range and precision from return value.
30894         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30895         <math.h>.
30896         (__ieee754_atan2): Force underflow exception for results with
30897         small absolute value.
30898         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30899         <math_private.h>.
30900         (atan): Force underflow exception for results with small absolute
30901         value.
30902         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30903         (__atanf): Force underflow exception for results with small
30904         absolute value.
30905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30906         <math.h>.
30907         (__atanl): Force underflow exception for results with small
30908         absolute value.
30909         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30910         (__atanl): Force underflow exception for results with small
30911         absolute value.
30912         * sysdeps/x86/fpu/bits/mathinline.h
30913         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30914         (__ieee754_atan2): Only define inline for long double.
30915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30916         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30917         * math/auto-libm-test-in: Do not mark underflow exceptions as
30918         possibly missing for bug 15319.  Add more tests of atan2.
30919         * math/auto-libm-test-out: Regenerated.
30920         * math/libm-test.inc (casin_test_data): Do not mark underflow
30921         exceptions as possibly missing for bug 15319.
30922         (casinh_test_data): Likewise.
30923         * sysdeps/i386/fpu/libm-test-ulps: Update.
30925 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30927         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30928         * sysdeps/mips/bits/endian.h: Fix comments.
30930 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30932         [BZ #17996]
30933         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30934         (hdestroy_r): Likewise.
30935         (hsearch_r): Likewise.
30936         (__hcreate_r): Declare and use libc_hidden_proto.
30937         (__hdestroy_r): Likewise.
30938         (__hsearch_r): Likewise.
30939         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30940         (hcreate): Call __hcreate_r instead of hcreate_r.
30941         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30942         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30943         as weak alias of __hcreate_r.
30944         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30945         __hdestroy_r.
30946         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30947         __hsearch_r.
30948         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30949         Remove variable.
30950         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30951         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30952         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30953         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30955 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30957         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30958         arena_lock into a single arena_get.
30960 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30962         * dl-reloc.c: Inlucde libc-internal.h.
30963         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30964         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30965         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30966         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30967         (grow_heap): Likewise.
30968         * malloc/malloc.c: Include libc-internal.h.
30969         (do_check_malloc): Call powerof2.
30970         (sysmalloc): Use pagesize. Call ALIGN_UP.
30971         (systrim): Use pagesize.
30972         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30973         (__libc_valloc): Use pagesize.
30974         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30976 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30978         [BZ #17991]
30979         * include/sys/resource.h (__getrlimit64): Declare.  Use
30980         libc_hidden_proto.
30981         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30982         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30983         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30984         getrlimit64.
30985         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30986         __getrlimit64.
30987         [!getrlimit64] (getrlimit64): Define as weak alias of
30988         __getrlimit64.  Use libc_hidden_weak.
30989         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30990         using __getrlimit64 not __new_getrlimit64.
30991         (__GI_getrlimit64): Likewise.
30992         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30993         Likewise.
30994         (__GI_getrlimit64): Likewise.
30995         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30997         (getrlimit): Add __getrlimit64 alias.
30998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30999         Likewise.
31000         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31001         Remove variable.
31002         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31003         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31005 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31007         * libio/fileops.c: Add missing sys/mman.h
31008         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31010 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31012         * manual/math.texi (Errors in Math Functions): Clarify goals
31013         regarding inexact and underflow exceptions.
31015 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31017         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31018         * sysdeps/mips/memset.S: Ditto.
31020 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31022         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31024 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31026         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31027         (__v1longjmp): Remove versioned symbol.
31028         (__v1siglongjmp): Remove alias and versioned symbol.
31029         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31030         (__v2siglongjmp): Likewise.
31032 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31034         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31036 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31038         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31040 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31042         [BZ #17987]
31043         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31044         zero result does not depend on the sign resulting from
31045         subtraction.
31046         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31047         Likewise.
31048         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31049         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31050         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31051         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31052         * math/libm-test.inc (remquo_test_data): Add more tests.
31054 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31056         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31057         Problem reported by J William Piggott.
31059 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31061         [BZ #17978]
31062         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31063         products 4 * y and 2 * y where those would overflow.
31064         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31065         Likewise.
31066         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31067         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31069         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31070         * math/libm-test.inc (remquo_test_data): Add more tests.
31072         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31074         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31075         [defined _COMPILING_NEWLIB].
31076         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31077         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31079         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31080         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31082 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31084         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31085         acquired.
31087 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31089         [BZ #17792]
31090         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31091         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31092         HOST_STACK_END_ADDR): Likewise.
31094 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31096         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31097         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31098         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31100 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31102         * sysdeps/generic/c++-types.data: New file.
31103         * sysdeps/generic/ld.abilist: New file.
31104         * sysdeps/generic/libBrokenLocale.abilist: New file.
31105         * sysdeps/generic/libanl.abilist: New file.
31106         * sysdeps/generic/libc.abilist: New file.
31107         * sysdeps/generic/libcrypt.abilist: New file.
31108         * sysdeps/generic/libdl.abilist: New file.
31109         * sysdeps/generic/libm.abilist: New file.
31110         * sysdeps/generic/libpthread.abilist: New file.
31111         * sysdeps/generic/libresolv.abilist: New file.
31112         * sysdeps/generic/librt.abilist: New file.
31114 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31116         [BZ #17569]
31117         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31118         Compute absolute value of x as modified by fmod, not original
31119         value of x.
31120         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31121         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31122         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31123         RUN_TEST_ffI_f1_mod8.
31124         (remquo_test_data): Add more tests.
31126 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31128         * sysdeps/init_array/pt-crti.S: New file.
31130 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31132         [BZ #17967]
31133         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31134         __builtin_fmaf instead of relying on contraction of a * b + c.
31136 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31138         [BZ #17969]
31139         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31140         node.
31142 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31144         [BZ #17964]
31145         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31146         __builtin_fma instead of relying on contraction of a * b + c.
31148 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31150         * Makeconfig (ASFLAGS): Add -Werror=undef.
31151         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31152         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31153         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31155         * Makeconfig (after-link): New variable.
31156         (+link-pie, +link-pie-tests): Use it.
31157         (+link-static, +link-static-tests): Likewise.
31158         (+link, +link-tests): Likewise.
31159         * Makerules (build-module, build-module-asneeded): Likewise.
31160         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31161         Likewise.
31162         * elf/Makefile ($(objpfx)ld.so): Likewise.
31164 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31166         [BZ #17965]
31167         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31168         both struct timeval and struct timespec.
31170 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31172         [BZ #16560]
31173         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31174         and redefine.
31175         (__ieee754_exp2l): Do not multiply small fractional parts by
31176         M_LN2l.
31177         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31178         small argument.
31179         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31180         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31181         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31182         * math/auto-libm-test-in: Add more tests of exp2.
31183         * math/auto-libm-test-out: Regenerated.
31185 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31187         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31188         unaligned path.
31190 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31192         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31193         little endian.
31195 2015-02-12  Andreas Schwab  <schwab@suse.de>
31197         [BZ #15790]
31198         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31199         Filter out elision flags from value returned in kind.
31200         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31201         * nptl/tst-pthread-mutexattr.c: New file.
31203 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31205         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31206         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31207         into gnu-gnu, and update comment to refer to abi-tags.
31209 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31211         [BZ #15467]
31212         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31213         (__sincos): Set errno to EDOM for infinite argument.
31214         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31215         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31216         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31217         (__sincosl): Set errno to EDOM for infinite argument.
31218         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31219         (__sincosl): Set errno to EDOM for infinite argument.
31220         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31221         (__sincosl): Set errno to EDOM for infinite argument.
31222         * math/libm-test.inc (sincos_test_data): Test errno setting.
31224 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31226         * string/strxfrm_l.c: Remove #define STRCMP.
31227         * string/strcoll_l.c: Remove #define STRLEN.
31228         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31229         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31231 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31233         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31234         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31235         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31236         * sysdeps/mips/mips64/Makefile: ... here.
31237         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31238         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31239         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31240         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31241         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31242         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31243         * sysdeps/mips/mips64/n64/Implies: Likewise.
31245 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31247         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31248         <sys/time.h>, <string.h>, and <errno.h>.
31249         (dest_offset, dest_address, value, zero): Remove unused variables.
31250         (ldouble): Remove typedef.
31251         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31252         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31253         1).  Fix code style.
31254         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31255         (check): Function removed.
31256         (CHECK): New macro.
31257         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31258         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31259         Don't call set_sigaction_FP and remove_sigaction_FP here.
31260         (ldouble_test): Just use 'long double' as macro argument, no need for
31261         the 'ldouble' typedef.
31262         (do_test): Set up SIGFPE handler at start, using plain signal rather
31263         than sigaction.  Fix code style.
31265 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31267         [BZ #17949]
31268         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31269         jump label.
31271 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31273         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31274         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31276         * sysdeps/powerpc/configure.ac: Remove file.
31277         * sysdeps/powerpc/configure: Likewise.
31279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31280         [sysdep_routines]: Remove wordcopy-power6 object.
31281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31282         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31284         (__memmove_ppc32): Likewise.
31285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31286         file.
31287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31289         Remove preprocessor.
31291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31292         [sysdep_routines]: Remove wide chars objects.
31293         [wcsmbs]: New rule for wide char objects.
31295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31296         Remove wordcopy-power6 obejct.
31297         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31298         Use local call for wordcopy and memcpy symbols.
31299         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31301         implementation for loader.
31302         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31304         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31305         Remove wordcopy-power7 object.
31306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31308         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31309         (_wordcopy_fwd_dest_aligned): Likewise.
31310         (_wordcopy_bwd_aligned): Likewise.
31311         (_wordcopy_bwd_dest_aligned): Likewise.
31313         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31314         Rewrite to call __memmove_ppc instead of include default
31315         implementation.
31317         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31318         Remove wide chars objects.
31319         [wcsmbs]: New rule for wide char objects.
31321 2015-02-09  Andreas Schwab  <schwab@suse.de>
31323         [BZ #17912]
31324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31325         in terms of __O_DIRECTORY.
31327 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31329         * time/getdate.c: Include <stdbool.h>.
31330         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31331         call PTR_MANGLE.
31332         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31333         PTR_DEMANGLE.
31335 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31337         Add ersatz _Static_assert on older C hosts
31338         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31339         pre-C11 C platform that is not known to support _Static_assert.
31341 2015-02-07  Richard Braun  <rbraun@sceen.net>
31343         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31344         sigstate.
31345         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31347 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31349         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31350         priority against unexistent AIO_PRIO_DELTA_MAX.
31351         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31352         instead of int.
31353         * misc/fchflags.c (fchflags): Likewise.
31354         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31355         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31356         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31357         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31358         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31359         Declare macros.
31360         [__USE_MISC] (chflags, fchflags): Declare functions.
31361         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31362         EINVAL when nfds is greater than FD_SETSIZE.
31363         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31364         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31365         45.
31366         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31367         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31368         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31369         MACH_RCV_TIMED_OUT.
31370         * hurd/hurd/signal.h (_hurd_self_sigstate,
31371         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31372         Explicit casts from void *.
31373         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31374         * abi-tags: Rename gnu-gnu os into gnu.
31376         [BZ #4719]
31377         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31378         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31379         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31380         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31381         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31382         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31384         [BZ #17944]
31385         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31386         duplicates ADDR->sun_path with sockaddr LEN limitation.
31387         * sysdeps/mach/hurd/connect.c: Include <string.h>
31388         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31389         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31390         * sysdeps/mach/hurd/sendto.c: Likewise.
31391         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31392         implementing it by hand.
31394 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31396         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31397         Use sfi_breg on ldr.
31398         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31399         Likewise.
31401         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31402         it's defined.
31403         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31404         Test SIGSETXID only if it's defined.
31406         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31408         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31409         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31411         * nptl/tst-align2.c: Moved ...
31412         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31413         * nptl/Makefile (tests): Remove tst-align2.
31414         * sysdeps/unix/sysv/linux/Makefile
31415         [$(subdir) = nptl] (tests): Add tst-align-clone.
31416         * nptl/tst-getpid1.c: Moved ...
31417         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31418         * nptl/tst-getpid2.c: Moved ...
31419         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31420         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31421         * sysdeps/unix/sysv/linux/Makefile
31422         [$(subdir) = nptl] (tests): ... here.
31423         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31424         * sysdeps/unix/sysv/linux/Makefile
31425         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31427         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31428         Drop trailing \n from perror argument.  Use return rather than exit.
31430         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31431         on [SA_SIGINFO].
31432         * nptl/tst-cancel21.c (do_test): Likewise.
31433         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31434         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31435         [!SA_SIGINFO]: Make it a stub test.
31437         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31438         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31440         * posix/tst-getlogin.c: Move to ...
31441         * login/tst-getlogin.c: ... here.
31442         * posix/Makefile (tests): Move tst-getlogin to ...
31443         * login/Makefile (tests): ... here.
31445         * libio/tst-atime.c (do_test): Move local variables SV and E
31446         inside [ST_NOATIME] conditional.
31448         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31450         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31452         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31453         (wait_code): New function replaces macro.
31454         Call nanosleep rather than syscall.
31456         * nptl/pt-system.c: Rewritten.  Put everything under
31457         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31458         Use IFUNC to redirect when possible.
31460         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31461         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31462         Use IFUNC to redirect when possible.
31464         * nptl/pt-fork.c: Rewritten.  Put everything under
31465         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31466         Use IFUNC to redirect when possible.
31467         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31469         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31470         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31471         unconditionally nowadays.  This included the only reference to
31472         __vdso_clock_gettime that appears outside libc proper.
31473         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31474         Remove version set (containing only __vdso_clock_gettime).
31475         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31476         Add attribute_hidden.
31477         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31478         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31479         libc_hidden_data_def.
31480         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31481         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31483         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31484         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31485         setrpcent, and getrpcport to ...
31486         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31487         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31488         getrpcbynumber_r, and getrpcent_r to ...
31489         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31490         * inet/getrpcbyname.c: Moved ...
31491         * sunrpc/getrpcbyname.c: ... here.
31492         * inet/getrpcbyname_r.c: Moved ...
31493         * sunrpc/getrpcbyname_r.c: ... here.
31494         * inet/getrpcbynumber.c: Moved ...
31495         * sunrpc/getrpcbynumber.c: ... here.
31496         * inet/getrpcbynumber_r.c: Moved ...
31497         * sunrpc/getrpcbynumber_r.c: ... here.
31498         * inet/getrpcent.c: Moved ...
31499         * sunrpc/getrpcent.c: ... here.
31500         * inet/getrpcent_r.c: Moved ...
31501         * sunrpc/getrpcent_r.c: ... here.
31502         * inet/Makefile (routines): Move those to ...
31503         * sunrpc/Makefile (routines): ... here.
31504         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31505         the $(subdirs) list.
31506         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31507         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31508         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31509         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31511         * elf/Makefile (routines): Include $(all-dl-routines), not just
31512         $(dl-routines).
31513         (rtld-routines): Likewise.  Use = rather than :=.
31514         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31515         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31516         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31517         * sysdeps/arm/Makefile: Likewise.
31518         * sysdeps/i386/Makefile: Likewise.
31519         * sysdeps/x86_64/Makefile: Likewise.
31520         * sysdeps/hppa/Makefile [$(subdir) = elf]
31521         (sysdep_routines, sysdep-rtld-routines): Don't add
31522         $(sysdep-dl-routines) to these.
31523         * sysdeps/ia64/Makefile: Likewise.
31524         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31525         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31526         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31527         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31528         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31529         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31530         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31531         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31532         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31533         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31534         these; sysdep-dl-routines alone is enough.
31536 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #17932]
31539         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31540         where multiplication results in zero and third argument is finite
31541         and nonzero.
31542         * math/auto-libm-test-in: Add more tests of fma.
31543         * math/auto-libm-test-out: Regenerated.
31545         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31546         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31547         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31548         (_FP_CMP_EQ): Likewise.
31549         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31551         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31552         extra argument CHECK_NAN.  Redefine as wrapper around
31553         _FP_EXTEND_CNAN.
31555 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31557         * version.h (RELEASE): Set to "stable".
31558         (VERSION): Set to "2.21"
31559         * include/features.h (__GLIBC_MINOR__): Set to 21.
31561         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31563 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31564             Paul Eggert  <eggert@cs.ucla.edu>
31566         [BZ #16618]
31567         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31568         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31569         size in bytes. Store needed elements in wpmax. Use needed size
31570         in bytes for extend_alloca.
31572 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31574         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31575         binutls 2.25, and texinfo 5.2.
31576         * INSTALL: Regenerate.
31577         * sysdeps/nios2/configure: Regenerate.
31578         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31579         * manual/contrib.texi: Update.
31580         * po/be.po: Update.
31581         * po/bg.po: Update.
31582         * po/ca.po: Update.
31583         * po/cs.po: Update.
31584         * po/da.po: Update.
31585         * po/de.po: Update.
31586         * po/el.po: Update.
31587         * po/eo.po: Update.
31588         * po/es.po: Update.
31589         * po/fi.po: Update.
31590         * po/fr.po: Update.
31591         * po/gl.po: Update.
31592         * po/hr.po: Update.
31593         * po/hu.po: Update.
31594         * po/ia.po: Update.
31595         * po/id.po: Update.
31596         * po/it.po: Update.
31597         * po/ja.po: Update.
31598         * po/ko.po: Update.
31599         * po/lt.po: Update.
31600         * po/nb.po: Update.
31601         * po/nl.po: Update.
31602         * po/pl.po: Update.
31603         * po/pt_BR.po: Update.
31604         * po/ru.po: Update.
31605         * po/rw.po: Update.
31606         * po/sk.po: Update.
31607         * po/sl.po: Update.
31608         * po/sv.po: Update.
31609         * po/tr.po: Update.
31610         * po/uk.po: Update.
31611         * po/vi.po: Update.
31612         * po/zh_CN.po: Update.
31613         * po/zh_TW.po: Update.
31615         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31616         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31617         * sysdeps/hppa/dl-irel.h: Remove #warning.
31618         * sysdeps/hppa/entry.h: Provide prototype for
31619         __canonicalize_funcptr_for_compare and cast argument.
31620         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31621         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31622         * sysdeps/hppa/sotruss-lib.c: New file.
31623         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31624         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31625         (atomic_compare_and_exchange_bool_acq): Likewise.
31626         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31627         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31629         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31630         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31631         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31633 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31635         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31636         called function in non-PIC case.
31638 2015-01-31  David S. Miller  <davem@davemloft.net>
31640         * sysdeps/sparc/sparc32/bits/atomic.h
31641         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31642         unlock not after it.
31643         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31644         volatile register usage warnings from the compiler.
31646         * sysdeps/sparc/nptl/sem_init.c: Delete.
31647         * sysdeps/sparc/nptl/sem_post.c: Delete.
31648         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31649         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31650         * sysdeps/sparc/sparc32/sem_init.c: New file.
31651         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31652         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31653         padding explicitly initialized.
31654         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31655         padding for in-semaphore spinlock.
31656         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31657         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31658         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31659         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31660         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31661         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31662         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31663         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31664         version.
31665         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31666         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31668 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31670         [BZ #17801]
31671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31672         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31673         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31674         New.
31675         (index_AVX_Fast_Unaligned_Load): Likewise.
31676         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31677         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31678         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31679         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31680         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31681         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31682         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31683         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31684         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31686 2015-01-29  Andreas Schwab  <schwab@suse.de>
31688         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31690 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31692         [BZ #17892]
31693         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31695 2015-01-28  Martin Sebor  <msebor@redhat.com>
31697         * math/README.libm-test: Clarify. Add "How to read the test output."
31699 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31701         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31702         Define to 0.
31704 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31706         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31707         (__HAVE_64B_ATOMICS): Define to 0.
31709 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31711         [BZ #17885]
31712         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31713         value to set as new flag.
31715         [BZ #16576]
31716         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31717         and use _ARCH_PPCSQ instead.
31718         (__ieee754_sqrt): Likewise.
31719         (__ieee754_sqrtf): Likewise.
31720         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31721         _ARCH_PPCSQ is defined.
31722         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31723         fsqrt instruction.
31724         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31725         _ARCH_PPCSQ is defined.
31726         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31727         fsqrts instruction.
31728         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31730 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31732         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31733         bug (GCC BZ #64739).
31735 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31737         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31738         Mark _retval as used.
31739         (lll_futex_wake_unlock): Likewise.
31740         (lll_futex_timed_wait_requeue_pi): Likewise.
31742         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31743         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31744         register variables.
31746         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31747         libm_hidden_def.
31749         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31750         (__bswap_64): Mark as __always_inline.
31752 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31754         [BZ #15378]
31755         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31756         when none of the search directories exist.
31758 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31760         [BZ #17869]
31761         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31762         power8 in .machine directive.
31764         [BZ #17868]
31765         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31766         set dependency from opd value.
31768 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31771         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31772         architecture.
31774 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31776         [BZ #17870]
31777         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31778         with uint64_t.
31779         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31780         (uint64_t) 1.
31781         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31782         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31783         Replace 1UL with (uint64_t) 1.
31784         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31785         int with uint64_t.
31787 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31789         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31790         (if_freenameindex): Likewise.
31792         * resource/getrlimit64.c: Add missing libc_hidden_def.
31794 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31796         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31797         __label__.
31798         (_FP_FMA): Likewise.
31799         (_FP_TO_INT_ROUND): Likewise.
31800         (_FP_FROM_INT): Likewise.
31802 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31804         [BZ #16418]
31805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31806         Make code racy and cancel safe.
31808 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31810         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31811         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31812         attribution.
31814         * pwd/tst-getpw.c: Rewrite.
31816         [BZ #17702]
31817         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31818         (modules-names): Add moddummy1 and moddummy2.
31819         ($(objpfx)tst-rec-dlopen): Define.
31820         * dlfcn/moddummy1.c: New file.
31821         * dlfcn/moddummy2.c: New file.
31822         * dlfcn/tst-rec-dlopen.c: New file.
31823         * elf/dl-cache.c (_dl_load_cache_lookup):
31824         Return char*. Copy result with alloca/strcpy/strdup.
31825         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31826         returns char*. Free cached. If not saving realname
31827         free cached.
31828         * elf/dl-open.c (dl_open_worker): Do not assert that
31829         _r_debug->r_state is RT_CONSISTENT.
31830         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31831         returns char*.
31833 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31834             Carlos O'Donell  <carlos@redhat.com>
31836         [BZ #12674]
31837         * nptl/sem_waitcommon.c: New file.
31838         * nptl/sem_wait.c: Include sem_waitcommon.c.
31839         (__sem_wait_cleanup, do_futex_wait): Remove.
31840         (__new_sem_wait): Adapt.
31841         (__new_sem_trywait): New function.
31842         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31843         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31844         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31845         (sem_timedwait): Adapt.
31846         * nptl/sem_post.c (__new_sem_post): Adapt.
31847         (futex_wake): New function.
31848         (__old_sem_post): Add release MO fence.
31849         * nptl/sem_open.c (sem_open): Adapt.
31850         * nptl/sem_init.c (__new_sem_init): Adapt.
31851         (futex_private_if_supported): New function.
31852         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31853         (__old_sem_getvalue): Add using previous code.
31854         * sysdeps/nptl/internaltypes.h: Adapt.
31855         * nptl/tst-sem13.c (do_test): Adapt.
31856         * nptl/tst-sem11.c (main): Adapt.
31857         * nptl/sem_trywait.c: Remove.
31858         * nptl/DESIGN-sem.txt: Remove.
31859         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31860         (gen-as-const-headers): Remove structsem.sym.
31861         * nptl/structsem.sym: Remove.
31862         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31863         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31864         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31865         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31866         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31867         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31868         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31869         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31870         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31871         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31872         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31873         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31874         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31875         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31876         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31877         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31878         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31879         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31880         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31881         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31882         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31883         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31885 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31887         * INSTALL: Regenerated.
31889         * po/libc.pot: Regenerated.
31891 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31892             Sandra Loosemore  <sandra@codesourcery.com>
31893             Andrew Jenner  <andrew@codesourcery.com>
31894             Joseph Myers  <joseph@codesourcery.com>
31895             Nathan Sidwell  <nathan@codesourcery.com>
31897         * NEWS: Mention new Nios II port.
31898         * sysdeps/nios2/Implies: New file.
31899         * sysdeps/nios2/Makefile: New file.
31900         * sysdeps/nios2/Subdirs: New file.
31901         * sysdeps/nios2/Versions: New file.
31902         * sysdeps/nios2/__longjmp.S: New file.
31903         * sysdeps/nios2/abort-instr.h: New file.
31904         * sysdeps/nios2/backtrace.c: New file.
31905         * sysdeps/nios2/bits/endian.h: New file.
31906         * sysdeps/nios2/bits/fenv.h: New file.
31907         * sysdeps/nios2/bits/link.h: New file.
31908         * sysdeps/nios2/bits/setjmp.h: New file.
31909         * sysdeps/nios2/bsd-_setjmp.S: New file.
31910         * sysdeps/nios2/bsd-setjmp.S: New file.
31911         * sysdeps/nios2/configure: New generated file.
31912         * sysdeps/nios2/configure.ac: New file.
31913         * sysdeps/nios2/crti.S: New file.
31914         * sysdeps/nios2/crtn.S: New file.
31915         * sysdeps/nios2/dl-init.c: New file.
31916         * sysdeps/nios2/dl-machine.h: New file.
31917         * sysdeps/nios2/dl-sysdep.h: New file.
31918         * sysdeps/nios2/dl-tls.h: New file.
31919         * sysdeps/nios2/dl-trampoline.S: New file.
31920         * sysdeps/nios2/gccframe.h: New file.
31921         * sysdeps/nios2/gmp-mparam.h: New file.
31922         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31923         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31924         * sysdeps/nios2/ldsodefs.h: New file.
31925         * sysdeps/nios2/libc-tls.c: New file.
31926         * sysdeps/nios2/libm-test-ulps: New file.
31927         * sysdeps/nios2/machine-gmon.h: New file.
31928         * sysdeps/nios2/math-tests.h: New file.
31929         * sysdeps/nios2/math_private.h: New file.
31930         * sysdeps/nios2/memusage.h: New file.
31931         * sysdeps/nios2/nptl/Makefile: New file.
31932         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31933         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31934         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31935         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31936         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31937         * sysdeps/nios2/nptl/tls.h: New file.
31938         * sysdeps/nios2/preconfigure: New file.
31939         * sysdeps/nios2/s_fma.c: New file.
31940         * sysdeps/nios2/s_fmaf.c: New file.
31941         * sysdeps/nios2/setjmp.S: New file.
31942         * sysdeps/nios2/sfp-machine.h: New file.
31943         * sysdeps/nios2/sotruss-lib.c: New file.
31944         * sysdeps/nios2/stackguard-macros.h: New file.
31945         * sysdeps/nios2/stackinfo.h: New file.
31946         * sysdeps/nios2/start.S: New file.
31947         * sysdeps/nios2/sysdep.h: New file.
31948         * sysdeps/nios2/tls-macros.h: New file.
31949         * sysdeps/nios2/tst-audit.h: New file.
31950         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31951         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31952         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31953         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31954         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31955         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31956         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31957         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31958         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31959         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31960         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31961         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31962         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31963         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31964         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31965         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31966         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31967         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31968         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31969         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31970         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31971         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31972         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31973         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31974         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31975         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31976         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31977         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31978         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31979         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31980         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31981         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31982         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31983         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31984         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31985         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31986         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31987         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31988         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31989         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31990         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31991         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31992         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31993         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31995 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31997         [BZ #17844]
31998         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31999         (getutent): Use weak_alias in non SHARED case
32000         and default_symbol_version in SHARED case.
32001         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32002         (getutent_r, pututline): Likewise.
32003         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32004         (getutid): Likewise.
32005         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32006         (getutid_r): Likewise.
32007         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32008         (getutline): Likewise.
32009         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32010         (getutline_r): Likewise.
32011         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32012         (updwtmp): Likewise.
32014 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32016         [BZ #17848]
32017         * sysdeps/s390/s390-32/memcmp.S
32018         (memcmp_g5): Rename to __memcmp_g5.
32019         * sysdeps/s390/s390-32/memcpy.S
32020         (memcpy_g5): Rename to __memcpy_g5.
32021         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32022         (memcpy_mvcle) Rename to __memcpy_mvcle.
32023         * sysdeps/s390/s390-32/memset.S
32024         (memset_g5): Rename to __memset_g5.
32025         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32026         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32027         and use prefixed functions.
32028         * sysdeps/s390/s390-32/multiarch/memcmp.S
32029         (memcmp_z196): Rename to __memcmp_z196.
32030         (memcmp_z10): Rename to __memcmp_z10.
32031         (memcmp): Set alias to __memcmp_g5.
32032         (bcmp): Set alias to __memcmp_g5.
32033         * sysdeps/s390/s390-32/multiarch/memcpy.S
32034         (memcpy_z196): Rename to __memcpy_z196.
32035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32036         (memcpy_z10): Rename to __memcpy_z10.
32037         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32038         (memcpy): Set alias to __memcpy_g5.
32039         * sysdeps/s390/s390-32/multiarch/memset.S
32040         (memset_z196): Rename to __memset_z196.
32041         Jump to __memset_mvcle instead of memset_mvcle.
32042         (memset_z10): Rename to __memset_z10.
32043         Jump to __memset_mvcle instead of memset_mvcle.
32044         (memset_mvcle) Rename to __memset_mvcle.
32045         (memset): Set alias to __memset_g5.
32046         * sysdeps/s390/s390-64/memcmp.S
32047         (memcmp_z900): Rename to __memcmp_z900.
32048         * sysdeps/s390/s390-64/memcpy.S
32049         (memcpy_z900): Rename to __memcpy_z900.
32050         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32051         (memcpy_mvcle) Rename to __memcpy_mvcle.
32052         * sysdeps/s390/s390-64/memset.S
32053         (memset_z900): Rename to __memset_z900.
32054         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32055         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32056         and use prefixed functions.
32057         * sysdeps/s390/s390-64/multiarch/memcmp.S
32058         (memcmp_z196): Rename to __memcmp_z196.
32059         (memcmp_z10): Rename to __memcmp_z10.
32060         (memcmp): Set alias to __memcmp_z900.
32061         (bcmp): Set alias to __memcmp_z900.
32062         * sysdeps/s390/s390-64/multiarch/memcpy.S
32063         (memcpy_z196): Rename to __memcpy_z196.
32064         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32065         (memcpy_z10): Rename to __memcpy_z10.
32066         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32067         (memcpy): Set alias to __memcpy_z900.
32068         * sysdeps/s390/s390-64/multiarch/memset.S
32069         (memset_z196): Rename to __memset_z196.
32070         Jump to __memset_mvcle instead of memset_mvcle.
32071         (memset_z10): Rename to __memset_z10.
32072         Jump to __memset_mvcle instead of memset_mvcle.
32073         (memset_mvcle) Rename to __memset_mvcle.
32074         (memset): Set alias to __memset_z900.
32076 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32078         [BZ #17748]
32079         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32080         __fesetenv instead of fesetenv.
32082 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32084         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32085         macro.
32087 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32089         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32090         regression on LE.
32092         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32093         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32094         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32095         strncmp-power8 object.
32096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32097         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32098         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32099         * NEWS: Update.
32101 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32104         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32105         trailing byte check.
32107 2015-01-13  David S. Miller  <davem@davemloft.net>
32109         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32111 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32113         * login/logout.c (logout): Use memset rather than bzero.
32114         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32115         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32116         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32117         (_gethtbyaddr): Likewise.
32118         * locale/programs/simple-hash.c (bcopy): Macro removed.
32120 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32123         Add strcmp-power8 object.
32124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32125         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32126         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32127         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32128         __strcmp_power8 implementation.
32129         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32130         * NEWS: Update.
32132         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32133         Add strncpy-power8 and stpncpy-power8 objects.
32134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32135         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32136         implementations.
32137         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32138         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32139         __stpncpy_power8 implementation.
32140         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32141         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32142         __strncpy_power8 implementation.
32143         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32144         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32145         * NEWS: Update.
32147         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32148         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32149         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32151         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32152         strncat-power8 object.
32153         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32154         __strcat_power8 implementation.
32155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32156         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32157         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32158         optimized strcat for power8.
32160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32161         strcpy-power8 and stpcpy-power8 objects.
32162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32163         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32164         implementations.
32165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32166         multiarch stpcpy implementation for POWER8.
32167         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32168         multiarch strcpy implementation for POWER8.
32169         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32170         __strcpy_power8 function.
32171         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32172         stpcpy for POWER8.
32173         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32174         strcpy for POWER8.
32175         * NEWS: Update.
32177 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32179         [BZ #16009]
32180         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32181         weights and rules. Use do_xfrm_cached if data fits in cache,
32182         do_xfrm otherwise.  Moved former main loop to...
32183         * (do_xfrm_cached): New function.
32184         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32185         find_idx, find_position and stack_push.
32186         * (find_idx): New function.
32187         * (find_position): Likewise.
32188         * localedata/sort-test.sh: Added test run for do_xfrm.
32189         * localedata/xfrm-test.c (main): Added command line option
32190         -nocache to run the test with strings that are too large for
32191         the STRXFRM cache.
32193 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32195         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32196         variable to lll_futex_wake call, not the value itself.
32198 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32200         [BZ #17803]
32201         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32202         twom64.  Adjust value to 0x1p-64L.
32203         (__scalblnl): Only return standard underflowing result for K <=
32204         -64 not K <= -63; adjust exponent for underflowing result by 64
32205         not 63.
32206         * math/libm-test.inc (scalbn_test_data): Add more tests.
32207         (scalbln_test_data): Likewise.
32209         [BZ #17834]
32210         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32211         0x1p63L.
32212         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32213         not HX.
32214         * math/libm-test.inc (scalbn_test_data): Add more tests.
32215         (scalbln_test_data): Likewise.
32217 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32218             Stefani Seibold  <stefani@seibold.net>
32220         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32221         (sysdep_routines): Add dl-vdso here, ...
32222         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32223         (sysdep_routines): ... not here.
32224         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32225         fallback when vDSO is not presented.
32226         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32227         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32228         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32229         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32230         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32231         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32232         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32233         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32234         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32236         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32237         fallback configurable symbol when vDSO is not available.
32238         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32239         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32240         be able to redefine fallback symbol when vDSO is not available.
32241         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32242         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32244 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32246         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32247         (TLS_INIT_TP): Add tm_capable initialization.
32248         (TLS_DEFINE_INIT_TP): Likewise.
32249         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32250         TCB.
32251         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32252         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32253         calculation.
32254         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32255         transactoion is lock elision is built and TCB tm_capable is set.
32256         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32258         (INTERNAL_SYSCALL_NCS): Likewise.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32260         (INTERNAL_SYSCALL_NCS): Likewise.
32261         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32263         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32264         for powerpc.
32265         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32266         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32267         and remove it for 32 bits case.
32268         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32270         initialization.
32271         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32272         Disable lock elision with rdlocks if elision is not available.
32274         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32275         (sysdep_routines): Add lock elision objects.
32276         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32277         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32278         [pthread_mutex_t] (__elision): Add field.
32279         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32280         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32281         elision definitions for powerpc.
32282         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32283         implementation of lock elision for powerpc.
32284         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32285         implementation of timed lock elision for powerpc.
32286         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32287         implementation of trylock with lock elision for powerpc.
32288         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32289         implementaion of unlock for lock elision for powerpc.
32290         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32291         automatic enable lock elision for mutexes.
32292         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32293         transaction execution definitions for powerpc.
32294         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32295         definitions.
32296         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32297         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32298         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32299         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32300         * NEWS: Update.
32302 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32304         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32305         for #include of <shm-directory.h>.
32307 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32309         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32310         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32312 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32314         [BZ #17791]
32315         * NEWS: Mention bug fix.
32316         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32317         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32318         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32320 2015-01-09  Torvald Riegel <triegel@redhat.com>
32322         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32324 2015-01-09  Torvald Riegel <triegel@redhat.com>
32326         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32328 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32330         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32331         pointer and cast to uintptr_t.
32333 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32335         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32336         removed.
32337         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32339 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32341         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32342         of 0.
32344 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32346         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32347         <nptl/pthreadP.h> instead.
32348         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32350         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32351         already defined.
32352         [__SIGRTMIN] (init): Function removed.
32353         [__SIGRTMIN] (initialized): Variable removed.
32354         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32355         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32356         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32357         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32358         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32359         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32360         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32361         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32362         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32363         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32364         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32365         * sysdeps/nptl/allocrtsig.c: New file.
32366         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32367         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32368         * sysdeps/generic/testrtsig.h: File removed.
32370         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32371         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32373         * nptl/nptl-init.c (pthread_functions): Conditionalize
32374         .ptr__nptl_setxid initialization on [SIGSETXID].
32376         * sysdeps/nptl/sys/procfs.h: New file.
32377         * nptl_db/Makefile (headers): Add it.
32378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32380         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32381         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32382         * nptl/pthread_attr_setaffinity.c: Include it.
32383         * nptl/pthread_setattr_default_np.c: Likewise.
32384         * nptl/check-cpuset.h: New file.
32386 2015-01-08  Richard Henderson  <rth@redhat.com>
32388         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32389         (CFLAGS-tst-execstack-prog.c): Likewise.
32390         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32392 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32393             Sandra Loosemore  <sandra@codesourcery.com>
32394             Andrew Jenner  <andrew@codesourcery.com>
32395             Joseph Myers  <joseph@codesourcery.com>
32396             Nathan Sidwell  <nathan@codesourcery.com>
32398         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32399         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32400         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32401         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32402         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32403         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32404         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32405         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32406         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32407         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32408         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32409         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32410         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32411         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32412         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32413         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32414         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32416 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32418         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32419         timespec struct member in syscall macro.
32420         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32421         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32422         first timeval struct member in syscall macro.
32423         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32425 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32427         [BZ #17748]
32428         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32429         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32430         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32431         __feupdateenv and define as weak alias of __feupdateenv.  Use
32432         libm_hidden_weak.
32433         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32434         libm_hidden_def.
32435         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32436         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32437         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32438         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32439         libm_hidden_def.
32440         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32441         __feupdateenv and define as weak alias of __feupdateenv.  Use
32442         libm_hidden_weak.
32443         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32444         libm_hidden_def.
32445         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32446         __feupdateenv and define as weak alias of __feupdateenv.  Use
32447         libm_hidden_weak.
32448         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32449         libm_hidden_def.
32450         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32451         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32452         (__feupdateenv): Likewise.
32453         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32454         __feupdateenv and define as weak alias of __feupdateenv.  Use
32455         libm_hidden_weak.
32456         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32457         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32458         libm_hidden_def.
32459         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32460         function.
32461         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32462         libm_hidden_def.
32463         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32464         __feupdateenv instead of feupdateenv.
32465         (default_libc_feupdateenv_test): Likewise.
32466         (libc_feresetround_ctx): Likewise.
32468 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32470         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32471         prototype.
32473 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32475         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32476         COLL_SYM in a couple of places to avoid uninitialized variable
32477         wanings on tilegx gcc 4.8.2.
32479 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32481         * sysdeps/aarch64/strcpy.S: New file.
32482         * sysdeps/aarch64/stpcpy.S: New file.
32483         * NEWS: Updated.
32485 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32487         * sysdeps/aarch64/strrchr.S: New file.
32488         * NEWS: Updated.
32490 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32492         [BZ #17658]
32493         * stdlib/setenv.c: Fix memory leak when setting large,
32494         duplicate string.
32496 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32498         [BZ #17273]
32499         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32500         and tabs from buffer before parsing fstab entry.
32501         * misc/tst-mntent.c (main): Add test for mount entry with
32502         trailing spaces and tabs.
32504 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32506         [BZ #17748]
32507         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32508         * math/fesetround.c (fesetround): Rename to __fesetround and
32509         define as weak alias of __fesetround.  Use libm_hidden_weak.
32510         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32511         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32512         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32513         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32514         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32515         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32516         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32517         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32518         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32519         __fesetround_inline.
32520         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32521         __fesetround_inline instead of __fesetround.
32522         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32523         __fesetround and define as weak alias of __fesetround.  Use
32524         libm_hidden_weak.  Call __fesetround_inline instead of
32525         __fesetround.
32526         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32527         __fesetround and define as weak alias of __fesetround.  Use
32528         libm_hidden_weak.
32529         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32530         Likewise.
32531         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32532         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32533         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32534         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32535         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32536         __fesetround and define as weak alias of __fesetround.  Use
32537         libm_hidden_weak.
32538         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32539         __fesetround instead of fesetround.
32540         (default_libc_feholdexcept_setround): Likewise.
32541         (libc_feholdsetround_ctx): Likewise.
32542         (libc_feholdsetround_noex_ctx): Likewise.
32544         [BZ #17748]
32545         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32546         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32548         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32549         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32550         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32551         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32552         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32553         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32554         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32555         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32556         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32557         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32558         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32559         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32560         libm_hidden_def.
32561         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32562         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32563         Likewise.
32564         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32565         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32566         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32567         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32568         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32569         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32570         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32571         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32572         __fesetenv instead of fesetenv.
32573         (libc_feresetround_noex_ctx): Likewise.
32574         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32575         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32576         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32577         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32578         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32579         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32580         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32581         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32582         (__feupdateenv): Likewise.
32583         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32584         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32585         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32586         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32588 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32590         [BZ #17806]
32591         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32592         addresses have been freed.
32594 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32596         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32597         and nservall.
32599 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32601         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32602         Clean up check_pf allocation pattern. addresses
32604 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32606         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32607         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32608         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32609         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32610         * nptl/pthread_join.c (pthread_join): Likewise.
32611         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32612         * sysdeps/posix/waitid.c (__waitid): Likewise.
32613         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32614         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32615         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32616         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32618         Likewise.
32619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32620         (__libc_pread64): Likewise.
32621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32622         (__libc_pwrite): Likewise.
32623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32624         (__libc_pwrite64): Likewsie.
32625         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32626         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32627         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32628         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32629         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32630         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32631         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32633         Likewise.
32634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32635         (__libc_pread64): Likewise.
32636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32637         Likewise.
32638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32639         (__libc_pwrite64): Likewise.
32640         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32641         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32642         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32643         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32644         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32645         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32646         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32647         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32648         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32649         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32650         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32651         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32652         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32653         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32654         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32655         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32656         Likewise.
32658 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32660         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32661         (CFLAGS-test-double.c): Likewise.
32662         (CFLAGS-test-ldouble.c): Likewise.
32663         (CPPFLAGS-test-ifloat.c): Likewise.
32664         (CPPFLAGS-test-idouble.c): Likewise.
32665         (CPPFLAGS-test-ildoubl.c): Likewise.
32666         (CFLAGS-test-test-fenv.c): Remove variable.
32667         (CFLAGS-test-misc.c): Likewise.
32669 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32671         [BZ #17797]
32672         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32673         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32674         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32675         CLOCKS_PER_SEC == 1000000.
32676         * time/clocktest.c (main): Replace %ld with %jd and cast to
32677         intmax_t.
32679 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32681         * sysdeps/generic/unwind-resume.h: New file.
32682         * sysdeps/gnu/unwind-resume.c: Include it.
32683         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32684         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32685         argument list.
32686         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32687         global rather than static.
32688         (_Unwind_Resume): Update user.
32689         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32690         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32691         rather than static.  Add __attribute__ ((cold)).
32692         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32693         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32694         * sysdeps/arm/arm-unwind-resume.S: New file.
32695         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32696         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32697         * sysdeps/arm/Makefile [$(subdir) = csu]
32698         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32699         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32700         Add rt-arm-unwind-resume.
32701         [$(subdir) = nptl]
32702         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32703         Add pt-arm-unwind-resume.
32704         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32705         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32707 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32709         [BZ #17748]
32710         * include/fenv.h (__feholdexcept): Declare.  Use
32711         libm_hidden_proto.
32712         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32713         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32714         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32715         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32716         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32717         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32718         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32719         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32720         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32721         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32722         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32723         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32724         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32725         (feholdexcept): Likewise.
32726         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32727         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32728         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32729         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32730         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32731         __feholdexcept instead of feholdexcept.
32732         (default_libc_feholdexcept_setround): Likewise.
32734 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32736         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32737         to avoid using stl/str to align destination.
32739 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32741         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32743 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32745         [BZ #17796]
32746         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32747         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32748         Define as weak alias not strong alias.
32750 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32752         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32753         bltzal with addiupc.
32754         (RTLD_START): Ditto.
32756 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32758         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32759         for __vdso_* functions in declarations.
32760         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32761         definitions.
32762         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32763         INTERNAL_VSYSCALL): Use struct return types to check for error.
32765         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32766         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32767         function with cast from llround().
32768         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32769         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32770         Define.
32772 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32774         [BZ #17793]
32775         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32776         Define as weak alias not strong alias.
32778         [BZ #17635]
32779         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32780         ...
32781         * ctype/ctype-extn.c: ... here.
32782         (__isblank_l): Move to ...
32783         * ctype/ctype-c99_l.c: ... here.  New file.
32784         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32785         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32786         Remove variable.
32787         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32788         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32789         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32790         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32791         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32793         [BZ #17777]
32794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32795         (posix_fadvise64): Define as weak alias not strong alias.
32796         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32797         (posix_fallocate64): Likewise.
32798         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32799         Remove variable.
32800         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32801         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32802         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32803         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32804         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32806 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32808         [BZ #16191]
32809         * NEWS: Mention bug fix.
32810         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32811         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32812         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32813         (HOST_STACK_END_ADDR): Likewise.
32815 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32817         [BZ #17748]
32818         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32819         * math/fegetround.c (fegetround): Rename to __fegetround and
32820         define as weak alias of __fegetround.  Use libm_hidden_weak.
32821         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32822         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32823         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32824         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32825         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32826         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32827         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32828         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32829         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32830         Undefine after rather than before function definition; use
32831         parentheses around function name in definition.
32832         (__fegetround): Also undefine macro after function definition.
32833         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32834         __fegetround and define as weak alias of __fegetround.  Use
32835         libm_hidden_weak.  Do not undefine as macro.
32836         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32837         Likewise.
32838         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32839         __fegetround and define as weak alias of __fegetround.  Use
32840         libm_hidden_weak.
32841         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32842         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32843         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32844         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32845         __fegetround and define as weak alias of __fegetround.  Use
32846         libm_hidden_weak.
32847         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32848         __fegetround instead of fegetround.
32850         [BZ #17782]
32851         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32852         Condition macro definition on [__USE_MISC].
32854         [BZ #17781]
32855         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32856         (struct sigaction): Change type of sa_flags field to int.
32858         [BZ #17780]
32859         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32860         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32861         __glibc_reserved0.
32863         * nptl/version.c (banner): Use single year in copyright notice.
32865         * NEWS: Update copyright dates.
32866         * catgets/gencat.c (print_version): Likewise.
32867         * csu/version.c (banner): Likewise.
32868         * debug/catchsegv.sh: Likewise.
32869         * debug/pcprofiledump.c (print_version): Likewise.
32870         * debug/xtrace.sh (do_version): Likewise.
32871         * elf/ldconfig.c (print_version): Likewise.
32872         * elf/ldd.bash.in: Likewise.
32873         * elf/pldd.c (print_version): Likewise.
32874         * elf/sotruss.sh: Likewise.
32875         * elf/sprof.c (print_version): Likewise.
32876         * iconv/iconv_prog.c (print_version): Likewise.
32877         * iconv/iconvconfig.c (print_version): Likewise.
32878         * locale/programs/locale.c (print_version): Likewise.
32879         * locale/programs/localedef.c (print_version): Likewise.
32880         * login/programs/pt_chown.c (print_version): Likewise.
32881         * malloc/memusage.sh (do_version): Likewise.
32882         * malloc/memusagestat.c (print_version): Likewise.
32883         * malloc/mtrace.pl: Likewise.
32884         * manual/libc.texinfo: Likewise.
32885         * nptl/version.c (banner): Likewise.
32886         * nscd/nscd.c (print_version): Likewise.
32887         * nss/getent.c (print_version): Likewise.
32888         * nss/makedb.c (print_version): Likewise.
32889         * posix/getconf.c (main): Likewise.
32890         * scripts/test-installation.pl: Likewise.
32891         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32893 2015-01-02  Will Newton  <will.newton@linaro.org>
32895         * sysdeps/arm/armv7/configure: Removed.
32896         * sysdeps/arm/armv7/configure.ac: Likewise.
32898 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32900         * All files with FSF copyright notices: Update copyright dates
32901         using scripts/update-copyrights.
32902         * intl/plural.c: Regenerated.
32903         * locale/programs/charmap-kw.h: Likewise.
32904         * locale/programs/locfile-kw.h: Likewise.
32906 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32908         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32910 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32912         [BZ #17748]
32913         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32914         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32915         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32916         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32917         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32918         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32919         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32920         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32921         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32922         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32923         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32924         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32925         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32926         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32927         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32928         libm_hidden_def.
32929         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32930         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32931         Likewise.
32932         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32933         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32934         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32935         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32936         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32937         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32938         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32939         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32940         __fegetenv instead of fegetenv.
32941         (libc_feholdsetround_noex_ctx): Likewise.
32943 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32945         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32946         (Elf_MIPS_ABIFlags_v0): New structure.
32947         (EF_MIPS_FP64): Define.
32948         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32949         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32950         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32951         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32952         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32953         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32954         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32955         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32956         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32957         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32958         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32959         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32960         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32961         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32962         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32963         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32964         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32965         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32966         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32967         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32968         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32969         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32970         field.
32971         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32972         EF_MIPS_FP64.
32973         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32974         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32975         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32976         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32977         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32978         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32979         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32980         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32981         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32982         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32983         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32984         record the current FP ABI extension.
32985         (mips-mode-switch): Define to show if kernel headers support mode
32986         switching.
32987         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32988         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32989         supported SYSV ABI version to 3.
32990         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32991         feature.
32993 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32994             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32997         path.
32998         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33000 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33003         __fegetround and redefine to call __fegetround.  Remove condition
33004         on [!__NO_MATH_INLINES].
33005         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33006         function.
33007         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33008         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33009         Remove macro.
33010         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33011         instead of <fenv_libc.h>.
33012         (__llrintl): Call fegetround instead of __fegetround.
33013         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33014         instead of <fenv_libc.h>.
33015         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33016         (__lrintl): Call fegetround instead of __fegetround.
33017         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33018         instead of <fenv_libc.h>.
33019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33020         (__rintl): Call fegetround instead of __fegetround.
33022 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33024         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33025         arrays.
33027 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33029         [BZ #17775]
33030         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33031         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33032         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33034 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33036         * sysdeps/i386/tls-macros.h: Include <features.h>.
33037         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33038         (TLS_IE): Likewise.
33039         (TLS_LD): Likewise.
33040         (TLS_GD): Likewise.
33041         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33042         define for GCC >= 5.0.
33044 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33046         * math/test-fenv.c (test_single_exception, set_single_exc,
33047         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33048         feexcp_mask_test, feenable_test, fe_single_test): Add
33049         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33050         case where they are not used.
33051         * math/libm-test.inc: Likewise.
33052         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33053         unused in the absence of FP rounding/exception support.
33054         * stdio-common/tst-printf-round.c: Likewise.
33055         * stdlib/tst-strtod-round.c: Likewise.
33056         * stdlib/tst-strtod-underflow.c: Likewise.
33058 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33060         [BZ #17723]
33061         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33062         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33063         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33064         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33065         libm_hidden_weak.
33066         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33067         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33068         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33069         libm_hidden_def.
33070         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33071         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33072         libm_hidden_weak.
33073         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33074         Likewise.
33075         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33076         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33077         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33078         libm_hidden_weak.
33079         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33080         libm_hidden_def.
33081         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33082         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33083         (__feraiseexcept): Likewise.
33084         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33085         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33086         libm_hidden_weak.
33087         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33088         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33089         libm_hidden_def.
33090         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33091         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33092         Use libm_hidden_def.
33093         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33094         libm_hidden_def.
33095         (feraiseexcept): Define as weak not strong alias.  Use
33096         libm_hidden_weak.
33097         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33098         New inline function.  Factored out of ...
33099         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33100         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33101         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33102         feraiseexcept.
33103         * math/w_acos.c (__acos): Likewise.
33104         * math/w_asin.c (__asin): Likewise.
33105         * math/w_ilogb.c (__ilogb): Likewise.
33106         * math/w_j0.c (y0): Likewise.
33107         * math/w_j1.c (y1): Likewise.
33108         * math/w_jn.c (yn): Likewise.
33109         * math/w_log.c (__log): Likewise.
33110         * math/w_log10.c (__log10): Likewise.
33111         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33112         * sysdeps/aarch64/fpu/math_private.h
33113         (libc_feupdateenv_test_aarch64): Likewise.
33114         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33115         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33116         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33117         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33118         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33119         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33120         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33121         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33122         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33123         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33125 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33127         [BZ #17732]
33128         * io/test-utime.c (main): Replace %ld with %jd and cast to
33129         intmax_t.
33130         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33131         * nptl/tst-mutex5.c: Include <stdint.h>.
33132         (do_test): Replace %ld with %jd and cast to intmax_t.
33133         * posix/tst-regex.c (run_test): Likewise.
33134         (run_test_backwards): Likewise.
33135         * rt/tst-clock.c: Include <stdint.h>.
33136         (clock_test): Replace %ld with %jd and cast to intmax_t.
33137         * rt/tst-cpuclock1.c: Include <stdint.h>.
33138         (do_test): Replace %lu with %ju and cast to uintmax_t.
33139         * rt/tst-cpuclock2.c: Include <stdint.h>.
33140         (do_test): Replace %lu with %ju and cast to uintmax_t.
33141         * rt/tst-mqueue1.c: Include <stdint.h>.
33142         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33143         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33144         intmax_t.
33145         * rt/tst-mqueue4.c (do_test): Likewise.
33146         * rt/tst-timer4.c: Include <stdint.h>.
33147         (check_ts): Replace %ld with %jd and cast to intmax_t.
33148         (do_test): Likewise.
33149         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33150         and cast to intmax_t.
33151         * sysdeps/pthread/tst-timer.c (main): Likewise.
33152         * time/clocktest.c (main): Likewise.
33153         * time/tst-posixtz.c (do_test): Likewise.
33154         * timezone/tst-timezone.c (main): Likewise.
33156 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33157             H.J. Lu  <hongjiu.lu@intel.com>
33159         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33160         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33161         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33162         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33163         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33164         version if bit_Fast_Unaligned_Load is set.
33165         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33166         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33167         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33168         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33169         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33170         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33172         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33173         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33174         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33175         to 4.
33176         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33177         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33178         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33179         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33181 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33183         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33184         instead of #if to avoid a Wundef warning.
33185         * stdlib/tst-limits.c (do_test): Likewise.
33187         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33188         parallel other exception macros.
33189         (fegetenv): Convert from macro to extern inline so that it applies
33190         retroactively to inline functions already seen by the compiler.
33191         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33193         * posix/Makefile (before-compile): Use $(objpfx) for
33194         posix-conf-vars-def.h.
33196 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33198         * posix/getconf.c (main): Use size_t for type of I.
33199         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33200         NSPEC.
33202         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33203         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33204         * posix/posix-envs.def: Likewise.
33205         * sysdeps/posix/sysconf.c: Likewise.
33206         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33207         (specs): Remove array.
33208         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33209         array.
33211         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33212         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33213         (__sysconf): Use CONF_IS_* macros.
33215         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33216         ($(objpfx)posix-conf-vars-def.h): New target.
33217         * posix/posix-conf-vars.list: New file.
33218         * posix/posix-conf-vars.h: New file.
33219         * posix/confstr.c: Include posix-conf-vars.h.
33220         (confstr): Use CONF_IS_* macros.
33221         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33222         CONF_IS_* macros.
33223         * scripts/gen-posix-conf-vars.awk: New file.
33225 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33227         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33228         fegetround): Add no-op macros to avoid linknamespace issues.
33230         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33231         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33233         * sysdeps/unix/sysv/linux/tile/sysdep.h
33234         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33235         assembly-specific section to avoid a redefinition warning.
33237         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33238         long before casting to pointer to avoid a cast warning.
33240 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33242         * sysdeps/tile/tilegx/Implies: New file.
33244 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33246         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33248 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33250         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33252 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33255         not define.
33256         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33257         <kernel-features.h>.
33258         (__utimes) [__NR_utimes]: Make code unconditional.
33259         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33260         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33261         (__ASSUME_UTIMES): Do not undefine.
33262         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33263         (__ASSUME_UTIMES): Likewise.
33264         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33265         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33266         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33267         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33269 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33271         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33273 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33275         [BZ #17747]
33276         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33277         alias to weak alias for j0l, y0l.
33278         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33279         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33281         [BZ #17746]
33282         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33283         conversion.
33285 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33287         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33288         to zero if not already defined.
33290 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33292         [BZ #17724]
33293         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33294         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33295         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33296         (char *) casts added.
33297         * sysdeps/ieee754/k_standardf.c: New file.
33298         * sysdeps/ieee754/k_standardl.c: Likewise.
33299         * math/Makefile (libm-support): Remove k_standard.
33300         (libm-calls): Add k_standard.
33302 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33304         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33305         Optimize to avoid an unnecessary FPCR read.
33307 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33309         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33310         Optimize to reduce FPCR/FPSR accesses.
33312 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33314         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33315         Call libc_fetestexcept_aarch64.
33317 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33319         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33320         Call libc_fesetround_aarch64.
33322 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33324         [BZ #17733]
33325         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33326         (__bind): Do not define as weak alias.
33327         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33328         define.
33329         (__getsockname): Do not define as weak alias.
33331 2014-12-22  Will Newton  <will.newton@linaro.org>
33333         * manual/install.texi: Document that we require bison 2.7
33334         or above.
33335         * INSTALL: Regenerate.
33336         * configure.ac: Use AC_CHECK_PROG_VER instead of
33337         AC_PATH_PROG when checking for bison and check for
33338         version 2.7 or above.
33339         * configure: Regenerate.
33341 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33343         [BZ #17745]
33344         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33345         * sysdeps/tile/ffsll.c (ffsll): To here.
33347         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33349 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33351         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33352         if not defined.
33353         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33354         definition.
33355         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33356         hidden ___tls_get_addr.
33357         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33358         hidden __tls_get_addr.
33359         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33360         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33361         Likewise.
33363 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33365         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33366         _dl_init call.
33368 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33370         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33371         from "call _dl_init@PLT".
33372         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33374 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33376         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33377         guarantees.
33379 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33381         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33383 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33385         [BZ #17744]
33386         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33387         strnlen.
33389 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33391         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33392         of multu on MIPSr6.
33393         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33394         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33395         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33396         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33397         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33399 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33401         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33402         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33403         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33404         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33405         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33406         mips32r6/mips64r6.
33407         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33409 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33411         * string/strncat.c (STRNCAT): Simplify implementation.
33413 2014-12-19  David S. Miller  <davem@davemloft.net>
33415         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33416         access the quad as both a long double and as a series of 4 words.
33418         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33419         link_map->l_info array access.
33421 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33423         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33425         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33426         * math/atest-exp2.c (TIMEOUT): Likewise.
33427         * math/atest-sincos.c (TIMEOUT): Likewise.
33429 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33431         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33432         -Wno-error with -fno-builtin-lround.
33434 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33436         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33437         Contains futex constants and functions moved over from ...
33438         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33439         <lowlevellock-futex.h>.
33440         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33441         (lll_timedwait_tid): Add comments and parentheses around macro
33442         arguments.
33444 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33447         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33448         (__lll_private_flag): Remove.
33449         (lll_futex_wait): Likewise.
33450         (lll_futex_timed_wait): Likewise.
33451         (lll_futex_wake): Likewise.
33452         (lll_futex_requeue): Likewise.
33453         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33454         (__lll_timedwait_tid): Spell out argument names.
33455         (lll_timedwait_tid): Add comments and parentheses around macro
33456         arguments.
33457         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33458         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33460 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33462         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33463         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33464         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33465         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33466         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33467         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33468         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33469         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33470         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33471         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33473         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33474         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33476         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33477         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33478         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33479         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33480         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33482 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33484         * sysdeps/x86_64/x32/Makefile: New file.
33486 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33488         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33489         1L with (mp_limb_t) 1.
33491 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33493         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33494         * nptl/libc_pthread_init.c: ... here.
33495         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33496         * nptl/register-atfork.c: ... here.
33498         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33499         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33500         Use assert_perror to check its return value.
33501         (__gai_create_helper_thread): Likewise.
33503         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33505         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33507 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33509         [BZ #17725]
33510         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33511         __profil_counter.
33512         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33513         Likewise.
33514         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33515         Likewise.
33516         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33517         Likewise.
33518         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33519         (profil_counter): Likewise.
33520         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33521         (profil_counter): Likewise.
33522         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33523         Likewise.
33524         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33525         Likewise.
33526         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33527         (profil_counter): Likewise.
33528         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33529         Likewise.
33530         [!__profil_counter] (profil_counter): Define as weak alias of
33531         __profil_counter.
33532         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33533         (profil_counter): Rename to __profil_counter.
33534         [!__profil_counter] (profil_counter): Define as weak alias of
33535         __profil_counter.
33536         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33537         (profil_counter): Rename to __profil_counter.
33538         [!__profil_counter] (profil_counter): Define as weak alias of
33539         __profil_counter.
33540         * sysdeps/posix/profil.c: Update comment referring to
33541         profil_counter.
33542         (__profil): Use __profil_counter instead of profil_counter.
33543         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33544         __profil_counter.  Use __profil_counter_ushort and
33545         __profil_counter_uint in definitions.
33546         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33547         instead of profil_counter_uint and profil_counter_ushort.
33549         [BZ #17722]
33550         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33551         define as weak alias of __inet_makeaddr.
33552         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33553         as weak alias of __inet_addr.
33554         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33555         as weak alias of __inet_pton.  Use libc_hidden_weak.
33556         * include/arpa/inet.h (__inet_pton): Declare.  Use
33557         libc_hidden_proto.
33558         (inet_makeaddr): Don't use libc_hidden_proto.
33559         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33560         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33561         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33562         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33563         Remove variable.
33564         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33565         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33567 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33569         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33571 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33573         * stdio-common/bug-vfprintf-nargs.c (do_test):
33574         Cast value to intptr_t to avoid format warning
33575         for usage with PRIdPTR printing macro.
33577 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33579         * libio/tst-widetext.c (do_test):
33580         Use format type %td instead of %Zd for ptrdiff_t
33581         in order to avoid format warning.
33583 2014-12-17  Andreas Schwab  <schwab@suse.de>
33585         * nscd/mem.c (gc): Add size_t cast to match printf format.
33587 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33589         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33590         (init): Apply PTR_MANGLE to pointers before storing them.
33591         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33592         before using them.
33594 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33596         [BZ #17719]
33597         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33598         define as weak alias of __memrchr.
33599         (__memrchr): Do not define as strong alias of memrchr.
33600         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33601         Remove variable.
33602         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33603         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33604         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33606         [BZ #17717]
33607         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33608         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33609         (if_indextoname): Rename to __if_indextoname and define as weak
33610         alias of __if_indextoname.  Use libc_hidden_weak.
33611         (if_freenameindex): Rename to __if_freenameindex and define as
33612         weak alias of __if_freenameindex.
33613         (if_nameindex): Rename to __if_nameindex and define as weak alias
33614         of __if_nameindex.
33615         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33616         __if_nametoindex and define as weak alias of __if_nametoindex.
33617         Use libc_hidden_weak.
33618         (if_freenameindex): Rename to __if_freenameindex and define as
33619         weak alias of __if_freenameindex.
33620         (if_nameindex): Rename to __if_nameindex and define as weak alias
33621         of __if_nameindex.
33622         (if_indextoname): Rename to __if_indextoname and define as weak
33623         alias of __if_indextoname.  Use libc_hidden_weak.
33624         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33625         __if_nametoindex and define as weak alias of __if_nametoindex.
33626         Use libc_hidden_weak.
33627         (if_freenameindex): Rename to __if_freenameindex and define as
33628         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33629         (if_nameindex_netlink): Use __if_freenameindex instead of
33630         if_freenameindex.
33631         (if_nameindex): Rename to __if_nameindex and define as weak alias
33632         of __if_nameindex.  Use libc_hidden_weak.
33633         (if_indextoname): Rename to __if_indextoname and define as weak
33634         alias of __if_indextoname.  Use libc_hidden_weak.
33635         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33636         libc_hidden_proto.
33637         [!_ISOMAC] (__if_freenameindex): Likewise.
33638         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33639         if_nametoindex.
33640         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33641         variable.
33642         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33643         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33644         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33645         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33646         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33647         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33648         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33650         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33651         Remove variable.
33652         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33653         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33655 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33657         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33658         subscript above bounds'
33660         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33661         bounds.
33663 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33665         * libio/tst-fopenloc.c: Use test-skeleton.c.
33667         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33668         (entry): Rename to ITEM.
33669         (do_test, comp): Adjust.
33671         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33673 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33675         * string/tester.c: Include <libc-internal.h>.
33676         (test_memset): Ignore -Wmemset-transposed-args.
33678 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33680         * misc/tst-mntent2.c (do_test): Fix warning.
33682 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33684         * elf/tst-unique4lib.cc(a): Mark as used.
33686 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33688         [BZ #17630]
33689         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33690         names.
33692 2014-12-16  Allan McRae  <allan@archlinux.org>
33694         * stdio-common/Makefile (tests): Re-add bug26.
33696 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33698         [BZ #17657]
33699         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33700         static array.
33702 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33704         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33705         (__lll_lock_wait): Likewise.
33706         (__lll_timedlock_wait): Likewise.
33707         (__lll_timedwait_tid): Likewise.
33708         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33709         (__lll_robust_timedlock_wait): Likewise.
33710         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33711         (lll_cond_trylock): Likewise.
33712         (__lll_lock): Likewise.
33713         (__lll_robust_lock): Likewise.
33714         (__lll_cond_lock): Likewise.
33715         (lll_robust_cond_lock): Likewise.
33716         (__lll_timedlock): Likewise.
33717         (__lll_robust_timedlock): Likewise.
33718         (__lll_unlock): Likewise.
33719         (__lll_robust_unlock): Likewise.
33720         (lll_wait_tid): Likewise.
33721         (lll_timedwait_tid): Likewise.
33723 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33725         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33727 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33729         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33731 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33733         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33734         * stdio-common/tst-sprintf.c: Likewise.
33736 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33738         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33740 2014-12-15  Jeff Law  <law@redhat.com>
33742         [BZ #16617]
33743         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33744         on the heap.  (CVE-2012-3406)
33745         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33746         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33747         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33749 2014-12-15  Will Newton  <will.newton@linaro.org>
33751         * manual/install.texi: Bump required version of texinfo
33752         to 4.7 from 4.5.
33753         * INSTALL: Regenerated.
33754         * configure.ac: Check for makeinfo version 4.7 and above.
33755         * configure: Regenerated.
33757 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33759         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33760         PREFIX, string constant to insert between directory and name.
33761         * sysdeps/posix/shm_open.c: Update caller.
33762         * sysdeps/posix/shm_unlink.c: Likewise.
33763         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33764         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33765         (SEM_SHM_PREFIX): New macro.
33766         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33767         [$(have-thread-library) = no].
33768         * nptl/Makefile (libpthread-routines): Add shm-directory.
33769         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33770         * sysdeps/nptl/shm-directory.h: New file.
33771         * sysdeps/posix/shm-directory.c
33772         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33773         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33774         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33775         INTERNAL_SYSCALL.
33776         (__where_is_shmfs): Function removed.
33777         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33778         Variables removed.
33779         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33780         Use SHM_GET_NAME.
33781         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33783         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33784         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33785         unconditional for use inside libpthread.
33786         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33788 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33790         * nptl/pthread_getaffinity.c: New file.
33791         * nptl/pthread_setaffinity.c: New file.
33792         * nptl/pthread_getname.c: New file.
33793         * nptl/pthread_setname.c: New file.
33795         * nptl/pthread_create.c (START_THREAD_DEFN)
33796         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33798 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33801         * resolv/res_send.c (send_vc): Disable warning resplen may
33802         be used uninitialized.
33804 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33806         * nptl/tst-mutex6.c
33807         (ATTR_NULL): New define checks ATTR against NULL.
33808         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33809         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33811 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33813         [BZ #17581]
33814         * malloc/hooks.c
33815         (mem2mem_check): Revert my previous change.
33816         (malloc_check_get_size): Revert my previous change.
33817         (mem2chunk_check): Revert my previous change.
33819 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33821         * sysdeps/posix/shm-directory.c: New file.
33822         * sysdeps/posix/shm-directory.h: New file.
33823         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33824         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33825         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33826         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33827         Transmute EPERM to EACCES.
33828         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33829         from ...
33830         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33831         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33833 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33835         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33836         pointer and cast to uintptr_t.
33837         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33838         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33839         Add cast to avoid warning.
33840         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33842 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33844         * nptl/semaphore.h: Move to ...
33845         * sysdeps/pthread/semaphore.h: ... here.
33846         * Makefile (installed-headers): Change nptl/semaphore.h to
33847         sysdeps/pthread/semaphore.h.
33849 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33851         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33852         generated error format strings.
33854         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33855         -Wformat-extra-args warnings for scanf formats.
33856         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33857         test of zero-length format (duh).
33858         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33859         corner-case scanf format test.
33860         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33861         generated fprintf format string.
33862         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33863         corner-case sprintf format tests.
33864         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33865         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33866         -Wformat-extra-args warnings throughout.
33867         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33868         (CFLAGS-scanf4.c): Likewise.
33869         (CFLAGS-scanf7.c): Likewise.
33870         (CFLAGS-tst-sprintf.c): Likewise.
33871         (CFLAGS-tst-printf.c): Likewise.
33872         (CFLAGS-tst-printfsz.c): Likewise.
33874 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33876         * include/cpio.h: New file.
33877         * include/fmtmsg.h: Likewise.
33879         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33880         corresponding format argument to size_t.
33881         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33882         arguments.
33883         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33884         corresponding format argument to size_t.
33885         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33886         arguments.
33887         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33888         corresponding format argument to size_t.
33889         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33890         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33891         (CFLAGS-tst-mbswcs2.c): Likewise.
33892         (CFLAGS-tst-mbswcs3.c): Likewise.
33893         (CFLAGS-tst-mbswcs4.c): Likewise.
33894         (CFLAGS-tst-mbswcs5.c): Likewise.
33895         (CFLAGS-tst-trans.c): Likewise.
33897 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33899         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33900         rather than assuming they won't contain any '%'s.
33902 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33904         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33905         inhibit_loop_to_libcall to avoid recursive calls.
33906         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33907         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33909 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33911         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33912         prototype.
33914 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33916         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33917         integer value instead of boolean.
33919 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33921         * malloc/malloc.c: Fix powerof2 check.
33923 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33925         * locale/programs/locfile.h (maybe_swap_uint32):
33926         Remove inline and add unused attribute.
33928 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33930         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33931         Truncating assembler expression to a .long expression.
33933 2014-12-11  Andreas Schwab  <schwab@suse.de>
33935         * elf/rtld.c (struct map_args): Constify str member.
33936         (do_preload): Constify fname argument.
33938 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33940         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33941         constants definition.
33943 2014-12-11  Andreas Schwab  <schwab@suse.de>
33945         [BZ #16657]
33946         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33947         FORCE_ELISION instead of DO_ELISION.
33948         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33949         Remove.
33950         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33951         Likewise.
33953         * iconvdata/gconv-modules: Remove duplicate entry.
33955 2014-12-11  Will Newton  <will.newton@linaro.org>
33957         Merge gettext 0.19.3 into intl/.
33959         This involves a number of cosmetic changes to comments
33960         and ANSI function definitions and prototypes throughout
33961         all the files. The gettext copyright header is used but
33962         with the date ranges taken from the glibc copy.
33964         * NEWS: Add gettext merge to 2.21.
33965         * intl/bindtextdom.c: Switch to gettext copyright.
33966         Use ANSI definitions and prototypes.
33967         Use gl_* locking primitives rather than __libc_* ones.
33968         Use __builtin_expect rather than __glibc_likely/unlikely.
33969         * intl/dcgettext.c: Switch to gettext copyright.
33970         Use ANSI definitions and prototypes.
33971         * intl/dcigettext.c: Switch to gettext copyright.
33972         Use ANSI definitions and prototypes.
33973         (INTDIV0_RAISES_SIGFPE): New define.
33974         Use gl_* locking primitives rather than __libc_* ones.
33975         Include eval-plural.h instead of plural-eval.c.
33976         Use __builtin_expect rather than __glibc_likely/unlikely.
33977         * intl/dcngettext.c: Switch to gettext copyright.
33978         Use ANSI definitions and prototypes.
33979         * intl/dgettext.c: Likewise.
33980         * intl/dngettext.c: Likewise.
33981         * intl/plural-eval.c: Renamed to...
33982         * intl/eval-plural.h: ...this.
33983         * intl/explodename.c: Switch to gettext copyright.
33984         Use ANSI definitions and prototypes.
33985         (_nl_explode_name): Use strchr instead of __rawmemchr.
33986         * intl/finddomain.c: Switch to gettext copyright.
33987         Use ANSI definitions and prototypes.
33988         Use gl_* locking primitives rather than __libc_* ones.
33989         (_nl_find_domain): Use malloc rather than alloca for
33990         allocation of temporary locale name.
33991         * intl/gettext.c: Switch to gettext copyright.
33992         Use ANSI definitions and prototypes.
33993         * intl/gettextP.h: Switch to gettext copyright.
33994         Use ANSI definitions and prototypes.
33995         Use gl_* locking primitives rather than __libc_* ones.
33996         * intl/gmo.h: Switch to gettext copyright.
33997         (struct sysdep_string): Move struct segment_pair outside of
33998         struct definition.
33999         * intl/hash-string.c: Use ANSI definitions and prototypes.
34000         * intl/hash-string.h: Switch to gettext copyright.
34001         Use ANSI definitions and prototypes.
34002         * intl/l10nflist.c: Switch to gettext copyright.
34003         Use ANSI definitions and prototypes.
34004         (_nl_normalize_codeset): Avoid integer overflow.
34005         * intl/loadinfo.h: Switch to gettext copyright.
34006         Use ANSI definitions and prototypes.
34007         (LIBINTL_DLL_EXPORTED): New define.
34008         (PATH_SEPARATOR): New define.
34009         * intl/loadmsgcat.c: Switch to gettext copyright.
34010         * intl/localealias.c: Switch to gettext copyright.
34011         Use ANSI definitions and prototypes.
34012         (_nl_expand_alias): Use PATH_SEPARATOR.
34013         * intl/ngettext.c: Switch to gettext copyright.
34014         Use ANSI definitions and prototypes.
34015         * intl/plural-exp.c: Likewise.
34016         * intl/plural-exp.h: Switch to gettext copyright.
34017         Use ANSI definitions and prototypes.
34018         (struct expression): Move definition of enum operator outside
34019         of struct definition.
34020         * intl/plural.c: Regenerate.
34021         * intl/plural.y: Switch to gettext copyright.
34022         Use ANSI definitions and prototypes.
34023         Port to bison 3.0.
34024         * intl/textdomain.c: Switch to gettext copyright.
34025         Use ANSI definitions and prototypes.
34026         Use gl_* locking primitives rather than __libc_* ones.
34028 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34030         * debug/warning-nop.c: Add used atrribute.
34032 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34034         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34036         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34037         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34038         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34040 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34041             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34043         [BZ #17634]
34044         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34045         Undefine after defining function.  Define as weak alias of
34046         __wcschr.  Use libc_hidden_weak.
34047         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34048         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34049         (libc_hidden_def): Also define __GI___wcschr alias.
34050         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34051         __wcschr and define as weak alias of __wcschr.
34052         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34053         __wcschr.
34054         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34055         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34056         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34057         libc_hidden_weak.  Do not use libc_hidden_def.
34058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34059         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34060         __GI___wcschr alias.
34061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34062         [IS_IN (libc)] (wcschr): Define as macro expanding to
34063         __redirect_wcschr.
34064         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34065         [IS_IN (libc)] (__wcschr_power6): Likewise.
34066         [IS_IN (libc)] (__wcschr_power7): Likewise.
34067         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34068         instead of wcschr.
34069         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34070         __libc_wcschr.
34071         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34072         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34073         __wcschr and define as weak alias of __wcschr.  Use
34074         libc_hidden_builtin_def.
34075         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34076         as weak alias of __wcschr.  Use libc_hidden_weak.
34077         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34078         wcschr.
34079         * time/era.c (_nl_init_era_entries): Likewise.
34080         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34081         variable.
34082         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34083         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34085 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34087         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34088         format for long int variable.
34090 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34092         [BZ #10672]
34093         * manual/search.texi: (Array Sort Function): Remove claim how to make
34094         qsort stable.
34096 2014-12-10  Andreas Schwab  <schwab@suse.de>
34098         [BZ #12847]
34099         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34100         user-controlled locks.
34102 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34104         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34105         register.
34107 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34109         * configure.ac (--disable-werror): New configure option.
34110         (enable_werror): New AC_SUBST.
34111         * configure: Regenerated.
34112         * config.make.in (enable-werror): New variable.
34113         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34114         -Wno-error=undef.
34115         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34116         * manual/install.texi (Configuring and compiling): Document
34117         --disable-werror.
34118         * INSTALL: Regenerated.
34119         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34120         (CFLAGS-tst-chk2.c): Likewise.
34121         (CFLAGS-tst-chk3.c): Likewise.
34122         (CFLAGS-tst-chk4.cc): Likewise.
34123         (CFLAGS-tst-chk5.cc): Likewise.
34124         (CFLAGS-tst-chk6.cc): Likewise.
34125         (CFLAGS-tst-lfschk1.c): Likewise.
34126         (CFLAGS-tst-lfschk2.c): Likewise.
34127         (CFLAGS-tst-lfschk3.c): Likewise.
34128         (CFLAGS-tst-lfschk4.cc): Likewise.
34129         (CFLAGS-tst-lfschk5.cc): Likewise.
34130         (CFLAGS-tst-lfschk6.cc): Likewise.
34132         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34133         (main): Disable -Wdeprecated-declarations around calls to
34134         register_printf_function.
34136         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34137         (do_test): Disable -Wdiv-by-zero around some calls to
34138         fwrite_unlocked and fread_unlocked.
34140         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34141         (DIAG_POP_NEEDS_COMMENT): Likewise.
34142         (_DIAG_STR1): Likewise.
34143         (_DIAG_STR): Likewise.
34144         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34145         * stdio-common/bug21.c: Include <libc-internal.h>.
34146         (do_test): Disable -Wformat around call to sscanf.
34147         * stdio-common/scanf14.c: Include <libc-internal.h>.
34148         (main): Disable -Wformat around some calls to scanf functions.
34150 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34152         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34154 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34156         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34157         stack variable alignment.
34159 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34161         [BZ #17682]
34162         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34163         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34164         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34165         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34166         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34167         __getrlimit instead of getrlimit.
34168         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34169         __gettimeofday instead of gettimeofday.
34170         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34171         Likewise.
34172         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34173         Likewise.
34174         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34175         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34176         Remove variable.
34177         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34178         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34180 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34182         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34183         for wide-character tests.
34185 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34187         * io/openat64.c: #include <libc-internal.h>
34188         (__openat64): Prototypify.  Use ignore_value on MODE.
34189         * io/openat.c: Likewise.
34190         * misc/reboot.c: #include <libc-internal.h>
34191         (reboot): Prototypify.  Use ignore_value on HOWTO.
34192         * misc/ptrace.c: #include <libc-internal.h>
34193         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34195 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34197         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34198         XPG4, UNIX98 and XOPEN2K.
34199         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34200         Remove variable.
34201         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34203 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34205         * libio/fileops.c: Use ISO C style for function definitions.
34206         * libio/iofopen.c: Likewise.
34207         * libio/wfileops.c: Likewise.
34209         [BZ #17653]
34210         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34211         offset on EOF.
34212         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34213         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34214         (fgets_func): Function pointer to fgets and fgetws.
34215         (do_ftell_test): Add test to verify ftell value after read
34216         EOF.
34217         (do_test): Set fgets_func.
34219         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34220         O_TRUNC flag for w and w+ modes.
34221         (do_rewind_test): Likewise.
34222         (do_ftell_test): Likewise.
34223         (do_write_test): Likewise.
34225         [BZ #17647]
34226         * libio/fileops.c (do_ftell): Seek only when there are
34227         unflushed writes.
34228         * libio/wfileops.c (do_ftell_wide): Likewise.
34229         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34230         test case.
34231         (do_one_test): Call it.
34233 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34235         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34236         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34237         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34238         Remove variable.
34239         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34240         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34241         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34243 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34245         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34246         Remove variable.
34247         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34249         [BZ #17668]
34250         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34251         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34252         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34253         __freeifaddrs.  Use libc_hidden_weak.
34254         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34255         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34256         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34257         __freeifaddrs.  Use libc_hidden_weak.
34258         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34259         __getifaddrs and define as weak alias of __getifaddrs.  Use
34260         libc_hidden_weak.
34261         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34262         __freeifaddrs.  Use libc_hidden_weak.
34263         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34264         Remove variable.
34265         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34266         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34268 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34270         [BZ #17601]
34271         * sysdeps/mips/start.S (__start): Use indirect jump to call
34272         __libc_start_main.
34274 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34276         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34278         * nptl/tst-mutex1.c: Include <stdbool.h>.
34279         [!ATTR] (ATTR_NULL): New macro.
34280         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34281         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34282         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34284         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34285         to char *.
34287         [BZ #17665]
34288         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34289         Change conditional to [__USE_MISC].
34291         [BZ #17664]
34292         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34293         fgets_unlocked.
34294         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34295         __fgets_unlocked.
34296         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34297         fgets_unlocked.
34298         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34299         Remove variable.
34300         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34301         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34302         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34303         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34304         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34305         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34306         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34307         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34308         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34310         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34312 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34315         Remove strpbrk objects.
34316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34317         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34318         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34319         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34320         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34321         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34324         Remove strcspn objects.
34325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34326         (__libc_ifunc_impl_list): Remove strcspn implementation.
34327         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34328         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34329         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34330         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34333         Remove strspn objetcs.
34334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34335         (__libc_ifunc_impl_list): Remove strspn implementation.
34336         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34337         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34338         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34339         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34341 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34343         [BZ #17581]
34344         * malloc/hooks.c
34345         (mem2mem_check): Add a terminator to the chain of checking blocks.
34346         (malloc_check_get_size): Use it here.
34347         (mem2chunk_check): Ditto.
34349 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34351         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34352         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34354 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34356         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34358         * nptl/nptl-init.c: Include libc-internal.h.
34359         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34361         * elf/ldconfig.c (search_dir): Expand comment.
34363 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34365         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34366         variable.
34367         (linknamespace-symlist-stdlibs-tests): Likewise.
34368         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34369         instead of $(objpfx)symlist-stdlibs.
34370         (linknamespace-libs-isoc): New variable.
34371         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34372         (linknamespace-libs-ISO): New variable.
34373         (linknamespace-libs-ISO99): Likewise.
34374         (linknamespace-libs-ISO11): Likewise.
34375         (linknamespace-libs-XPG3): Likewise.
34376         (linknamespace-libs-XPG4): Likewise.
34377         (linknamespace-libs-POSIX): Likewise.
34378         (linknamespace-libs-UNIX98): Likewise.
34379         (linknamespace-libs-XOPEN2K): Likewise.
34380         (linknamespace-libs-POSIX2008): Likewise.
34381         (linknamespace-libs-XOPEN2K8): Likewise.
34382         ($(objpfx)symlist-stdlibs): Replace by
34383         $(linknamespace-symlist-stdlibs-tests).  Use
34384         $(linknamespace-libs-$*) as set of libraries.
34385         ($(linknamespace-header-tests)): Update dependencies.  Use
34386         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34387         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34388         * conform/linknamespace.pl: Remove comment about considering
34389         definitions of symbols from irrelevant libraries.
34391 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34393         [BZ #13862]
34394         * elf/dl-tls.c: Include <atomic.h>.
34395         (oom): Remove #ifdef SHARED/#endif.
34396         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34397         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34398         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34399         big enough.
34400         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34401         * nptl/Makefile (tests): Add tst-stack4.
34402         (modules-names): Add tst-stack4mod.
34403         ($(objpfx)tst-stack4): New.
34404         (tst-stack4mod.sos): Likewise.
34405         ($(objpfx)tst-stack4.out): Likewise.
34406         ($(tst-stack4mod.sos)): Likewise.
34407         (clean): Likewise.
34408         * nptl/tst-stack4.c: New file.
34409         * nptl/tst-stack4mod.c: Likewise.
34411 2014-11-27  J. Brown  <jb999@gmx.de>
34413         * sysdeps/x86/bits/string.h: Add recent CPUs.
34415 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34417         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34418         sigblock.
34420         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34421         feof.
34423         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34424         variable.
34426 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34428         * nscd/connections.c: Include libc-internal.h because of macro
34429         usage ignore_value.
34431 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34433         * string/bits/string3.h (__warn_memset_zero_len): Don't
34434         declare for gcc newer than 5.0.
34435         (memset): Don't test for zero-length __LEN for gcc newer than
34436         5.0.
34438 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34440         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34441         size_t for %zu format.
34443         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34444         difference, not %ju.
34446 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34448         * include/libc-internal.h (ignore_value): New macro.
34449         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34450         with ignore_value.
34452         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34453         definition.
34455         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34456         pthread_cleanup_push to void *.
34458         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34459         Undefine.
34461         [BZ #16619]
34462         [BZ #16740]
34463         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34464         instead of 1L << 52.
34466         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34467         * libio/bug-rewind2.c (do_test): Likewise.
34469         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34470         * debug/test-strcpy_chk-ifunc.c: Likewise.
34471         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34472         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34473         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34474         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34475         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34476         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34477         * Rules [$(multi-arch) = no] (tests): Do not filter out
34478         $(tests-ifunc).
34479         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34480         * debug/Makefile (tests-ifunc): Remove variable.
34481         (tests): Do not add $(tests-ifunc).
34482         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34483         (tests): Do not add $(tests-ifunc).
34484         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34485         [TEST_IFUNC]: Remove conditionals.
34486         * string/test-string.h (TEST_IFUNC): Remove macro.
34487         [TEST_IFUNC]: Remove conditionals.
34489         * string/test-strchr.c [!WIDE] (L): New macro.
34490         [WIDE] (L): Likewise.
34491         (check1): Use CHAR instead of char.  Use L on string and character
34492         constants.
34494 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34496         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34497         tests.
34498         * sysdeps/powerpc/bits/atomic.h
34499         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34500         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34501         (atomic_exchange_and_add_acq): Likewise.
34502         (atomic_exchange_and_add_rel): Likewise.
34503         * sysdeps/powerpc/powerpc32/bits/atomic.h
34504         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34505         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34506         * sysdeps/powerpc/powerpc64/bits/atomic.h
34507         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34508         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34510 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34512         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34513         Change synchronization of __sched_fifo_min_prio and
34514         __sched_fifo_max_prio.
34515         * nptl/pthread_mutexattr_getprioceiling.c
34516         (pthread_mutexattr_getprioceiling): Likewise.
34517         * nptl/pthread_mutexattr_setprioceiling.c
34518         (pthread_mutexattr_setprioceiling): Likewise.
34519         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34520         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34521         Likewise.
34523 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34525         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34526         void.
34528 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34530         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34531         third argument const.
34533 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34535         fnmatch: work around GCC compiler warning bug with uninit var
34536         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34537         This works around a bug with x86-64 GCC 4.9.2 and earlier
34538         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34539         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34540         used uninitialized in this function [-Wmaybe-uninitialized]".
34542 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34544         * posix/bug-regex31.c (main): Return RES not 0.
34546 2014-11-25  Anton Blanchard <anton@samba.org>
34548         * sysdeps/powerpc/bits/atomic.h
34549         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34551 2014-11-24  Sterling Augustine  <saugustine@google.com>
34553         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34555 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34557         [BZ #17608]
34558         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34560 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #17633]
34563         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34564         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34565         variable.
34566         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34567         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34569 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34571         * string/strncpy.c (strncpy): Improve performance by using memset.
34573 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34575         * string/strcpy.c (strcpy):
34576         Improve performance by using strlen and memcpy.
34578 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34580         * string/strcoll_l.c (get_next_seq): __always_inline.
34581         * string/strcoll_l.c (do_compare): __always_inline.
34583 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34585         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34586         defined.
34587         * include/mqueue.h: Likewise.
34588         * include/stdlib.h: Likewise.
34590         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34591         (get_null_defines): Adjust.
34592         * sunrpc/Makefile: Adjust comment.
34593         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34594         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34595         (CFLAGS-interp.c): Likewise.
34596         (CFLAGS-ldconfig.c): Likewise.
34597         (CPPFLAGS-.os): Likewise.
34598         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34599         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34600         * extra-modules.mk (extra-modules.mk): Likewise.
34601         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34602         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34603         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34604         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34605         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34606         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34607         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34608         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34609         * iconvdata/Makefile (CPPFLAGS): Likewise.
34610         (cpp-srcs-left): Add libof for all iconvdata routines.
34611         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34612         * include/assert.h: Likewise.
34613         * include/ctype.h: Likewise.
34614         * include/errno.h: Likewise.
34615         * include/libc-symbols.h: Likewise.
34616         * include/math.h: Likewise.
34617         * include/netdb.h: Likewise.
34618         * include/resolv.h: Likewise.
34619         * include/stdio.h: Likewise.
34620         * include/stdlib.h: Likewise.
34621         * include/string.h: Likewise.
34622         * include/sys/stat.h: Likewise.
34623         * include/wctype.h: Likewise.
34624         * intl/l10nflist.c: Likewise.
34625         * libidn/idn-stub.c: Likewise.
34626         * libio/libioP.h: Likewise.
34627         * nptl/libc_multiple_threads.c: Likewise.
34628         * nptl/pthreadP.h: Likewise.
34629         * posix/regex_internal.h: Likewise.
34630         * resolv/res_hconf.c: Likewise.
34631         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34632         * sysdeps/arm/memmove.S: Likewise.
34633         * sysdeps/arm/sysdep.h: Likewise.
34634         * sysdeps/generic/_itoa.h: Likewise.
34635         * sysdeps/generic/symbol-hacks.h: Likewise.
34636         * sysdeps/gnu/errlist.awk: Likewise.
34637         * sysdeps/gnu/errlist.c: Likewise.
34638         * sysdeps/i386/i586/memcpy.S: Likewise.
34639         * sysdeps/i386/i586/memset.S: Likewise.
34640         * sysdeps/i386/i686/memcpy.S: Likewise.
34641         * sysdeps/i386/i686/memmove.S: Likewise.
34642         * sysdeps/i386/i686/mempcpy.S: Likewise.
34643         * sysdeps/i386/i686/memset.S: Likewise.
34644         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34645         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34646         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34647         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34648         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34649         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34650         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34651         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34652         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34654         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34655         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34656         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34657         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34658         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34660         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34661         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34662         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34663         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34664         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34665         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34666         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34667         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34668         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34669         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34670         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34671         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34672         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34673         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34674         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34675         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34677         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34679         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34680         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34681         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34682         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34683         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34684         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34685         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34686         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34687         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34688         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34689         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34690         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34691         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34692         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34693         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34694         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34695         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34696         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34697         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34698         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34699         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34700         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34701         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34702         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34703         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34704         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34705         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34706         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34707         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34708         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34709         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34710         * sysdeps/posix/closedir.c: Likewise.
34711         * sysdeps/posix/opendir.c: Likewise.
34712         * sysdeps/posix/readdir.c: Likewise.
34713         * sysdeps/posix/rewinddir.c: Likewise.
34714         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34715         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34716         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34717         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34718         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34725         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34726         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34727         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34728         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34729         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34730         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34731         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34732         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34734         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34735         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34736         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34739         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34741         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34742         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34749         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34750         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34751         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34752         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34753         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34754         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34755         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34756         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34757         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34758         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34759         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34760         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34761         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34762         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34763         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34764         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34765         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34766         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34768         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34769         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34771         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34772         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34773         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34774         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34775         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34776         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34777         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34778         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34779         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34780         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34781         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34782         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34783         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34784         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34785         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34786         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34787         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34788         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34789         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34790         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34791         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34792         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34793         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34794         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34795         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34796         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34797         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34798         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34799         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34800         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34801         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34802         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34803         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34804         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34805         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34806         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34808         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34810         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34811         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34812         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34813         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34814         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34815         * sysdeps/unix/alpha/sysdep.S: Likewise.
34816         * sysdeps/unix/alpha/sysdep.h: Likewise.
34817         * sysdeps/unix/make-syscalls.sh: Likewise.
34818         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34820         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34821         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34822         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34823         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34824         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34825         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34826         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34827         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34828         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34829         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34831         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34833         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34834         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34835         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34836         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34837         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34838         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34839         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34840         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34841         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34842         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34843         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34844         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34847         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34848         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34852         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34853         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34856         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34857         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34858         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34859         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34860         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34861         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34862         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34863         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34865         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34868         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34869         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34870         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34871         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34872         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34874         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34876         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34877         * sysdeps/x86_64/memcpy.S: Likewise.
34878         * sysdeps/x86_64/memmove.c: Likewise.
34879         * sysdeps/x86_64/memset.S: Likewise.
34880         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34881         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34882         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34883         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34884         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34885         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34886         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34887         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34888         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34889         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34890         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34891         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34892         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34893         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34894         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34895         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34896         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34897         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34898         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34899         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34900         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34901         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34902         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34903         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34904         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34905         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34906         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34907         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34908         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34909         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34910         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34911         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34912         * sysdeps/x86_64/strcmp.S: Likewise.
34914         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34916         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34917         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34918         * elf/rtld-Rules: Likewise.
34919         * elf/setup-vdso.h: Likewise.
34920         * include/assert.h: Likewise.
34921         * include/bits/stdlib-float.h: Likewise.
34922         * include/errno.h: Likewise.
34923         * include/sys/stat.h: Likewise.
34924         * include/unistd.h: Likewise.
34925         * sysdeps/aarch64/setjmp.S: Likewise.
34926         * sysdeps/alpha/setjmp.S: Likewise.
34927         * sysdeps/arm/__longjmp.S: Likewise.
34928         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34929         * sysdeps/arm/setjmp.S: Likewise.
34930         * sysdeps/arm/sysdep.h: Likewise.
34931         * sysdeps/generic/_itoa.h: Likewise.
34932         * sysdeps/generic/dl-sysdep.h: Likewise.
34933         * sysdeps/generic/ldsodefs.h: Likewise.
34934         * sysdeps/i386/dl-tls.h: Likewise.
34935         * sysdeps/i386/setjmp.S: Likewise.
34936         * sysdeps/m68k/setjmp.c: Likewise.
34937         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34938         * sysdeps/mach/hurd/opendir.c: Likewise.
34939         * sysdeps/posix/getcwd.c: Likewise.
34940         * sysdeps/posix/opendir.c: Likewise.
34941         * sysdeps/posix/profil.c: Likewise.
34942         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34943         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34945         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34946         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34947         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34949         * sysdeps/s390/dl-tls.h: Likewise.
34950         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34951         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34952         * sysdeps/sh/sh3/setjmp.S: Likewise.
34953         * sysdeps/sh/sh4/setjmp.S: Likewise.
34954         * sysdeps/unix/alpha/sysdep.h: Likewise.
34955         * sysdeps/unix/arm/sysdep.S: Likewise.
34956         * sysdeps/unix/i386/sysdep.S: Likewise.
34957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34958         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34959         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34960         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34961         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34962         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34963         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34964         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34965         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34966         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34967         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34968         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34969         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34972         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34975         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34976         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34977         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34978         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34980         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34981         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34984         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34985         * sysdeps/x86_64/setjmp.S: Likewise.
34987         * include/math.h: Use IS_IN instead of IS_IN_libm.
34988         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34989         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34990         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34991         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34992         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34993         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34994         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34995         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34996         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34997         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34998         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34999         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35000         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35001         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35002         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35003         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35004         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35005         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35006         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35007         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35008         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35009         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35010         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35011         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35012         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35013         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35014         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35015         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35016         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35017         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35018         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35019         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35020         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35022         Likewise.
35023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35024         Likewise.
35025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35026         Likewise.
35027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35028         Likewise.
35029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35030         Likewise.
35031         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35032         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35033         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35034         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35035         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35036         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35042         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35043         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35044         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35045         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35046         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35047         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35048         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35049         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35050         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35051         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35052         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35053         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35054         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35055         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35057         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35059         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35060         * nptl/pthreadP.h: Likewise.
35061         * nptl_db/structs.def: Likewise.
35062         * sysdeps/arm/sysdep.h: Likewise.
35063         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35064         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35065         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35066         * sysdeps/unix/alpha/sysdep.h: Likewise.
35067         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35068         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35069         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35070         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35071         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35072         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35074         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35075         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35076         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35077         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35078         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35079         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35080         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35085         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35088         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35089         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35090         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35091         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35092         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35094         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35095         * nptl/pthreadP.h: Likewise.
35096         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35097         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35098         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35099         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35100         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35101         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35102         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35103         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35105         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35106         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35107         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35109         Likewise.
35110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35111         Likewise.
35112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35114         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35117         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35118         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35119         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35121         * dlfcn/dladdr.c: Use IS_IN.
35122         * dlfcn/dladdr1.c: Likewise.
35123         * dlfcn/dlclose.c: Likewise.
35124         * dlfcn/dlerror.c: Likewise.
35125         * dlfcn/dlinfo.c: Likewise.
35126         * dlfcn/dlmopen.c: Likewise.
35127         * dlfcn/dlopen.c: Likewise.
35128         * dlfcn/dlsym.c: Likewise.
35129         * dlfcn/dlvsym.c: Likewise.
35131         * include/ifaddrs.h: Use IS_IN.
35132         * inet/check_pf.c: Likewise.
35133         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35134         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35136         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35137         IS_IN_ldconfig.
35138         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35139         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35141         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35142         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35143         IS_IN (libc).
35145         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35147         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35148         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35149         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35150         * include/libc-symbols.h (IS_IN_LIB): New macro.
35151         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35152         * include/netdb.h: Likewise.
35153         * include/stap-probe.h: Remove all uses of IN_LIB.
35155         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35156         instead of IN_MODULE.
35157         * include/libc-symbols.h (IN_MODULE): Define using
35158         MODULE_NAME.
35159         (PASTE_NAME, PASTE_NAME1): New macros.
35160         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35161         of IN_LIB.
35162         (STAP_PROBE_ASM): Likewise.
35164 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35166         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35167         __mach_init in dlopened libc.
35169 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35171         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35172         * sysdeps/arm/preconfigure: Regenerate.
35174 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35176         * nptl/pthread_create.c (__pthread_create_2_1): Set
35177         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35178         when copying values from IATTR into PD.
35180 2014-11-21  Will Newton  <will.newton@linaro.org>
35181             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35183         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35184         Refactor inline-asm.  Also add comment.
35186         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35187         ElfW macro instead of hardcoded Elf64 types.
35188         (la_aarch64_gnu_pltenter): Likewise.
35189         * sysdeps/aarch64/dl-machine.h
35190         (elf_machine_runtime_setup): Use ElfW(Addr).
35192         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35193         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35194         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35195         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35196         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35197         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35198         (R_AARCH64_TLS_DTPMOD): This.
35199         (R_AARCH64_TLS_DTPREL64): Rename to ...
35200         (R_AARCH64_TLS_DTPREL): This.
35201         (R_AARCH64_TLS_TPREL64): Rename to ...
35202         (R_AARCH64_TLS_TPREL): This.
35203         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35204         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35205         R_AARCH64_TLS_TPREL64.
35206         (elf_machine_rela): Likewise.
35208 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35210         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35211         by setting it to 0.  64b atomics are not supported currently.
35213 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35215         [BZ #16469]
35216         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35217         search domain names.
35219 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35221         [BZ #16469]
35222         * NEWS: Update.
35223         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35224         trailing dot.
35225         * posix/tst-getaddrinfo5.c: New.
35226         * posix/Makefile (tests): Add it.
35228 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35230         [BZ #14498]
35231         * NEWS: Fixed.
35232         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35233         after parsing line but before break_if_match.
35234         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35235         if there is a protocol mismatch.
35237 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35239         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35240         because the potential race is on the user-supplied stream.
35242 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35244         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35245         string literal if not passed a buffer.
35246         * manual/job.texi (ctermid): Update reasoning, note deviation
35247         from posix, suggest mtasurace when not passed a buffer, for
35248         future non-preliminary safety notes.
35250 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35252         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35253         of not passing it a buffer.
35254         Reported by Peng Haitao.
35256 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35258         * manual/Makefile ($(objpfx)stamp-summary): Require
35259         check-safety.sh to pass.
35260         * manual/check-safety.sh: Wish for verification that every
35261         @deftypefn and @deftypefun is followed by a @safety remark.
35263 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35265         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35267         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35268         PTHREAD_CANCEL_ASYNCHRONOUS.
35269         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35270         send SIGCANCEL.
35272         * nptl/default-sched.h: New file.
35273         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35274         * nptl/pthread_create.c: Include it.
35275         (__pthread_create_2_1): Use collect_default_sched instead of making
35276         Linux syscalls here directly.
35278 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35280         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35281         __pthread_once): Use C11 atomics.
35283 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35285         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35287 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35289         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35290         atomic_thread_fence_acquire, atomic_thread_fence_release,
35291         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35292         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35293         atomic_compare_exchange_weak_relaxed,
35294         atomic_compare_exchange_weak_acquire,
35295         atomic_compare_exchange_weak_release,
35296         atomic_exchange_acquire, atomic_exchange_release,
35297         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35298         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35299         atomic_fetch_and_acquire,
35300         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35302 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35304         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35305         USE_ATOMIC_COMPILER_BUILTINS): Define.
35306         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35308         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35310         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35312         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35314         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35316         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35318         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35320         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35322         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35324         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35326         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35328         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35330         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35332         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35334         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35336         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35338         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35340         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35341         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35342         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35344         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35347 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35349         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35350         the sched_priority value here.  It was already checked when the user
35351         called pthread_attr_setschedparam.
35353         * nptl/tst-bad-schedattr.c: New file.
35354         * nptl/Makefile (tests): Add it.
35356 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35357             Florian Weimer  <fweimer@redhat.com>
35358             Joseph Myers  <joseph@codesourcery.com>
35359             Adam Conrad  <adconrad@0c3.net>
35360             Andreas Schwab  <schwab@suse.de>
35361             Brooks  <bmoses@google.com>
35363         [BZ #17625]
35364         * wordexp-test.c (__dso_handle): Add prototype.
35365         (__register_atfork): Likewise.
35366         (__app_register_atfork): New function.
35367         (registered_forks): New global.
35368         (register_fork): New function.
35369         (test_case): Add 3 new tests for WRDE_CMDSUB.
35370         (main): Call __app_register_atfork.
35371         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35372         fork count is non-zero fail the test.
35373         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35374         is set.
35375         (parse_dollars): Remove check for WRDE_NOCMD.
35376         (parse_dquote): Likewise.
35378 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35380         * Makeconfig (built-modules): List non-library modules to be
35381         built.
35382         (module-cppflags): Include libc-modules.h for
35383         everything except shlib-versions.v.i.
35384         (CPPFLAGS): Use it.
35385         (before-compile): Add libc-modules.h.
35386         ($(common-objpfx)libc-modules.h,
35387         $(common-objpfx)libc-modules.stmp): New targets.
35388         (common-generated): Add libc-modules.h and libc-modules.stmp.
35389         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35390         * include/libc-symbols.h: Don't include libc-modules.h.
35391         * include/libc-modules.h: Remove file.
35392         * scripts/gen-libc-modules.awk: New script to generate
35393         libc-modules.h.
35394         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35395         Depend on libc-modules.stmp.
35397         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35399         * Makeconfig (in-module): Get value of libof set for the
35400         translation unit.
35401         (CPPFLAGS): Use $(in-module).
35402         * Makerules: Don't suffix routine names for nonlib.
35403         * include/libc-modules.h: New file.
35404         * include/libc-symbols.h: Include libc-modules.h
35405         (IS_IN): New macro to replace IS_IN_* macros.
35406         * elf/Makefile: Set libof-* for each routine.
35407         * elf/rtld-Rules: Likewise.
35408         * extra-modules.mk: Likewise.
35409         * iconv/Makefile: Likewise.
35410         * iconvdata/Makefile: Likewise.
35411         * locale/Makefile: Likewise.
35412         * malloc/Makefile: Likewise.
35413         * nss/Makefile: Likewise.
35414         * sysdeps/gnu/Makefile: Likewise.
35415         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35416         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35417         * sysdeps/s390/s390-64/Makefile: Likewise.
35418         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35419         CPPFLAGS for nscd instead of nonlib.
35421 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35423         * nptl/createthread.c: New file.
35425         * nptl/createthread.c: Moved ...
35426         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35428         * nptl/createthread.c: Add proper top-line comment.
35429         (do_clone): Folded into ...
35430         (create_thread): ... here.  Take new arguments STOPPED_START and
35431         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35432         increment __nptl_threads, do event-reporting logic, do
35433         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35434         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35435         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35436         just send SIGCANCEL.
35437         * nptl/pthread_create.c: Forward-declare create_thread before
35438         including createthread.c.
35439         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35440         declaration, and new macro START_THREAD_SELF to replace argument.
35441         Remove return statement.
35442         (report_thread_creation): New function.
35443         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35444         synchronization logic, and __nptl_nthreads increment here, around
35445         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35446         PD->parent_cancelhandling here, before create_thread.  When
35447         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35448         __deallocate_stack, and ENOMEM translation here.
35450 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35452         [BZ #17616]
35453         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35454         (mptwo): Rename to __mptwo.
35455         (__inv): Use __mptwo instead of mptwo.
35456         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35457         (mptwo): Rename to __mptwo.
35458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35459         of mpone and __mptwo instead of mptwo.
35460         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35461         instead of mpone.
35462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35463         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35464         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35465         of mpone and __mptwo instead of mptwo.
35466         (__mpranred): Use __mpone instead of mpone.
35467         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35468         variable.
35469         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35470         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35471         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35472         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35473         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35474         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35475         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35476         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35477         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35478         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35479         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35480         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35481         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35482         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35483         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35484         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35485         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35486         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35487         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35489 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35491         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35492         replace BSD Handler xref with BSD Signal Handling.
35494 2014-11-17  Richard Henderson  <rth@redhat.com>
35496         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35497         (_FP_PACK_RAW_2): Remove.
35498         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35499         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35500         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35501         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35502         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35503         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35504         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35505         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35506         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35507         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35508         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35509         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35510         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35511         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35512         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35513         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35515 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35517         * signal/signal.h [__USE_MISC]
35518         (struct sigvec): Remove type.
35519         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35520         (sigvec): Remove declaration.
35521         * sysdeps/posix/sigvec.c: Moved ...
35522         * signal/sigvec.c: ... here, replacing old file.
35523         (struct sigvec): New type, copied from old signal.h definition.
35524         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35525         (__sigvec): Convert definition to prototype.
35526         (sigvec): Replace weak_alias with compat_symbol.
35527         * signal/Versions (libc: GLIBC_2.21): New version set.
35528         * include/signal.h: Remove __sigvec declaration.
35529         * sysdeps/unix/bsd/sigvec.c: Remove file.
35530         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35531         * manual/signal.texi (BSD Handler): Remove subsection.
35532         Move siginterrupt up to ...
35533         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35534         (Blocking in BSD): Fold subsection into its parent.
35535         * NEWS: Mention sigvec removal.
35537 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35539         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35540         (DLA_FMS): Make definition conditional only on [__FMA4__].
35541         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35542         definition.
35544         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35545         Make definition conditional only on [PROF].
35546         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35547         definition.
35548         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35549         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35551         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35552         !__GNUC__].
35553         * include/signal.h (__sigpause): Move declaration above call to
35554         libc_hidden_proto.
35555         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35556         variable.
35557         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35558         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35560 2014-11-14  David S. Miller  <davem@davemloft.net>
35562         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35563         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35565 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35567         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35568         * configure: Regenerated.
35569         * manual/install.texi (Tools for Compilation): Document a
35570         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35571         compiler verified to work.
35572         * INSTALL: Regenerated.
35574         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35575         redeclare with asm name.
35576         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35577         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35578         including <string.h>.
35579         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35580         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35581         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35582         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35583         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35584         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35585         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35587 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35589         * stdlib/strtol.c (__strtol): Use prototype definition.
35591         [BZ #17594]
35592         * stdlib/strtol.c (SYM__): New macro.
35593         (SYM__1): Likewise.
35594         (__strtol): Likewise.
35595         (strtol): Rename to __strtol and define as weak alias of
35596         __strtol.  Use libc_hidden_weak.
35598 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35600         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35601         Use numbered labels in inline assembly.
35603 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35605         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35606         Add setjmp LIBC_PROBE.
35607         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35608         Likewise.
35609         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35610         Add longjmp, longjmp_target LIBC_PROBE.
35611         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35612         Likewise.
35614 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35616         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35617         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35618         to get rid of unused variable warning.
35620 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35622         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35623         Check for unwind_backtrace ==  NULL only in SHARED case.
35624         (__backchain_backtrace): Compile only in SHARED case.
35625         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35626         Likewise.
35627         (__backchain_backtrace): Declare as static.
35629 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35631         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35632         (__libc_multiple_threads_ptr): Variable moved ...
35633         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35635 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35637         * conform/GlibcConform.pm: New file.
35638         * conform/conformtest.pl: Use GlibcConform module.
35639         * conform/linknamespace.pl: New file.
35640         * conform/list-header-symbols.pl: Likewise.
35641         * conform/Makefile (linknamespace-symlists-base): New variable.
35642         (linknamespace-symlists-tests): Likewise.
35643         (linknamespace-header-base): Likewise.
35644         (linknamespace-header-tests): Likewise.
35645         (tests-special): Add new tests.
35646         ($(linknamespace-symlists-tests)): New rule.
35647         (linknamespace-libs): New variable.
35648         ($(objpfx)symlist-stdlibs): New rule.
35649         ($(linknamespace-header-tests)): Likewise.
35650         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35651         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35652         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35653         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35654         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35655         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35656         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35657         (test-xfail-ISO/math.h/linknamespace): Likewise.
35658         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35659         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35660         (test-xfail-ISO/time.h/linknamespace): Likewise.
35661         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35662         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35663         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35664         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35665         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35666         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35667         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35668         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35669         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35670         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35671         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35672         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35673         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35674         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35675         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35676         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35677         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35678         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35679         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35680         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35681         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35682         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35683         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35684         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35685         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35686         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35687         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35688         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35689         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35690         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35691         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35692         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35693         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35694         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35695         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35696         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35697         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35698         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35699         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35700         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35701         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35702         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35703         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35704         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35705         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35706         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35707         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35708         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35709         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35710         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35711         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35712         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35713         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35714         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35715         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35716         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35717         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35718         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35719         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35720         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35721         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35722         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35723         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35724         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35725         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35726         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35727         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35728         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35729         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35730         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35731         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35732         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35733         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35734         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35735         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35736         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35737         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35738         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35739         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35740         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35741         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35742         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35743         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35744         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35745         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35746         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35747         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35748         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35749         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35750         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35751         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35752         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35753         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35754         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35755         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35756         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35757         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35758         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35759         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35760         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35761         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35762         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35763         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35764         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35765         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35766         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35767         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35768         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35769         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35770         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35771         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35772         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35773         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35774         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35775         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35776         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35777         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35778         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35779         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35780         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35781         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35782         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35783         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35784         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35785         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35786         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35787         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35788         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35789         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35790         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35791         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35792         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35793         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35794         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35795         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35796         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35797         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35798         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35799         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35800         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35801         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35802         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35803         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35804         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35805         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35806         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35807         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35808         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35809         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35810         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35812         [BZ #17589]
35813         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35814         of fgets_unlocked.
35816         [BZ #17585]
35817         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35818         (memmem): Rename to __memmem and define as weak alias of
35819         __memmem.  Use libc_hidden_weak.
35820         (__memmem): Use libc_hidden_def.
35821         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35822         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35823         memmem.
35825         [BZ #17582]
35826         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35827         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35828         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35829         and define as weak alias of __fgets_unlocked.  Use
35830         libc_hidden_weak.
35831         (__fgets_unlocked): Use libc_hidden_def.
35832         * include/stdio.h (__fgets_unlocked): Declare.  Use
35833         libc_hidden_proto.
35834         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35835         __fgets_unlocked instead of fgets_unlocked.
35836         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35837         (GET_NPROCS_CONF_PARSER): Likewise.
35838         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35839         (GET_NPROCS_CONF_PARSER): Likewise.
35841         [BZ #17574]
35842         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35843         weak alias of __wmemset.  Use libc_hidden_weak.
35844         (__wmemset): Use libc_hidden_def.
35845         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35846         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35847         of wmemset.
35849         [BZ #17573]
35850         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35851         with asm name __mempcpy.
35852         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35854         [BZ #17572]
35855         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35856         and define as weak alias of __rawmemchr.
35857         (__rawmemchr): Do not define as strong alias of rawmemchr.
35859         [BZ #17571]
35860         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35861         alias of __qsort_r.
35862         (qsort): Call __qsort_r instead of qsort_r.
35863         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35864         (__qsort_r): Declare.  Call libc_hidden_proto.
35865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35866         instead of qsort_r.
35867         * nscd/gai.c (__qsort_r): Define to qsort_r.
35868         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35869         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35870         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35872         [BZ #17570]
35873         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35874         define as weak alias of __malloc_info.
35876         [BZ #17584]
35877         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35878         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35879         (__rewinddir): Use libc_hidden_def.
35880         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35881         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35882         (__rewinddir): Use libc_hidden_def.
35883         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35884         weak alias of __rewinddir.  Don't use libc_hidden_def.
35885         (__rewinddir): Use libc_hidden_def.
35886         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35887         (__rewinddir): Use libc_hidden_proto.
35888         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35889         rewinddir.
35890         (__getcwd): Use __rewinddir instead of rewinddir.
35892         [BZ #17583]
35893         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35894         alias of __fileno.  Use libc_hidden_weak.
35895         (__fileno): Use libc_hidden_def.
35896         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35897         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35898         alias of __ftello.
35899         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35900         __ftello.
35901         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35902         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35903         libc_hidden_def.
35904         (fread_unlocked): Don't use libc_hidden_ver.
35905         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35906         and define as weak alias of __fread_unlocked.  Don't use
35907         libc_hidden_def.
35908         (__fread_unlocked): Use libc_hidden_def.
35909         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35910         (ftello): Don't use libc_hidden_proto.
35911         (__ftello): Declare.  Use libc_hidden_proto.
35912         (fread_unlocked): Don't use libc_hidden_proto.
35913         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35914         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35915         and __ftello instead of fileno, fread_unlocked and ftello.
35917 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35919         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35920         GOT12.
35921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35922         Likewise.
35923         (_dl_start_user): Likewise.
35924         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35926 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35927             Siddhesh Poyarekar  <siddhesh@redhat.com>
35929         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35930         Move argv and envp down instead of moving argc up.
35931         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35933 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35935         [BZ #17506]
35936         * test-skeleton.c (main): Return successful if one of
35937         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35938         * string/tst-strcoll-overflow.c: Define expected status.
35940 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35942         [BZ #17475]
35943         * locale/iso-639.def: Define Bhili and Tulu language codes.
35945 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35947         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35949 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35951         [BZ #17555]
35952         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35954 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35956         * configure.ac: Updated check of minimal required version to
35957         2.22.
35958         * manual/install.texi (Tools for Compilation): Updated version
35959         number.
35960         * configure: Regenerated.
35961         * INSTALL: Likewise.
35963 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35965         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35966         __tls_get_addr.
35968 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35970         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35971         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35972         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35973         libc_hidden_weak.
35974         (waitpid): Define as alias of __waitpid.
35975         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35976         __waitpid.
35977         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35978         libc_hidden_weak.
35979         (waitpid): Define as alias of __waitpid.
35980         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35981         __libc_waitpid alias.
35982         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35983         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35984         Likewise.
35985         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35986         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35987         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35988         alias.
35989         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35990         __waitpid.
35991         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35992         libc_hidden_weak.
35993         (waitpid): Define as alias of __waitpid.
35995 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35997         * manual/llio.texi: Add comment that write safety has been
35998         fixed in Linux.
36000         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36001         (localplt-build-dso): Add elf/ld.so.
36002         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36003         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36004         and free for ld.so.
36005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36006         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36008         Likewise.
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36010         Likewise.
36011         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36012         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36013         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36014         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36015         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36016         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36017         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36018         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36019         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36021         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36023 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36025         [BZ #14132]
36026         * include/libc-symbols.h (INTUSE): Remove macro.
36027         (INTDEF): Likewise.
36028         (INTVARDEF): Likewise.
36029         (_INTVARDEF): Likewise.
36030         (INTDEF2): Likewise.
36031         (INTVARDEF2): Likewise.
36032         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36033         rtld_hidden_def instead of INTVARDEF.
36034         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36035         (_dl_starting_up_internal): Remove declaration.
36036         (_dl_starting_up): Use rtld_hidden_proto.
36037         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36038         declaration.
36039         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36040         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36041         _dl_starting_up.
36042         * elf/dl-writev.h (_dl_writev): Likewise.
36043         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36044         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36045         _dl_starting_up_internal.
36047 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36049         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36050         test-skeleton.c.
36052 2014-11-05  Will Newton  <will.newton@linaro.org>
36054         * benchtests/Makefile: (bench-malloc): Add malloc thread
36055         scalability benchmark.
36056         * benchtests/bench-malloc-threads.c: New file.
36058 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36060         * sysdeps/aarch64/strchrnul.S: New file.
36062 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36064         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36065         definition.
36066         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36067         Likewise.
36068         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36069         Likewise.
36070         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36071         Likewise.
36072         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36073         Likewise.
36074         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36075         Likewise.
36077 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36079         * catgets/test-gencat.c: Use test-skeleton.c.
36080         * catgets/tst-catgets.c: Likewise.
36081         * csu/tst-empty.c: Likewise.
36082         * elf/tst-audit2.c: Likewise.
36083         * elf/tst-global1.c: Likewise.
36084         * elf/tst-pathopt.c: Likewise.
36085         * elf/tst-piemod1.c: Likewise.
36086         * elf/tst-tls10.c: Likewise.
36087         * elf/tst-tls11.c: Likewise.
36088         * elf/tst-tls12.c: Likewise.
36089         * gnulib/tst-gcc.c: Likewise.
36090         * iconvdata/tst-e2big.c: Likewise.
36091         * iconvdata/tst-loading.c: Likewise.
36092         * iconv/tst-iconv1.c: Likewise.
36093         * iconv/tst-iconv2.c: Likewise.
36094         * inet/test-inet6_opt.c: Likewise.
36095         * inet/tst-gethnm.c: Likewise.
36096         * inet/tst-network.c: Likewise.
36097         * inet/tst-ntoa.c: Likewise.
36098         * intl/tst-codeset.c: Likewise.
36099         * intl/tst-gettext2.c: Likewise.
36100         * intl/tst-gettext3.c: Likewise.
36101         * intl/tst-ngettext.c: Likewise.
36102         * intl/tst-translit.c: Likewise.
36103         * io/test-stat.c: Likewise.
36104         * libio/test-fmemopen.c: Likewise.
36105         * libio/tst-freopen.c: Likewise.
36106         * libio/tst-sscanf.c: Likewise.
36107         * libio/tst-ungetwc1.c: Likewise.
36108         * libio/tst-ungetwc2.c: Likewise.
36109         * libio/tst-widetext.c: Likewise.
36110         * localedata/tst-ctype.c: Likewise.
36111         * localedata/tst-digits.c: Likewise.
36112         * localedata/tst-leaks.c: Likewise.
36113         * localedata/tst-mbswcs1.c: Likewise.
36114         * localedata/tst-mbswcs2.c: Likewise.
36115         * localedata/tst-mbswcs3.c: Likewise.
36116         * localedata/tst-mbswcs4.c: Likewise.
36117         * localedata/tst-mbswcs5.c: Likewise.
36118         * localedata/tst-setlocale.c: Likewise.
36119         * localedata/tst-trans.c: Likewise.
36120         * localedata/tst-wctype.c: Likewise.
36121         * localedata/tst-xlocale1.c: Likewise.
36122         * login/tst-grantpt.c: Likewise.
36123         * malloc/tst-calloc.c: Likewise.
36124         * malloc/tst-malloc.c: Likewise.
36125         * malloc/tst-mallocstate.c: Likewise.
36126         * malloc/tst-mcheck.c: Likewise.
36127         * malloc/tst-mtrace.c: Likewise.
36128         * malloc/tst-obstack.c: Likewise.
36129         * math/atest-exp2.c: Likewise.
36130         * math/atest-exp.c: Likewise.
36131         * math/atest-sincos.c: Likewise.
36132         * math/test-matherr.c: Likewise.
36133         * math/test-misc.c: Likewise.
36134         * math/test-powl.c: Likewise.
36135         * math/tst-definitions.c: Likewise.
36136         * misc/tst-dirname.c: Likewise.
36137         * misc/tst-efgcvt.c: Likewise.
36138         * misc/tst-fdset.c: Likewise.
36139         * misc/tst-hsearch.c: Likewise.
36140         * misc/tst-mntent2.c: Likewise.
36141         * nptl/tst-sem7.c: Likewise.
36142         * nptl/tst-sem8.c: Likewise.
36143         * nptl/tst-sem9.c: Likewise.
36144         * nss/test-netdb.c: Likewise.
36145         * posix/tst-fnmatch.c: Likewise.
36146         * posix/tst-getlogin.c: Likewise.
36147         * posix/tst-gnuglob.c: Likewise.
36148         * posix/tst-mmap.c: Likewise.
36149         * pwd/tst-getpw.c: Likewise.
36150         * resolv/tst-inet_ntop.c: Likewise.
36151         * rt/tst-timer.c: Likewise.
36152         * stdio-common/test-fseek.c: Likewise.
36153         * stdio-common/test-popen.c: Likewise.
36154         * stdio-common/test-vfprintf.c: Likewise.
36155         * stdio-common/tst-cookie.c: Likewise.
36156         * stdio-common/tst-fileno.c: Likewise.
36157         * stdio-common/tst-gets.c: Likewise.
36158         * stdio-common/tst-obprintf.c: Likewise.
36159         * stdio-common/tst-perror.c: Likewise.
36160         * stdio-common/tst-sprintf2.c: Likewise.
36161         * stdio-common/tst-sprintf3.c: Likewise.
36162         * stdio-common/tst-sprintf.c: Likewise.
36163         * stdio-common/tst-swprintf.c: Likewise.
36164         * stdio-common/tst-tmpnam.c: Likewise.
36165         * stdio-common/tst-unbputc.c: Likewise.
36166         * stdio-common/tst-wc-printf.c: Likewise.
36167         * stdlib/tst-environ.c: Likewise.
36168         * stdlib/tst-fmtmsg.c: Likewise.
36169         * stdlib/tst-limits.c: Likewise.
36170         * stdlib/tst-rand48-2.c: Likewise.
36171         * stdlib/tst-rand48.c: Likewise.
36172         * stdlib/tst-random2.c: Likewise.
36173         * stdlib/tst-random.c: Likewise.
36174         * stdlib/tst-strtol.c: Likewise.
36175         * stdlib/tst-strtoll.c: Likewise.
36176         * stdlib/tst-tls-atexit.c: Likewise.
36177         * stdlib/tst-xpg-basename.c: Likewise.
36178         * string/test-ffs.c: Likewise.
36179         * string/tst-bswap.c: Likewise.
36180         * string/tst-inlcall.c: Likewise.
36181         * string/tst-strtok.c: Likewise.
36182         * string/tst-strxfrm.c: Likewise.
36183         * sysdeps/x86_64/tst-audit10.c: Likewise.
36184         * sysdeps/x86_64/tst-audit3.c: Likewise.
36185         * sysdeps/x86_64/tst-audit4.c: Likewise.
36186         * sysdeps/x86_64/tst-audit5.c: Likewise.
36187         * time/tst-ftime_l.c: Likewise.
36188         * time/tst-getdate.c: Likewise.
36189         * time/tst-mktime3.c: Likewise.
36190         * time/tst-mktime.c: Likewise.
36191         * time/tst-posixtz.c: Likewise.
36192         * time/tst-strptime2.c: Likewise.
36193         * time/tst-strptime3.c: Likewise.
36194         * wcsmbs/tst-btowc.c: Likewise.
36195         * wcsmbs/tst-mbrtowc.c: Likewise.
36196         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36197         * wcsmbs/tst-wchar-h.c: Likewise.
36198         * wcsmbs/tst-wcpncpy.c: Likewise.
36199         * wcsmbs/tst-wcrtomb.c: Likewise.
36200         * wcsmbs/tst-wcsnlen.c: Likewise.
36201         * wcsmbs/tst-wcstof.c: Likewise.
36203 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36205         [BZ #14132]
36206         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36207         INTDEF.
36208         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36209         declaration.
36210         (_dl_mcount): Use rtld_hidden_proto.
36211         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36212         _dl_mcount.
36213         * elf/rtld.c (_rtld_global_ro): Likewise.
36215         [BZ #14132]
36216         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36217         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36218         of _dl_init_internal.
36219         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36220         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36221         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36222         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36223         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36224         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36225         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36226         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36227         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36228         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36229         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36230         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36231         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36232         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36233         * sysdeps/tile/dl-start.S (_start): Likewise.
36234         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36235         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36237         [BZ #14132]
36238         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36239         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36240         (rtld_progname): Make macro definition unconditional.
36241         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36242         INTDEF.
36243         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36244         (dl_main): Likewise.
36245         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36246         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36247         instead of _dl_argv_internal.
36248         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36249         __GI__dl_argv instead of INTUSE(_dl_argv).
36250         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36251         __GI__dl_argv instead of _dl_argv_internal.
36253         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36254         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36255         macro.
36256         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36257         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36258         New macro.
36259         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36260         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36261         macro.
36262         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36263         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36265 2014-11-04  Andreas Schwab  <schwab@suse.de>
36267         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36269 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36271         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36272         mtvsrd instruction in binary form.
36274 2014-11-03  Andreas Schwab  <schwab@suse.de>
36276         [BZ #17522]
36277         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36278         for less than MB_LEN_MAX use a local buffer of that size.
36279         * libio/tst-fputws.c: New file.
36280         * libio/Makefile (tests): Add tst-fputws.
36282 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36284         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36285         the size of the fpu_fr.fpu_dregs[] array.
36287 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36289         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36290         (__nanosleep): Do not define as alias.
36291         (nanosleep): Define as alias of __nanosleep.
36292         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36293         __libc_nanosleep name.
36295 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36297         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36298         install.texi in comment.
36300 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36302         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36303         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36304         ... add here and use lwsync or sync ...
36305         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36306         ... and add here using lwsync.
36308 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36310         * elf/dl-machine-reject-phdr.h: New file.
36311         * elf/dl-load.c: #include that.
36312         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36313         if that returned true.
36315 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36317         [BZ #17496]
36318         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36319         gen-as-const-headers chunk.  Add a big scare comment after the last
36320         safe place to touch before-compile.
36322 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36324         * manual/install.texi (Tools for Compilation): Update autoconf
36325         version requirements.
36326         * INSTALL: Regenerated.
36328         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36329         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36330         (__libc_pselect): Likewise.
36332         [BZ #14138]
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36338 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36340         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36341         correct barrier instruction.
36342         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36343         Likewise.
36344         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36345         Likewise.
36347 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36349         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36350         after defining inlines.  Instead, just use parens to defeat macro
36351         expansion of __isctype in its declaration.
36353 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36355         * include/sys/uio.h (__libc_readv): Remove declaration.
36356         (__libc_writev): Likewise.
36357         * misc/readv.c (__libc_readv): Rename to __readv.
36358         (__readv): Do not define as alias.
36359         (readv): Define as alias of __readv.
36360         * misc/writev.c (__libc_writev): Rename to __writev.
36361         (__writev): Do not define as alias.
36362         (writev): Define as alias of __writev.
36363         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36364         (__readv): Do not define as alias.
36365         (readv): Define unconditionally as alias of __readv.
36366         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36367         (__writev): Do not define as alias.
36368         (writev): Define unconditionally as alias of __writev.
36369         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36370         name.
36371         (writev): Do not define __libc_writev name.
36373 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36375         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36376         (convert_charseq): New function, broken out of ...
36377         (use_from_charmap): ... here.  Call it.
36378         (use_to_charmap): Use convert_charseq and free instead of duplicating
36379         its code with a variable-length stack struct.
36381 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36383         * include/fcntl.h (__libc_creat): Remove declaration.
36384         * io/creat.c (__libc_creat): Rename to creat.
36385         (creat): Do not define as alias.
36386         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36387         of creat instead of __libc_creat.
36388         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36389         to creat.
36390         (creat): Do not define as alias.
36391         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36392         __libc_creat.
36393         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36394         __libc_creat name.
36395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36396         Likewise.
36398 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36400         * manual/llio.texi: Add comments discussing why write() may be
36401         considered MT-unsafe on Linux.
36403 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36405         * dl-load.c (local_strdup): Remove.
36406         (expand_dynamic_string_token): Use __strdup.
36407         (decompose_rpath): Likewise.
36408         (_dl_map_object): Likewise.
36410 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36412         [BZ #14132]
36413         * sysdeps/generic/unwind-dw2-fde.c
36414         (__register_frame_info_bases_internal): Do not declare.
36415         (__register_frame_info_table_bases_internal): Likewise.
36416         (__deregister_frame_info_bases_internal): Likewise.
36417         (__register_frame_info_bases): Declare and use hidden_proto before
36418         definition.  Use hidden_def instead of INTDEF.
36419         (__register_frame_info_table_bases): Likewise.
36420         (__deregister_frame_info_bases): Likewise.
36421         (__register_frame_info): Do not use INTUSE.
36422         (__register_frame): Likewise.
36423         (__register_frame_info_table): Likewise.
36424         (__register_frame_table): Likewise.
36425         (__deregister_frame_info): Likewise.
36426         (__deregister_frame): Likewise.
36428 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36430         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36431         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36432         not undefine.
36433         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36434         Likewise.
36435         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36436         Likewise.
36438 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36440         [BZ #14138]
36441         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36442         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36443         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36444         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36445         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36446         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36447         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36448         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36449         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36450         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36451         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36452         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36453         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36454         syscall.
36455         (setfsuid): Likewise.
36456         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36457         (setfsuid): Likewise.
36458         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36459         (setfsuid): Likewise.
36460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36461         Likewise.
36462         (setfsuid): Likewise.
36463         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36464         (setfsuid): Likewise.
36465         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36466         Likewise.
36467         (setfsuid): Likewise.
36469 2014-10-27  Andreas Schwab  <schwab@suse.de>
36471         [BZ #17501]
36472         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36473         check for Slow_SSE4_2 feature bit.
36474         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36475         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36476         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36477         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36479 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36481         * configure.ac: Validate compiler version with a empirical test of
36482         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36483         $CC -v output.
36484         * configure: Regenerated.
36486         * inet/htons.c (htons): Prototypify.
36487         * inet/htonl.c (htonl): Likewise.
36489 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36491         * string/strncat.c (strncat): Improve performance by using strlen.
36493 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36495         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36497 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36499         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36500         Call libc_fetestexcept_aarch64.
36502 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36504         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36505         Call libc_feholdexcept_aarch64.
36507 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36509         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36510         Call get_rounding_mode.
36512 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36514         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36515         Simplify logic.
36517 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36519         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36520         Simplify logic.
36522 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36524         [BZ #14138]
36525         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36526         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36527         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36528         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36529         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36530         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36531         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36532         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36533         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36534         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36535         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36536         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36537         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36538         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36539         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36540         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36541         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36542         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36543         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36544         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36545         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36546         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36547         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36548         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36549         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36550         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36551         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36552         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36553         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36554         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36555         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36556         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36557         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36558         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36559         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36560         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36561         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36562         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36563         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36564         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36565         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36566         syscall.
36567         (geteuid): Likewise.
36568         (getgid): Likewise.
36569         (getuid): Likewise.
36570         (getresgid): Likewise.
36571         (getresuid): Likewise.
36572         (getgroups): Likewise.
36573         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36574         (geteuid): Likewise.
36575         (getgid): Likewise.
36576         (getuid): Likewise.
36577         (getresgid): Likewise.
36578         (getresuid): Likewise.
36579         (getgroups): Likewise.
36580         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36581         (geteuid): Likewise.
36582         (getgid): Likewise.
36583         (getuid): Likewise.
36584         (getresgid): Likewise.
36585         (getresuid): Likewise.
36586         (getgroups): Likewise.
36587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36588         Likewise.
36589         (geteuid): Likewise.
36590         (getgid): Likewise.
36591         (getuid): Likewise.
36592         (getresgid): Likewise.
36593         (getresuid): Likewise.
36594         (getgroups): Likewise.
36595         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36596         (geteuid): Likewise.
36597         (getgid): Likewise.
36598         (getuid): Likewise.
36599         (getresgid): Likewise.
36600         (getresuid): Likewise.
36601         (getgroups): Likewise.
36602         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36603         Likewise.
36604         (geteuid): Likewise.
36605         (getgid): Likewise.
36606         (getuid): Likewise.
36607         (getgroups): Likewise.
36609         [BZ #14138]
36610         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36611         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36612         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36614         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36615         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36616         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36617         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36618         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36619         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36620         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36621         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36622         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36623         __chown.
36624         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36625         (lchown): Likewise.
36626         (fchown): Likewise.
36627         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36628         Likewise.
36629         (lchown): Likewise.
36630         (fchown): Likewise.
36631         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36632         (lchown): Likewise.
36633         (fchown): Likewise.
36634         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36635         Likewise.
36636         (lchown): Likewise.
36637         (fchown): Likewise.
36639 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36641         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36642         Simplify logic.
36644 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36646         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36647         Cleanup logic.
36649 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36651         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36652         Remove unused include.
36654 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36656         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36657         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36658         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36659         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36661 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36662             Helge Deller <deller@gmx.de>
36664         [BZ #17508]
36665         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36666         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36667         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36669 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36671         [BZ #14132]
36672         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36673         Remove macro definition.
36674         (__ashrdi3_v_glibc20): Likewise.
36675         (__lshrdi3_v_glibc20): Likewise.
36676         (__cmpdi2_v_glibc20): Likewise.
36677         (__ucmpdi2_v_glibc20): Likewise.
36678         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36679         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36680         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36681         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36682         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36683         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36685 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36687         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36688         old GNU extension [0] syntax.
36689         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36690         alloca rather than an array member with variable length.
36691         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36692         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36693         (parse_opt): ... here.  Likewise use alloca there.
36694         Validate the -i argument before checking for rootness.
36695         (send_shutdown): New function, broken out of ...
36696         (parse_opt): ... here.
36698 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36700         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36701         macro to get at the _rt_local_ro field.
36702         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36703         ([PIC] case) or _dl_hwcap ([!PIC] case).
36704         * sysdeps/arm/setjmp.S: Likewise.
36706         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36707         * sysdeps/arm/configure.ac: New check to define it.
36708         * sysdeps/arm/configure: Regenerated.
36709         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36710         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36711         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36712         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36713         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36714         Use move/movt pair instead of a load.
36715         (LDST_GLOBAL): Macro removed.
36716         (LDR_GLOBAL): New macro replaces it.
36717         (LDR_HIDDEN): New macro.
36718         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36719         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36721         * setjmp/tst-setjmp-static.c: New file.
36722         * setjmp/Makefile (tests): Add it.
36723         (tests-static): New variable.
36725 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36727         [BZ #17485]
36728         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36730 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36732         [BZ #14132]
36733         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36735 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36737         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36739 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36741         * io/fts.c (dirent_not_directory): New function.
36742         (fts_build): Call it.
36744 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36746         * nptl/version.c (__nptl_main): Use normal __write rather than
36747         INTERNAL_SYSCALL.
36748         (banner): Update copyright years.
36750         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36751         gettimeofday.
36752         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36753         * nptl/pthread_cond_timedwait.c: Likewise.
36754         * nptl/pthread_mutex_timedlock.c: Likewise.
36755         * nptl/sem_timedwait.c: Likewise.
36757         * sysdeps/nptl/bits/libc-lock.h
36758         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36759         (__libc_lock_init_recursive): Return void, not 0.
36760         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36761         (__libc_rwlock_init): Likewise.
36762         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36764 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36766         [BZ #15215]
36767         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36768         (__pthread_once_slow): ... here.
36769         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36770         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36772 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36774         [BZ #15215]
36775         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36776         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36777         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36778         * nptl/pthread_once.c (__pthread_once): Likewise.
36779         Update comments.
36781 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #14138]
36784         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36785         name.
36786         (writev): Use __libc_writev as strong name.
36787         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36788         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36790 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36792         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36794         * sysdeps/i386/nptl/tls.h
36795         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36796         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36797         New macros.
36798         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36799         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36800         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36801         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36802         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36803         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36805         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36806         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36807         on [__NR_futex].
36808         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36809         broken out of ...
36810         (__pthread_mutex_init): ... here.  Call it.
36811         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36812         Conditionalize PI cases on [__NR_futex].
36813         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36814         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36815         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36817         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36818         conditional on [SIGSETXID].
36819         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36820         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36821         is defined.  Likewise for SIGSETXID.
36822         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36823         Conditionalize definitions on [SIGSETXID].
36824         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36825         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36826         unblocking on [SIGCANCEL].
36828         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36829         [__NR_set_robust_list].
36831 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36833         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36834         (do_compare): Likewise.
36836 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36838         [BZ #15884]
36839         * string/strcoll_l.c: Don't include stdio.h.
36840         (coll_seq): Remove members idxarr and rulearr.
36841         (get_next_seq_cached): Remove function.
36842         (get_next_seq): Likewise.
36843         (get_next_seq_nocache): Rename to get_next_seq.
36844         (do_compare): Remove function.
36845         (do_compare_nocache): Rename to do_compare.
36846         (STRCOLL): Remove weight and rules cache.
36848 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36850         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36851         * sysdeps/arm/sfp-machine.h: ... to here.
36852         * sysdeps/arm/Implies: Remove arm/soft-fp.
36854 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36856         * conform/data/sys/utsname.h-data (*_t): Allow.
36857         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36858         [POSIX] (WEXITED): Do not expect constant.
36859         [POSIX] (WSTOPPED): Likewise.
36860         [POSIX] (WNOHANG): Likewise.
36861         [POSIX] (WNOWAIT): Likewise.
36862         [POSIX] (siginfo_t): Do not expect type or elements.
36863         [POSIX] (pid_t): Do not expect type.
36864         [POSIX] (signal.h): Do not allow header.
36865         [POSIX] (sys/resource.h): Likewise.
36866         [POSIX] (si_*): Do not allow pattern.
36867         [POSIX] (W*): Likewise.
36868         [POSIX] (P_*): Likewise.
36869         [POSIX] (BUS_*): Likewise.
36870         [POSIX] (CLD_*): Likewise.
36871         [POSIX] (FPE_*): Likewise.
36872         [POSIX] (ILL_*): Likewise.
36873         [POSIX] (POLL_*): Likewise.
36874         [POSIX] (SEGV_*): Likewise.
36875         [POSIX] (SI_*): Likewise.
36876         [POSIX] (TRAP_*): Likewise.
36877         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36878         variable.
36880 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36882         [BZ #12926]
36883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36884         infinite loop when __recvmsg returns 0.
36886 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36888         * CANCEL-FCT-WAIVE: Remove file.
36889         * CANCEL-FILE-WAIVE: Likewise.
36891         [BZ #14132]
36892         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36893         instead of INTVARDEF.
36894         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36895         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36896         rtld_hidden_data_def instead of INTVARDEF.
36897         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36898         * elf/dl-deps.c (expand_dst): Likewise.
36899         * elf/dl-load.c (_dl_dst_count): Likewise.
36900         (_dl_dst_substitute): Likewise.
36901         (decompose_rpath): Likewise.
36902         (_dl_init_paths): Likewise.
36903         (open_path): Likewise.
36904         (_dl_map_object): Likewise.
36905         * elf/rtld.c (dl_main): Likewise.
36906         (process_dl_audit): Likewise.
36907         (process_envvars): Likewise.
36908         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36909         Remove declaration.
36910         (__libc_enable_secure): Use rtld_hidden_proto.
36912 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36914         * elf/dl-load.c
36915         (add_path): New function broken out of _dl_rtld_di_serinfo.
36916         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36918 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36920         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36921         parentheses around macro arguments.
36922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36933         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36935         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36936         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36937         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36938         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36951         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36956         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36957         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36958         Likewise.
36959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36966         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36967         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36968         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36969         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36970         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36971         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36980         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36981         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36984         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36985         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36986         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36987         (_FP_FRAC_SRS_1): Likewise.
36988         (_FP_FRAC_CLZ_1): Likewise.
36989         (_FP_MUL_MEAT_1_imm): Likewise.
36990         (_FP_MUL_MEAT_1_wide): Likewise.
36991         (_FP_MUL_MEAT_1_hard): Likewise.
36992         (_FP_SQRT_MEAT_1): Likewise.
36993         (_FP_FRAC_ASSEMBLE_1): Likewise.
36994         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36995         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36996         (__FP_CLZ_2): Likewise.
36997         (_FP_MUL_MEAT_2_wide): Likewise.
36998         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36999         (_FP_MUL_MEAT_2_gmp): Likewise.
37000         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37001         (_FP_SQRT_MEAT_2): Likewise.
37002         (_FP_FRAC_ASSEMBLE_2): Likewise.
37003         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37004         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37005         (_FP_FRAC_CLZ_4): Likewise.
37006         (_FP_MUL_MEAT_4_wide): Likewise.
37007         (_FP_MUL_MEAT_4_gmp): Likewise.
37008         (_FP_SQRT_MEAT_4): Likewise.
37009         (_FP_FRAC_ASSEMBLE_4): Likewise.
37010         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37011         * soft-fp/op-common.h (_FP_CMP): Likewise.
37012         (_FP_CMP_EQ): Likewise.
37013         (_FP_CMP_UNORD): Likewise.
37014         (_FP_TO_INT): Likewise.
37015         (_FP_FROM_INT): Likewise.
37016         [!__FP_CLZ] (__FP_CLZ): Likewise.
37017         (_FP_DIV_HELP_imm): Likewise.
37018         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37019         Likewise.
37020         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37026         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37031         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37034         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37035         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37036         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37044         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37048         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37049         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37050         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37051         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37052         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37053         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37054         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37055         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37056         (FP_UNPACK_RAW_SP): Likewise.
37057         (FP_PACK_RAW_S): Likewise.
37058         (FP_PACK_RAW_SP): Likewise.
37059         (FP_UNPACK_S): Likewise.
37060         (FP_UNPACK_SP): Likewise.
37061         (FP_UNPACK_SEMIRAW_S): Likewise.
37062         (FP_UNPACK_SEMIRAW_SP): Likewise.
37063         (FP_PACK_S): Likewise.
37064         (FP_PACK_SP): Likewise.
37065         (FP_PACK_SEMIRAW_S): Likewise.
37066         (FP_PACK_SEMIRAW_SP): Likewise.
37067         (_FP_SQRT_MEAT_S): Likewise.
37068         (FP_CMP_S): Likewise.
37069         (FP_CMP_EQ_S): Likewise.
37070         (FP_CMP_UNORD_S): Likewise.
37071         (FP_TO_INT_S): Likewise.
37072         (FP_FROM_INT_S): Likewise.
37074         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37076         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37077         (FP_EX_INVALID_IMZ): Likewise.
37078         (FP_EX_INVALID_IMZ_FMA): Likewise.
37079         (FP_EX_INVALID_ISI): Likewise.
37080         (FP_EX_INVALID_ZDZ): Likewise.
37081         (FP_EX_INVALID_IDI): Likewise.
37082         (FP_EX_INVALID_SQRT): Likewise.
37083         (FP_EX_INVALID_CVI): Likewise.
37084         (FP_EX_INVALID_VC): Likewise.
37085         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37086         "invalid" exceptions.
37087         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37088         (_FP_ADD_INTERNAL): Likewise.
37089         (_FP_MUL): Likewise.
37090         (_FP_FMA): Likewise.
37091         (_FP_DIV): Likewise.
37092         (_FP_CMP_CHECK_NAN): Likewise.
37093         (_FP_SQRT): Likewise.
37094         (_FP_TO_INT): Likewise.
37095         (FP_EXTEND): Likewise.
37097 2014-10-09  Allan McRae  <allan@archlinux.org>
37099         * po/fr.po: Update French translation from translation project.
37101 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37103         [BZ #14132]
37104         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37105         of INTDEF.
37106         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37107         (__cxa_atexit): Use libc_hidden_proto.
37108         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37110         [BZ #14132]
37111         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37112         declaration.
37113         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37114         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37115         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37116         [!_ISOMAC] (__iswctype_internal): Likewise.
37117         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37118         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37119         alias.
37120         (fcntl): Remove __fcntl_internal alias.
37121         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37122         __connect_internal alias.
37123         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37124         Likewise.
37126         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37127         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37128         FP_DENORM_ZERO.
37129         (_FP_CHECK_FLUSH_ZERO): New macro.
37130         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37131         (_FP_CMP): Likewise.
37132         (_FP_CMP_EQ): Likewise.
37133         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37134         FP_DENORM_ZERO.
37135         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37136         (FP_TRUNC): Likewise.
37138         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37139         treated as invalid conversion, not as normal exponent.
37141         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37142         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37143         (_FP_CMP_EQ): Likewise.
37144         (_FP_CMP_UNORD): Likewise.
37145         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37146         (FP_CMP_EQ_D): Likewise.
37147         (FP_CMP_UNORD_D): Likewise.
37148         * soft-fp/extended.h (FP_CMP_E): Likewise.
37149         (FP_CMP_EQ_E): Likewise.
37150         (FP_CMP_UNORD_E): Likewise.
37151         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37152         (FP_CMP_EQ_Q): Likewise.
37153         (FP_CMP_UNORD_Q): Likewise.
37154         * soft-fp/single.h (FP_CMP_S): Likewise.
37155         (FP_CMP_EQ_S): Likewise.
37156         (FP_CMP_UNORD_S): Likewise.
37157         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37158         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37159         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37160         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37161         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37162         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37163         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37164         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37165         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37166         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37167         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37168         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37169         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37170         to FP_CMP_Q.
37171         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37172         FP_CMP_Q.
37173         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37174         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37175         FP_CMP_EQ_Q.
37176         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37177         FP_CMP_Q.
37178         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37179         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37180         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37181         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37182         FP_CMP_EQ_Q.
37183         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37184         FP_CMP_Q.
37185         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37186         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37187         FP_CMP_EQ_Q.
37188         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37189         FP_CMP_Q.
37190         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37191         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37192         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37193         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37194         FP_CMP_EQ_Q.
37196         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37197         a subnormal result, set the underflow exception if trapping on
37198         underflow is enabled.
37199         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37200         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37201         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37202         redefine to 0.
37203         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37204         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37205         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37206         * soft-fp/extendxftf2.c (__extendxftf2): Use
37207         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37209         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37210         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37211         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37212         FP_HANDLE_EXCEPTIONS.
37213         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37214         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37215         FP_HANDLE_EXCEPTIONS.
37216         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37217         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37218         FP_HANDLE_EXCEPTIONS.
37219         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37220         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37221         FP_HANDLE_EXCEPTIONS.
37223 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37225         [BZ #14132]
37226         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37227         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37228         use INTUSE.
37229         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37230         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37231         Remove alias.
37232         (__adjtimex): Define using libc_hidden_ver.
37233         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37234         Remove declaration.
37235         (ntp_gettime): Call __adjtimex directly.
37236         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37237         Remove declaration.
37238         (ntp_gettimex): Call __adjtimex directly.
37239         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37240         __adjtimex_internal alias.
37242 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37244         [BZ #17460]
37245         * nscd/nscd.c (more_help): Rewrite list of tables collection
37246         using xstrdup and asprintf.
37248         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37250 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37251             Roland McGrath  <roland@hack.frob.com>
37253         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37254         (do_lookup_unique): ... local function 'enter' here; update callers.
37256 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37258         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37259         compat_symbol calls on [SHARED].
37260         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37261         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37262         Remove.
37263         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37264         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37265         (oldsetrlimit): Remove.
37266         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37268         (lchown): New syscall entry.
37269         (oldsetrlimit): Remove.
37270         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37272         (oldsetrlimit): Remove.
37273         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37275         [BZ #14138]
37276         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37277         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37278         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37279         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37280         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37281         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37282         (fchown): Likewise.
37283         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37284         (fchown): Likewise.
37285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37286         Likewise.
37288 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37291         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37292         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37293         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37294         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37295         Likewise.
37296         (__old_sem_post): Likewise.
37298 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37300         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37301         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37302         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37303         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37304         Use INLINE_VSYSCALL macro.
37305         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37306         __vdso_clock_gettime.
37307         * sysdeps/unix/sysv/linux/tile/init-first.c
37308         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37309         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37310         __vdso_clock_gettime.
37312         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37313         to set up frame more cleanly.
37315         * sysdeps/tile/memcmp.c: New file.
37317         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37319         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37320         * sysdeps/tile/tilegx/strcasestr.c: New file.
37321         * sysdeps/tile/tilegx/strnlen.c: New file.
37322         * sysdeps/tile/tilegx/strstr.c: New file.
37324         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37326 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37328         * nptl/tst-setuid3.c: Write errors to stdout.
37330 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37332         * elf/dl-deps.c
37333         (preload): New functions broken out of _dl_map_object_deps.
37334         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37336 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37338         [BZ #14138]
37339         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37340         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37342 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37344         * sysdeps/mips/strcmp.S: New.
37346 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37348         [BZ #14138]
37349         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37350         (linkat): Likewise.
37351         (mkdirat): Likewise.
37352         (readlinkat): Likewise.
37353         (renameat): Likewise.
37354         (symlinkat): Likewise.
37355         (unlinkat): Likewise.
37356         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37357         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37358         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37359         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37360         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37361         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37362         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37364 2014-09-30  Will Newton  <will.newton@linaro.org>
37366         * math/math.h: Define long double math functions if
37367         _LIBC_TEST is defined.
37368         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37370         * localedata/Makefile: Move assignment to tests-special
37371         into an ifdef testing run-built-tests.
37372         * timezone/Makefile: Likewise.
37374 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37376         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37377         with $(BASH) not $(SHELL).
37379 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37380             Matthew LeGendre  <legendre1@llnl.gov>
37382         [BZ #17411]
37383         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37384         l_reloc_result.
37386 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37388         * stdio-common/printf_fp.c
37389         (hack_digit): New function, broken out of ...
37390         (__printf_fp): ... local function here.  Update call sites.
37391         hack_digit now takes an additional parameter that is a pointer
37392         to a struct of the referenced locals.  Those locals moved inside
37393         the struct and references updated.
37395 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37397         * aclocal.m4: Require autoconf 2.69.
37398         * configure: Regenerated.
37399         * sysdeps/aarch64/configure: Likewise.
37400         * sysdeps/alpha/configure: Likewise.
37401         * sysdeps/arm/armv7/configure: Likewise.
37402         * sysdeps/arm/configure: Likewise.
37403         * sysdeps/ia64/configure: Likewise.
37404         * sysdeps/mach/configure: Likewise.
37405         * sysdeps/mips/configure: Likewise.
37406         * sysdeps/s390/configure: Likewise.
37407         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37410         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37411         file.
37412         * sysdeps/ia64/configure.ac: Likewise.
37414 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37417         specify symbol version for ld.so.  Do not include entry for
37418         libpthread.
37419         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37420         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37421         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37423         [BZ #14171]
37424         * Makeconfig [$(build-shared) = yes]
37425         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37426         makefiles.
37427         [$(build-shared) = yes && $(soversions.mk-done) = t]
37428         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37429         [$(build-shared) = yes && $(soversions.mk-done) = t]
37430         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37431         to Makerules.
37432         [$(build-shared) = yes && $(soversions.mk-done) = t]
37433         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37434         here.
37435         [$(build-shared) = yes && $(soversions.mk-done) = t]
37436         (common-generated): Don't append gnu/lib-names.h and
37437         gnu/lib-names.stmp here.
37438         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37439         (lib-names-h-abi): New variable.
37440         [$(build-shared) = yes && $(soversions.mk-done) = t]
37441         (lib-names-stmp-abi): Likewise.
37442         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37443         abi-variants] (before-compile): Append
37444         $(common-objpfx)$(lib-names-h-abi).
37445         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37446         abi-variants] (common-generated): Append gnu/lib-names.h.
37447         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37448         abi-variants] (install-others-nosubdir): Depend on
37449         $(inst_includedir)/$(lib-names-h-abi).
37450         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37451         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37452         [$(build-shared) = yes && $(soversions.mk-done) = t]
37453         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37454         [$(build-shared) = yes && $(soversions.mk-done) = t]
37455         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37456         [$(build-shared) = yes && $(soversions.mk-done) = t]
37457         (common-generated): Append $(lib-names-h-abi) and
37458         $(lib-names-stmp-abi).
37459         * scripts/lib-names.awk: Do not handle multi being set.
37460         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37461         Remove variable.
37462         (abi-lp64_be-ld-soname): Likewise.
37463         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37464         Likewise.
37465         (abi-hard-ld-soname): Likewise.
37466         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37467         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37468         Remove variable.
37469         (abi-o32_hard-ld-soname): Likewise.
37470         (abi-o32_soft_2008-ld-soname): Likewise.
37471         (abi-o32_hard_2008-ld-soname): Likewise.
37472         (abi-n32_soft-ld-soname): Likewise.
37473         (abi-n32_hard-ld-soname): Likewise.
37474         (abi-n32_soft_2008-ld-soname): Likewise.
37475         (abi-n32_hard_2008-ld-soname): Likewise.
37476         (abi-n64_soft-ld-soname): Likewise.
37477         (abi-n64_hard-ld-soname): Likewise.
37478         (abi-n64_soft_2008-ld-soname): Likewise.
37479         (abi-n64_hard_2008-ld-soname): Likewise.
37480         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37481         Likewise.
37482         (abi-64-v2-ld-soname): Likewise.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37484         ld.so entries.
37485         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37486         variable.
37487         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37488         entry.
37489         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37490         variable.
37491         (abi-64-ld-soname): Likewise.
37492         (abi-x32-ld-soname): Likewise.
37493         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37494         entry.
37495         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37497 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37499         [BZ #14138]
37500         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37501         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37502         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37503         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37504         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37505         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37506         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37507         syscall entry for GLIBC_2.2 symbol version.
37508         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37509         Likewise.
37510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37511         (setrlimit): Likewise.
37512         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37513         Likewise.
37515 2014-09-23  Will Newton  <will.newton@linaro.org>
37517         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37518         _LINUX_ARM_SYSDEP_H include guard too.
37519         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37520         define.
37522 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37524         * sysdeps/unix/sysv/linux/eventfd.c:
37525         Make first argument unsigned.
37526         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37527         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37529 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37531         [BZ #16852]
37532         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37533         * socket/sys/socket.h: Likewise.
37534         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37536 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37538         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37540 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37542         * time/tst-ftime.c: New test.
37543         * time/Makefile (tests): Add tst-ftime.
37545 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37547         * soft-fp/extended.h: Fix comment formatting.
37548         * soft-fp/op-1.h: Likewise.
37549         * soft-fp/op-2.h: Likewise.
37550         * soft-fp/op-4.h: Likewise.
37551         * soft-fp/op-8.h: Likewise.
37552         * soft-fp/op-common.h: Likewise.
37553         * soft-fp/soft-fp.h: Likewise.
37555         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37557 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37559         [BZ #6652]
37560         * Makeconfig (soversions-default-setname): Remove variable.
37561         ($(common-objpfx)soversions.i): Don't pass default_setname to
37562         soversions.awk.
37563         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37564         oldest_abi to abi-versions.awk.
37565         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37566         * config.make.in (oldest-abi): Remove variable.
37567         * configure.ac (--enable-oldest-abi): Remove configure option.
37568         * configure: Regenerated.
37569         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37570         text.
37571         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37572         * scripts/soversions.awk: Do not handle default_setname variable.
37573         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37574         variable.
37575         * sysdeps/mach/hurd/configure: Regenerated.
37576         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37577         variable.
37578         * sysdeps/unix/sysv/linux/configure: Regenerated.
37580 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         * elf/Makefile (CFLAGS-interp.c): Remove.
37583         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37584         path string.
37585         * elf/interp.c: Include generated runtime-linker.h
37587         * Makerules (lib%.so): Don't include $(+interp) in
37588         prerequisites.
37589         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37590         * dlfcn/eval.c: Remove file.
37592         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37593         macros.
37595         [BZ #17266]
37596         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37597         4.2 and newer.
37599         [BZ #17370]
37600         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37602 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37603             Jakub Jelinek  <jakub@redhat.com>
37605         [BZ #17266]
37606         * libio/stdio.h: Check definition of __fortify_function
37607         instead of __extern_always_inline to include bits/stdio2.h.
37608         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37609         check if __extern_always_inline is defined.
37610         [__USE_MISC || __USE_XOPEN]: Likewise.
37611         [__USE_ISOC99] Likewise.
37612         * misc/sys/cdefs.h (__fortify_function): Define only if
37613         __extern_always_inline is defined.
37614         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37615         __extern_always_inline and __extern_inline only for g++-4.3
37616         and newer or a compatible gcc.
37618 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37620         [BZ #17371]
37621         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37622         last change to handle zero prefix length.
37624 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37627         _SC_REGEX_VERSION.
37629         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37630         _POSIX_RAW_SOCKETS.
37632 2014-09-13  Allan McRae  <allan@archlinux.org>
37634         * po/ru.po: Update Russian translation from translation project.
37636 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37638         * locale/programs/locale.c (show_locale_vars): Inline local function
37639         into its sole call site.  Clean up some style nits.
37640         (print_item): New function, broken out of ...
37641         (show_info): ... local function here.  Clean up style nits.
37643         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37644         out of ...
37645         (set_class_defaults): ... local function set_default here.
37646         Define set_default as a macro locally to pass constant parameters.
37647         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37648         rather than a shared local.
37650         * stdlib/rpmatch.c (try): New function, broken out of ...
37651         (rpmatch): ... local function here.  Also, prototypify definition.
37653 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37655         * scripts/soversions.awk: Do not handle configuration names.
37656         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37657         vendor and os variables to soversions.awk.
37658         * configure.ac: Do not modify gnu-* host_os.
37659         * configure: Regenerated
37660         * shlib-versions: Remove first column with configuration names.
37661         * nptl/shlib-versions: Likewise.
37662         * nptl_db/shlib-versions: Likewise.
37663         * sysdeps/hppa/shlib-versions: Likewise.
37664         * sysdeps/m68k/shlib-versions: Likewise.
37665         * sysdeps/mach/hurd/shlib-versions: Likewise.
37666         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37667         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37668         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37669         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37670         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37671         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37672         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37673         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37675         Likewise.
37676         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37677         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37678         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37679         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37680         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37681         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37682         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37683         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37686         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37688         Regenerated.
37689         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37691         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37693         * shlib-versions: Remove OS-specific entries.  Moved to files in
37694         sysdeps.
37695         * sysdeps/mach/hurd/shlib-versions: New file.
37696         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37698         * nptl/shlib-versions: Remove architecture-specific entries.
37699         Moved to files in sysdeps.
37700         * shlib-versions: Likewise.
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37702         file.
37703         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37704         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37705         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37706         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37708         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37709         (UDP_NO_CHECK6_RX): Likewise.
37711 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37713         * sysdeps/posix/sysconf.c (__sysconf): Spell
37714         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37716 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37718         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37719         loading.
37720         * iconv/Versions (__gconv_transliterate): Export for use from
37721         gconv modules.
37722         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37723         (struct __gconv_trans_data, __gconv_trans_fct,
37724         __gconv_trans_context_fct, __gconv_trans_query_fct,
37725         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37726         definitions.
37727         (struct __gconv_step_data): Remove __trans member.
37728         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37729         longer hidden.  Remove unused trans_data argument.
37730         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37731         (__gconv_translit_find): Remove declaration.
37732         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37733         prototype.
37734         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37735         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37736         trans_data argument.  Add hidden definition.
37737         (__gconv_translit_find): Remove.
37738         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37739         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37740         * iconv/skeleton.c: Remove transliteration initialization.
37741         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37742         __gconv_step_data initialization.
37743         * libio/iofwide.c (__libio_translit_): Remove.
37744         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37745         * wcsmbs/btowc.c (__btowc): Likewise.
37746         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37747         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37748         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37749         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37750         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37751         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37752         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37753         * wcsmbs/wctob.c (wctob): Likewise.
37755 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37757         [BZ #16194]
37758         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37759         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37760         register usage.
37761         * sysdeps/x86/Makefile: Adjust.
37763 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37764             Roland McGrath  <roland@hack.frob.com>
37766         * locale/weight.h: Add include guard.
37767         (findidx): Make static rather than auto; take new parameters
37768         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37769         * locale/weightwc.h: Likewise.
37770         * posix/fnmatch_loop.c
37771         (FCT): Change type of EXTRA from int32_t to wint_t.
37772         Don't include either header inside the function.
37773         Call FINDIDX rather than findidx, and pass new arguments.
37774         #undef FINDIDX at the end of the file.
37775         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37776         FINDIDX before including fnmatch_loop.c for the non-wide version.
37777         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37778         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37779         for the wide version.
37780         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37781         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37782         Pass new arguments to findidx.
37783         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37784         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37785         Don't #include it inside the function.  Pass new arguments to findidx.
37786         * posix/regex_internal.h
37787         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37788         (re_string_elem_size_at): Don't #include it inside the function.
37789         Pass new arguments to findidx.
37790         * string/strcoll_l.c: #include WEIGHT_H at top level.
37791         (get_next_seq): Don't #include it inside the function.
37792         Pass new arguments to findidx.
37793         (get_next_seq_nocache): Likewise.
37794         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37795         (STRXFRM): Don't #include it inside the function.
37796         Pass new arguments to findidx.
37798 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37800         [BZ #17344]
37801         * malloc/malloc.c (unlink): Turn asserts into a call to
37802         malloc_printerr.
37804 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37806         [BZ #17370]
37807         * libio/wfileops (do_ftell_wide): Free OUT.
37809 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37813 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37815         [BZ #17363]
37816         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37817         group if the current group is empty.
37819 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37821         * benchtests/bench-memset.c (test_main): Add more test from size
37822         from 32 to 512 bytes.
37823         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37824         Add POWER8 memset object.
37825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37826         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37827         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37828         implementation.
37829         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37830         Likewise.
37831         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37832         multiarch POWER8 memset optimization.
37833         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37834         POWER8 memset optimization.
37836         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37837         Remove bzero multiarch objects.
37838         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37839         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37840         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37841         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37842         Remove define.
37843         [__bzero]: Redefine to specific name.
37844         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37845         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37846         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37847         define.
37848         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37849         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37851 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37853         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37854         warnings into errors.
37856         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37857         __cxa_thread_atexit_impl prototype.
37859 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37861         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37862         Fix capitalization of error message.
37864 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37866         * sysdeps/mips/preconfigure: Modify ABI tests.
37868 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37870         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37872 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37873             Carlos O'Donell  <carlos@systemhalted.org>
37875         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37876         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37877         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37878         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37879         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37880         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37881         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37882         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37883         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37884         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37886         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37887         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37888         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37889         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37890         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37891         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37892         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37893         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37894         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37895         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37896         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37897         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37898         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37899         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37900         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37901         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37902         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37903         Deconditionalize the code that was previously under [RESET_PID].
37904         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37905         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37906         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37907         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37908         include sysdep.h.
37910 2014-09-08  Allan McRae  <allan@archlinux.org>
37912         * version.h (RELEASE): Set to "development".
37913         (VERSION): Set to "2.20.90"
37915 2014-09-07  Allan McRae  <allan@archlinux.org
37917         * version.h (RELEASE): Set to "stable".
37918         (VERSION): Set to "2.20"
37919         * include/features.h (__GLIBC_MINOR__): Set to 20.
37921         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37922         Liebler.
37924         * po/ko.po: Update Korean translation from translation project.
37926 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37928         [BZ #17354]
37929         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37930         macro for handling signed relocations.
37932 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37934         [BZ #17325]
37935         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37936         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37937         assert.
37938         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37939         * iconvdata/ibm935.c (BODY): Likewise.
37940         * iconvdata/ibm937.c (BODY): Likewise.
37941         * iconvdata/ibm939.c (BODY): Likewise.
37942         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37943         assert.
37944         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37945         script.
37946         * iconvdata/run-iconv-test.sh: New test loop for checking for
37947         decoder crashers.
37949 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37951         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37952         libm_hidden_ver.
37954 2014-09-01  Allan McRae  <allan@archlinux.org>
37956         * po/eo.po: Update Esperanto translation from translation project.
37958         * po/ca.po: Update Catalan translation from translation project.
37960 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37962         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37963         __proc_dostop call.
37965 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37967         [BZ #17319]
37968         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37969         to call set_thread_area instead of hand written asm.
37970         (__NR_set_thread_area): Removed define.
37971         (TLS_FLAG_WRITABLE): Likewise.
37972         (__ASSUME_SET_THREAD_AREA): Remove check.
37973         (TLS_EBX_ARG): Remove define.
37974         (TLS_LOAD_EBX): Likewise.
37976 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37978         Simplify atomicity of socket creation in bind.
37980         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37981         looking up the name after linking the file.
37983 2014-08-27  Allan McRae  <allan@archlinux.org>
37985         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37987 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37989         [BZ #17187]
37990         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37991         trans_compare, open_translit, __gconv_translit_find):
37992         Remove module loading code.
37994 2014-08-26  Allan McRae  <allan@archlinux.org>
37996         * po/vi.po: Update Vietnamese translation from translation project.
37998         * po/uk.po: Update Ukrainian translation from translation project.
38000         * po/fr.po: Update French translation from translation project.
38002         * po/ru.po: Update Russian translation from translation project.
38004         * po/pl.po: Update Polish translation from translation project.
38006         * po/cs.po: Update Czech translation from translation project.
38008         * po/de.po: Update German translation from translation project.
38010         * po/bg.po: Update Bulgarian translation from translation project.
38012         * po/sv.po: Update Sweedish translation from translation project.
38014         * po/nl.po: Update Dutch translation from translation project.
38016         * po/es.po: Update Spanish translation from translation project.
38018 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38020         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38022         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38023         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38024         (CPPFLAGS-iconvconfig): Likewise.
38025         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38027         * include/libc-symbols.h: Remove unnecessary check for
38028         NOT_IN_libc.
38029         * nptl/pthreadP.h: Likewise.
38030         * sysdeps/aarch64/setjmp.S: Likewise.
38031         * sysdeps/alpha/setjmp.S: Likewise.
38032         * sysdeps/arm/sysdep.h: Likewise.
38033         * sysdeps/i386/setjmp.S: Likewise.
38034         * sysdeps/m68k/setjmp.c: Likewise.
38035         * sysdeps/posix/getcwd.c: Likewise.
38036         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38037         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38038         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38039         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38040         * sysdeps/sh/sh3/setjmp.S: Likewise.
38041         * sysdeps/sh/sh4/setjmp.S: Likewise.
38042         * sysdeps/unix/alpha/sysdep.h: Likewise.
38043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38045         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38046         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38051         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38054         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38056         * sysdeps/x86_64/setjmp.S: Likewise.
38058 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38060         [BZ #17263]
38061         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38062         <stdint.h>.
38063         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38064         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38066 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38068         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38070         [BZ #17262]
38071         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38072         and __x86_64__ when disabling x87 inline functions.
38074 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38076         [BZ #17259]
38077         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38078         asm statement with __cpuid_count.
38080 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38082         * configure.ac: Change __ehdr_start code to dereference the struct.
38083         Run readelf on the output to look for relocations.
38084         * configure: Regenerated.
38086 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38088         [BZ #17261]
38089         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38090         value to 0.
38091         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38093 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38095         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38097 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38099         [BZ #16892]
38100         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38101         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38103 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38105         * malloc/malloc.c: Fix typo in comment.
38107 2014-08-09  Allan McRae  <allan@archlinux.org>
38109         * Regenerate libc.po.
38111 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38113         * intl/tst-gettext2.sh: Check every lang file for creation.
38115 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38117         * sysdeps/aarch64/fpu/math_private.h
38118         (libc_feholdsetround_noex_aarch64_ctx): New function.
38120 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38122         * sysdeps/arm/armv6/strcpy.S (strcpy):
38123         Fix performance issue in misaligned cases.
38125 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38127         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38128         Move definition from termios.h.
38129         (struct termio): Likewise.
38130         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38131         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38132         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38133         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38134         Likewise.
38135         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38136         Move definition to ioctl-types.h
38137         (struct termio): Likewise.
38138         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38139         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38140         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38141         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38142         Likewise.
38144 2014-08-05  Richard Henderson  <rth@redhat.com>
38146         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38147         exceptions.
38148         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38149         Add fraiseexcpt.
38150         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38151         Use __feraiseexcept.
38152         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38153         Protect libm symbols with IS_IN_libm.
38155         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38157 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38159         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38161 2014-08-04  Will Newton  <will.newton@linaro.org>
38163         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38164         file.
38166 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38168         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38169         variants for each function.
38171 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38173         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38174         appended ...
38175         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38176         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38177         appended ...
38178         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38179         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38180         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38181         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38182         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38183         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38184         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38185         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38186         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38187         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38188         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38189         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38190         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38191         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38192         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38193         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38194         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38195         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38196         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38197         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38198         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38199         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38200         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38202         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38203         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38204         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38205         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38206         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38207         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38208         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38209         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38210         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38212         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38213         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38214         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38215         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38217         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38218         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38219         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38220         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38221         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38222         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38223         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38224         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38225         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38226         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38227         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38228         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38229         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38230         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38231         Update #include.
38232         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38233         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38235 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38237         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38238         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38239         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38240         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38241         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38242         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38244 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38246         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38247         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38248         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38249         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38251 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38253         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38254         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38255         (__libc_vfork): Define function under this name.
38256         (__vfork): Define as an alias.
38257         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38258         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38260 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38262         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38263         that was previously under [RESET_PID].
38264         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38266 2014-08-04  Andreas Schwab  <schwab@suse.de>
38268         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38270 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38272         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38273         (main): Likewise.
38275 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38277         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38279 2014-08-01  Richard Henderon  <rth@redhat.com>
38281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38282         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38283         typo in exact zero test.
38284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38285         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38288 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38290         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38291         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38292         * sysdeps/arm/sysdep.h: ... here.
38293         [!__ASSEMBLER__]: Include <stdint.h>.
38295 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38297         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38298         (HAVE_WCTYPE_H): Likewise.
38299         (HAVE_ISWCTYPE): Likewise.
38300         (ENABLE_NLS): Likewise.
38301         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38302         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38304         * posix/regex_internal.c: Check if DEBUG is defined and is
38305         set.
38307         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38308         (HAVE_MBSRTOWCS): Likewise.
38309         * posix/fnmatch.c: Include string.h unconditionally.
38311 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38313         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38314         reversal.
38316 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38318         * sysdeps/generic/safe-fatal.h: New file.
38319         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38320         * nptl/forward.c: Include it.
38321         (__pthread_unwind): Use __safe_fatal as default action, rather
38322         than a bogus use of INTERNAL_SYSCALL that could never work.
38324         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38325         * configure.ac (libc_cv_builtin_trap): New test.
38326         * configure: Regenerated.
38327         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38328         (ABORT_INSTRUCTION): Define using __builtin_trap.
38330         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38331         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38332         * sysdeps/nptl/nptl-signals.h: New file.
38333         * nptl/pthreadP.h: Include <nptl-signals.h>.
38335 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38337         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38338         (ONE_DIRECTION): Define.
38339         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38340         (ONE_DIRECTION): Define.
38341         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38342         (ONE_DIRECTION): Define.
38344 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38346         * sysdeps/s390/Makefile: Delete file.
38347         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38348         * sysdeps/s390/__longjmp.c: Delete file.
38349         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38350         Remove fields __flags and __reserved.
38351         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38352         and add versioning.
38353         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38354         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38355         * sysdeps/s390/rtld-setjmp.S: Likewise.
38356         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38357         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38358         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38359         * sysdeps/s390/s390-32/setjmp.S: ... here.
38360         Add versioning.
38361         (__sigsetjmp): Remove setting __flags field.
38362         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38363         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38364         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38365         * sysdeps/s390/s390-64/setjmp.S: ... here.
38366         Add versioning.
38367         (__sigsetjmp): Remove setting __flags field.
38368         * sysdeps/s390/setjmp.S: Delete file.
38369         * sysdeps/s390/sigjmp.c: Likewise.
38370         * sysdeps/s390/v1-longjmp.c: Likewise.
38371         * sysdeps/s390/v1-setjmp.h: Likewise.
38372         * sysdeps/s390/v1-sigjmp.c: Likewise.
38373         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38374         Remove v1-longjmp_chk.
38375         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38376         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38377         Include debug/longjmp_chk.c and add versioning.
38378         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38379         Include nptl/pt-longjmp.c and add versioning.
38380         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38381         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38382         Include __longjmp.c.
38383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38384         Move to ...
38385         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38386         (__getcontext): Remove setting __flags field.
38387         Add versioning.
38388         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38389         Don't restore upper high grps.
38390         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38391         Likewise.
38392         (__swapcontext): Remove setting uc_flags field.
38393         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38394         Delete file.
38395         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38396         Include __longjmp.c.
38397         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38398         Move to ...
38399         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38400         (__getcontext): Remove setting __flags field.
38401         Add versioning.
38402         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38403         (__swapcontext): Remove setting uc_flags field.
38404         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38405         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38406         Remove fields uc_high_gprs and __reserved.
38407         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38408         New file with reverted content.
38409         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38410         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38411         Regenerated.
38412         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38413         Regenerated.
38415 2014-07-31  Andreas Schwab  <schwab@suse.de>
38417         * config.h.in (HAVE_IFUNC): Define to 0.
38418         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38419         definedness.
38421 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38424         memmove-avx-unaligned, memcpy-avx-unaligned and
38425         mempcpy-avx-unaligned.
38426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38427         Add tests for AVX memcpy functions.
38428         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38429         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38430         memcpy_chk.
38431         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38432         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38433         memmove_chk.
38434         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38436         mempcpy_chk.
38437         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38438         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38439         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38441 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38443         [BZ #17213]
38444         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38445         powerpc64le.
38447 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38449         [BZ #16839]
38450         * manual/llio.texi: Add section about open file description locks.
38451         * manual/examples/ofdlocks.c: Example of open file description
38452         lock usage.
38453         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38454         F_OFD_SETLK, and F_OFD_SETLKW.
38456 2014-07-23  Allan McRae  <allan@archlinux.org>
38458         * po/es.po: Update Spanish translation from translation project.
38460 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38462         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38464 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38466         [BZ #17078]
38467         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38468         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38469         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38471 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38473         [BZ #17088]
38474         * math/fesetenv.c (__fesetenv)
38475         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38476         * math/feupdateenv.c (__feupdateenv)
38477         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38479         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38480         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38481         (__ASSUME_SOCKETCALL): Do not define.
38483         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38484         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38485         (__ASSUME_SOCKETCALL): Do not define.
38486         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38487         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38488         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38489         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38490         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38491         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38492         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38493         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38495         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38496         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38497         (__ASSUME_SOCKETCALL): Do not define.
38498         (__ASSUME_IPC64): Define unconditionally.
38499         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38500         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38501         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38502         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38503         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38505         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38506         Likewise.
38508         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38509         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38510         (__ASSUME_SOCKETCALL): Do not define.
38511         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38512         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38513         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38514         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38515         (__ASSUME_REQUEUE_PI): Define unconditionally.
38516         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38517         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38518         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38519         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38521         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38523         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38524         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38525         (__ASSUME_SOCKETCALL): Do not define.
38526         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38528         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38529         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38531         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38533         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38534         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38535         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38536         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38537         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38538         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38539         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38540         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38541         (__ASSUME_GETCPU_SYSCALL): Likewise.
38543         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38544         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38545         cases for individual architectures.
38546         * sysdeps/gnu/configure: Regenerated.
38547         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38548         LIBC_SLIBDIR_RTLDDIR.
38549         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38550         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38551         LIBC_SLIBDIR_RTLDDIR.
38552         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38554         LIBC_SLIBDIR_RTLDDIR.
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38556         Regenerated.
38557         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38558         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38559         file.
38560         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38561         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38562         file.
38563         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38564         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38565         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38566         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38568         * sysdeps/aarch64/shlib-versions: Move to ...
38569         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38570         * sysdeps/alpha/shlib-versions: Move to ...
38571         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38572         * sysdeps/arm/shlib-versions: Move to ...
38573         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38574         * sysdeps/hppa/shlib-versions: Move all contents except for
38575         libgcc_s entry to ...
38576         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38577         entry from ...
38578         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38579         * sysdeps/ia64/shlib-versions: Move to ...
38580         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38581         entry from ...
38582         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38583         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38584         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38585         * sysdeps/microblaze/shlib-versions: Move to ...
38586         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38587         * sysdeps/mips/shlib-versions: Move to ...
38588         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38589         entry from ...
38590         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38591         * sysdeps/tile/shlib-versions: Move to ...
38592         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38593         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38594         from ...
38595         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38596         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38597         entry from ...
38598         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38600 2014-07-17  Will Newton  <will.newton@linaro.org>
38602         * sysdeps/arm/bits/atomic.h
38603         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38604         (__arch_compare_and_exchange_bool_16_int): Likewise.
38605         (__arch_compare_and_exchange_bool_64_int): Likewise.
38607         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38608         into an #else block.
38610 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38612         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38613         just Linux configurations.  Test empirically that the compiler sets
38614         __ARM_EABI__, rather than using the tuple to decide.
38615         * sysdeps/arm/preconfigure: Regenerated.
38616         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38617         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38618         contents appended ...
38619         * sysdeps/arm/configure.ac: ... here.
38620         * sysdeps/arm/configure: Regenerated.
38622 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38624         * nptl/pthread_kill.c: New file.
38625         * nptl/pthread_sigmask.c: New file.
38626         * nptl/pthread_sigqueue.c: New file.
38628         * sysdeps/nptl/lowlevellock.h: New file.
38629         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38630         * sysdeps/nptl/lowlevellock-futex.h: New file.
38632         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38633         Remove dead declarations.
38635 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38637         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38638         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38639         config-cflags-avx2.
38640         * sysdeps/x86_64/configure.ac: Likewise.
38641         * sysdeps/i386/configure: Regenerated.
38642         * sysdeps/x86_64/configure: Likewise.
38643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38644         memset-avx2 only if config-cflags-avx2 is yes.
38645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38646         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38647         defined.
38648         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38649         only if HAVE_AVX2_SUPPORT is defined.
38650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38652 2014-07-14  Alan Modra  <amodra@gmail.com>
38654         [BZ #17153]
38655         * elf/elf.h (DT_PPC64_NUM): Correct value.
38656         * NEWS: Add to fixed bug list.
38658 2014-07-13  Jim Meyering  <meyering@fb.com>
38660         [BZ 17150]
38661         regex: don't deref NULL upon heap allocation failure
38662         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38663         failure in one more place.
38664         To trigger the segfault, configure grep -with-included-regex,
38665         build it, and run these commands:
38666         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38668 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38672 2014-07-11  Richard Henderson  <rth@redhat.com>
38674         * sysdeps/aarch64/libm-test-ulps: Update.
38676 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38678         [BZ #17135]
38679         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38680         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38681         (__nptl_setxid): Initialize error member.  Call
38682         __nptl_setxid_error.
38683         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38684         * nptl/descr.h (struct xid_command): Add error member.
38685         * nptl/tst-setuid3.c: New file.
38686         * nptl/Makefile (tests): Add it.
38688 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38691         New define.
38692         (__lll_trylock): Use __lll_base_trylock.
38693         (__lll_cond_trylock): Likewise.
38695 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38697         * nptl/pthread_create.c (start_thread): Use atomic_or and
38698         lll_futex_wake directly rather than lll_robust_dead.
38699         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38700         (lll_robust_dead): Macro removed.
38701         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38702         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38703         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38704         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38705         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38706         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38707         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38708         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38709         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38711         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38713         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38714         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38717         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38718         Use atomic_compare_and_exchange_val_acq directly rather than
38719         lll_robust_trylock.
38720         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38721         (__lll_robust_trylock, lll_robust_trylock): Removed.
38722         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38723         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38724         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38725         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38726         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38727         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38728         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38729         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38730         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38731         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38732         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38733         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38734         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38735         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38737 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38739         * manual/locale.texi (Locale Names): New section documenting
38740         locale name syntax.  Adjust menu and node chaining accordingly.
38741         (Choosing Locale): Reference Locale Names, Locale Categories.
38742         Mention setting LC_ALL=C.  Reflect that name syntax is now
38743         documented.
38744         (Locale Categories): New section title.  Reference Locale Names.
38745         LC_ALL is an environment variable, but not a category.
38746         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38747         description, now in Locale Name.  Reference that section.  Locale
38748         name syntax is now documented.
38750 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38752         [BZ #17137]
38753         * locale/findlocale.c (name_present, valid_locale_name): New
38754         functions.
38755         (_nl_find_locale): Use the loc_name variable to store name
38756         candidates.  Call name_present and valid_locale_name to check and
38757         validate locale names.  Return an error if the locale is invalid.
38759 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38761         * locale/setlocale.c (setlocale): Use strdup for allocating
38762         composite name copy.
38764 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         Sync up with gnulib.
38767         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38768         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38769         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38770         and _GL_ARG_NONNULL.
38771         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38772         [!_LIBC]: Include code for Windows and Cygwin.
38773         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38774         Include prototype for int strerror_r.
38775         [!_LIBC] (is_open): New function.
38776         (flush_stdout): New function.
38777         (print_errno_message): Use it.
38778         (error): Likewise.
38779         (error_at_line): Likewise.
38780         (error_tail) Add function attribute macros.  Use
38781         __builtin_expect.
38783         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38785         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38787         * io/ftw.c: Include sys/param.h unconditionally.
38789         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38791         [BZ #17125]
38792         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38793         libc_freeres_ptr.
38794         (freecache): New function to free CACHE on exit.
38796         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38797         initialization.
38799 2014-07-09  David S. Miller  <davem@davemloft.net>
38801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38803         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38804         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38805         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38806         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38807         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38808         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38809         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38810         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38811         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38812         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38813         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38814         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38815         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38817 2014-07-09  Andreas Schwab  <schwab@suse.de>
38819         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38820         output.
38821         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38822         (do_test): Likewise.
38824         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38826 2014-07-09  Will Newton  <will.newton@linaro.org>
38828         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38829         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38830         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38831         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38832         * sysdeps/hppa/start.S (_start): Likewise.
38834 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38836         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38838         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38839         defined.
38841 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38843         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38844         after checking that it is non-NULL.
38846         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38848 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38850         * sysdeps/powerpc/memmove.c: Remove file.
38851         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38852         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38853         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38854         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38855         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38856         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38857         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38858         string memmove instead of removed powerpc one.
38860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38861         [weak_alias]: Fix compiler warning due trailing data.
38862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38863         [weak_alias]: Likewise.
38864         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38865         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38868         (__libc_ifunc_impl_list): Add memmove functions.
38870 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38872         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38873         Remove code.
38874         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38875         Likewise.
38876         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38877         Likewise.
38878         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38879         Likewise.
38880         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38881         Likewise.
38882         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38883         Likewise.
38884         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38885         Likewise.
38886         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38887         Likewise.
38888         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38889         Likewise.
38890         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38891         Likewise.
38892         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38893         Likewise.
38894         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38895         Likewise.
38896         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38897         Likewise.
38898         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38899         Likewise.
38900         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38901         Likewise.
38902         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38903         Likewise.
38904         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38905         Likewise.
38907 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38909         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38910         to avoid alignment traps in non-cacheable memory.
38911         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38914         multiarch objects.
38915         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38916         file: multiarch power7 memmove.
38917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38918         multiarch default memmove.
38919         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38920         multiarch memove for powerpc32/power4.
38922         * string/bcopy.c: Use full path to include memmove.c.
38923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38924         multiarch objects.
38925         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38926         bcopy for powerpc64.
38927         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38928         bcopy for powerpc64.
38929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38930         and memmove implementations.
38931         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38932         optimized multiarch memmove for POWER7/powerpc64.
38933         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38934         default multiarch memmove for powerpc64.
38935         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38936         multiarch for powerpc64.
38937         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38938         for POWER7/powerpc64.
38939         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38940         memmove for POWER7/powerpc64.
38942         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38943         glibc default one.
38945         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38946         __ELF_NATIVE_CLASS equal to 64.
38948 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38950         * sysdeps/nptl/lowlevellock.h: File removed.
38952         * NEWS: NPTL is no longer an add-on!
38953         * nptl/internaltypes.h: Moved ...
38954         * sysdeps/nptl/internaltypes.h: ... here.
38955         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38956         * sysdeps/nptl/fork.c: Likewise.
38957         * sysdeps/nptl/gai_misc.h: Likewise.
38958         * sysdeps/nptl/librt-cancellation.c: Likewise.
38959         * sysdeps/nptl/jmp-unwind.c: Likewise.
38960         * sysdeps/nptl/setxid.h: Likewise.
38961         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38962         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38963         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38964         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38965         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38966         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38967         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38968         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38969         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38970         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38971         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38972         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38973         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38974         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38975         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38976         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38977         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38978         * nptl/Makeconfig: Moved ...
38979         * sysdeps/nptl/Makeconfig: ... here.
38980         * nptl/configure: File removed.
38981         * nptl/ANNOUNCE: File removed.
38982         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38983         * sysdeps/unix/sysv/linux/configure: Regenerated.
38985         * nptl/Makefile (routines): Add libc_pthread_init,
38986         libc_multiple_threads, register-atfork and unregister-atfork.
38987         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38988         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38989         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38990         pthread-pi-defines.sym, structsem.sym.
38991         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38992         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38993         [$(subdir) = nptl] (tests): Add tst-setgetname.
38994         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38995         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38996         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38997         [!LIBC_SIGACTION]: Remove aliases.
38998         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38999         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39000         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39001         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39002         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39003         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39004         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39005         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39006         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39007         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39008         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39009         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39010         __libc_allocate_rtsig_private.
39011         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39012         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39013         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39014         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39015         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39016         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39017         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39018         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39019         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39020         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39021         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39022         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39023         * nptl/internaltypes.h: ... here.
39024         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39025         * sysdeps/nptl/jmp-unwind.c: ... here.
39026         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39027         * nptl/libc-lowlevellock.c: ... here.
39028         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39029         * nptl/libc_multiple_threads.c: ... here.
39030         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39031         * nptl/libc_pthread_init.c: ... here.
39032         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39033         * nptl/lowlevelbarrier.sym: ... here.
39034         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39035         * nptl/lowlevelcond.sym: ... here.
39036         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39037         * nptl/lowlevellock.c: ... here.
39038         * nptl/lowlevellock.h: Moved ...
39039         * sysdeps/nptl/lowlevellock.h: ... here.
39040         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39041         * nptl/lowlevelrobustlock.c: ... here.
39042         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39043         * nptl/lowlevelrobustlock.sym: ... here.
39044         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39045         * nptl/lowlevelrwlock.sym: ... here.
39046         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39047         * nptl/pt-fork.c: ... here.
39048         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39049         * nptl/pthread-pi-defines.sym: ... here.
39050         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39051         * nptl/pthread_attr_getaffinity.c: ... here.
39052         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39053         * nptl/pthread_attr_setaffinity.c: ... here.
39054         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39055         * nptl/pthread_mutex_cond_lock.c: ... here.
39056         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39057         Update #include.
39058         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39059         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39060         * nptl/pthread_once.c: ... here, replacing old file.
39061         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39062         * nptl/pthread_yield.c: ... here.
39063         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39064         * nptl/register-atfork.c: ... here.
39065         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39066         * nptl/sem_post.c: ... here.
39067         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39068         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39069         * nptl/sem_timedwait.c: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39071         * nptl/sem_trywait.c: ... here.
39072         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39073         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39074         * nptl/sem_wait.c: ... here.
39075         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39076         * nptl/structsem.sym: ... here.
39077         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39078         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39079         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39080         * nptl/unregister-atfork.c: ... here.
39081         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39082         * nptl/unwindbuf.sym: ... here.
39083         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39084         * sysdeps/nptl/fork.c: ... here.
39085         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39086         * sysdeps/nptl/fork.h: ... here.
39087         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39088         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39089         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39090         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39091         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39092         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39093         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39094         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39095         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39097         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39099         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39100         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39101         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39102         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39103         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39104         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39105         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39106         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39107         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39108         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39109         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39110         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39111         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39112         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39113         * sysdeps/unix/sysv/linux/raise.c: ... here.
39114         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39115         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39116         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39117         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39118         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39119         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39120         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39121         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39122         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39123         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39124         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39125         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39126         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39127         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39128         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39130 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39132         * sysdeps/generic/memcopy.h: Add comment for
39133         MEMCPY_OK_FOR_FWD_MEMMOVE.
39135 2014-07-04  Will Newton  <will.newton@linaro.org>
39137         * string/memchr.c: Merge from gnulib.
39138         [_LIBC]: Remove conditionals.
39139         (__ptr_t): Remove define.
39140         (LONG_MAX_32_BITS): Likewise.
39141         (LONG_MAX): Likewise.
39142         (MEMCHR): Use ANSI prototype and optimize algorithm.
39144         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39146 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39149         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39151         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39152         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39153         in a bare environment with no <stdlib.h> installed.
39154         * sysdeps/nptl/configure: Regenerated.
39156         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39158         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39159         AC_EGREP_CPP for kernel header checks, so they only succeed if
39160         including <linux/version.h> actually works right.
39161         * sysdeps/unix/sysv/linux/configure: Regenerated.
39163         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39164         value so it's not diagnosed as unused.
39166         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39167         thing) with "ifeq ($(subdir),rt)".
39169 2014-07-03  Richard Henderson  <rth@redhat.com>
39171         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39172         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39173         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39175         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39176         (math_force_eval): New.
39178         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39179         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39181         * sysdeps/alpha/fpu/s_round.c: Remove file.
39182         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39184         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39185         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39186         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39187         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39188         (_dl_start, print_statistics): Likewise.
39189         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39190         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39192         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39193         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39194         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39195         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39196         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39197         (HP_SMALL_TIMING_AVAIL): Define.
39198         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39199         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39200         (HP_SMALL_TIMING_AVAIL): Define.
39201         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39202         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39204         * sysdeps/aarch64/hp-timing.h: New file.
39206         * sysdeps/generic/hp-timing.h: Remove dead comment.
39207         * sysdeps/generic/hp-timing-common.h: New file.
39208         * sysdeps/alpha/hp-timing.h: Include it.
39209         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39210         * sysdeps/i386/i686/hp-timing.h: Likewise.
39211         * sysdeps/ia64/hp-timing.h: Likewise.
39212         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39213         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39214         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39215         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39216         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39217         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39218         (hp_timing_t): New.
39220         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39221         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39222         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39223         * elf/rtld.c (_dl_start_final): Likewise.
39224         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39225         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39226         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39227         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39228         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39229         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39230         (HP_TIMING_DIFF_INIT): Remove.
39231         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39232         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39233         (HP_TIMING_DIFF_INIT): Remove.
39234         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39235         * sysdeps/i386/i686/hp-timing.c: Remove file.
39236         * sysdeps/x86_64/hp-timing.c: Remove file.
39237         * sysdeps/ia64/hp-timing.c: Remove file.
39238         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39239         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39241         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39243         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39244         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39245         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39246         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39247         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39248         (HP_TIMING_ACCUM): Remove.
39249         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39250         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39251         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39253         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39254         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39255         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39256         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39257         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39258         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39259         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39260         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39262         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39264 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39266         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39268 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39270         Sync up with gettext.
39271         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39272         [_MSC_VER]: Include malloc.h
39273         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39274         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39275         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39276         TEMP_FAILURE_RETRY.  Cast return of alloca.
39277         [!_LIBC] Call gl_rwlock_init.
39278         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39280 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39282         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39283         before checking its value.
39285 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39287         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39289         * debug/memcpy_chk.c: Don't include pagecopy.h.
39290         * debug/mempcpy_chk.c: Likewise.
39291         * string/memcpy.c: Likewise.
39292         * string/memmove.c: Likewise.
39293         * sysdeps/powerpc/memmove.c: Likewise.
39294         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39295         definition of PAGE_COPY_FWD_MAYBE here...
39296         * sysdeps/generic/pagecopy.h: ... from here.
39297         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39299 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39300             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39302         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39304         optimizations.
39305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39306         (__libc_ifunc_impl_list): Likewise.
39307         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39308         multiarch strcat for PPC64.
39309         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39310         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39312 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39314         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39316 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39318         * intl/loadmsgcat.c: Remove declaration of
39319         get_sysdep_segment_value.
39320         (get_sysdep_segment_value): Use ISO C style.
39321         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39322         semicolon.  Fix typo and formatting in comment.
39323         (_nl_unload_domain): Use ISO C style.
39325         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39327 2014-07-02  Will Newton  <will.newton@linaro.org>
39329         * malloc/obstack.c: Merge from gnulib master.
39330         [HAVE_CONFIG_H]: Remove conditional code.
39331         [!_LIBC]: Include config.h.
39332         [!ELIDE_CODE]: Don't include inttypes.h, include
39333         stdint.h unconditionally.
39334         (print_and_abort): Mark as _Noreturn.
39335         (_obstack_allocated_p): Mark as __attribute_pure__.
39336         (obstack_free): Rename to __obstack_free.
39337         [!__attribute__]: Remove conditional code.
39338         * malloc/obstack.h: Merge from gnulib master.
39339         [__cplusplus]: Move conditional down.
39340         [!__attribute_pure__]: Define __attribute_pure__ here
39341         if it is not already defined.
39342         (_obstack_memory_used): Mark as __attribute_pure__.
39343         [!__obstack_free]: Define as obstack_free.
39344         [__GNUC__]: Remove check for ancient NeXT gcc.
39346 2014-07-02  Will Newton  <will.newton@linaro.org>
39347             Paul Eggert  <eggert@cs.ucla.edu>
39349         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39351 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39353         * resolv/gethnamaddr.c: Add comment warning that the file is
39354         not maintained.
39356 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39358         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39359         entries.
39361         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39362         entry for aio_cancel and aio_cancel64.
39363         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39364         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39365         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39366         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39367         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39368         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39369         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39370         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39371         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39372         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39373         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39374         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39375         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39377 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39379         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39380         * nptl/pthread_mutex_lock.c: Likewise.
39381         * nptl/pthread_mutex_timedlock.c: Likewise.
39382         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39384 2014-07-01  Richard henderson  <rth@redhat.com>
39386         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39387         (__isnan, __isnanl): Remove.
39388         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39390         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39392 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39394         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39396 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39398         * resolv/nss_dns/dns-host.c (getanswer_r)
39399         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39401 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39404         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39405         undefine.
39406         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39407         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39409 2014-07-01  Roland McGrath <roland@hack.frob.com>
39411         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39412         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39414         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39415         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39417         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39418         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39419         ... here.
39420         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39421         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39423         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39424         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39425         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39426         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39428         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39429         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39430         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39431         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39432         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39433         Moved ...
39434         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39435         ... here.
39436         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39437         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39438         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39439         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39440         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39441         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39442         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39443         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39444         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39445         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39446         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39447         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39448         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39449         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39450         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39451         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39452         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39453         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39454         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39455         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39456         ... here.
39457         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39458         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39459         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39460         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39461         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39462         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39463         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39464         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39466 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39468         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39469         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39470         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39471         Add sysdep.
39473 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39477 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39479         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39480         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39482         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39484         * sysdeps/arm/libm-test-ulps: Regenerated.
39486 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39487             Roland McGrath <roland@hack.frob.com>
39489         * test-skeleton.c (signal_handler): Kill the whole process group
39490         before killing the child individually.
39491         (main): Report any failure on `setpgid'.
39493 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39495         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39496         from _TLS_H to _ARM_NPTL_TLS_H.
39497         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39498         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39500 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39502         [BZ #16539]
39503         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39504         (__expm1l): Return argument unchanged when small but not
39505         subnormal.
39507         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39508         include macro name.
39509         (_FP_UNPACK_RAW_1_P): Likewise.
39510         (_FP_PACK_RAW_1): Likewise.
39511         (_FP_PACK_RAW_1_P): Likewise.
39512         (_FP_MUL_MEAT_1_wide): Likewise.
39513         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39514         (_FP_MUL_MEAT_1_hard): Likewise.
39515         (_FP_DIV_MEAT_1_imm): Likewise.
39516         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39517         (_FP_DIV_MEAT_1_udiv): Likewise.
39518         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39519         (_FP_UNPACK_RAW_2): Likewise.
39520         (_FP_UNPACK_RAW_2_P): Likewise.
39521         (_FP_PACK_RAW_2): Likewise.
39522         (_FP_PACK_RAW_2_P): Likewise.
39523         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39524         (_FP_MUL_MEAT_2_wide): Likewise.
39525         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39526         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39527         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39528         (_FP_MUL_MEAT_2_gmp): Likewise.
39529         (_FP_DIV_MEAT_2_udiv): Likewise.
39530         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39531         (_FP_FRAC_SRL_4): Likewise.
39532         (_FP_FRAC_SRST_4): Likewise.
39533         (_FP_FRAC_SRS_4): Likewise.
39534         (_FP_UNPACK_RAW_4): Likewise.
39535         (_FP_UNPACK_RAW_4_P): Likewise.
39536         (_FP_PACK_RAW_4): Likewise.
39537         (_FP_PACK_RAW_4_P): Likewise.
39538         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39539         (_FP_MUL_MEAT_4_wide): Likewise.
39540         (_FP_MUL_MEAT_4_gmp): Likewise.
39541         (umul_ppppmnnn): Likewise.
39542         (_FP_DIV_MEAT_4_udiv): Likewise.
39543         (__FP_FRAC_ADD_4): Likewise.
39544         (__FP_FRAC_SUB_3): Likewise.
39545         (__FP_FRAC_SUB_4): Likewise.
39546         (__FP_FRAC_DEC_3): Likewise.
39547         (__FP_FRAC_DEC_4): Likewise.
39548         (__FP_FRAC_ADDI_4): Likewise.
39549         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39550         (_FP_FRAC_SRL_8): Likewise.
39551         (_FP_FRAC_SRS_8): Likewise.
39553         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39554         include macro name.
39555         (FP_UNPACK_RAW_EP): Likewise.
39556         (FP_PACK_RAW_E): Likewise.
39557         (FP_PACK_RAW_EP): Likewise.
39558         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39559         (_FP_ISSIGNAN): Likewise.
39560         (_FP_ADD_INTERNAL): Likewise.
39561         (_FP_FMA): Likewise.
39562         (_FP_CMP): Likewise.
39563         (_FP_SQRT): Likewise.
39564         (_FP_TO_INT): Likewise.
39565         (_FP_FROM_INT): Likewise.
39566         (FP_EXTEND): Likewise.
39567         (_FP_DIV_MEAT_N_loop): Likewise.
39569 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39571         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39572         throughout.
39574 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39576         [BZ #17097]
39577         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39578         result with correct sign in case of exponents that produce
39579         overflow except for X very close to 1.
39581 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39583         mktime: merge #if/#ifdef usage from glibc
39584         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39585         as that works with both Glibc's and Gnulib's style.
39586         See thread starting at Siddhesh Poyarekar's bug report at:
39587         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39589 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39591         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39592         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39593         * sysdeps/tile/tilegx/memmove.c: Remove file.
39595 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39597         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39598         abi-name definition.
39599         * scripts/soversions.awk: Do not handle or generate ABI lines.
39600         * shlib-versions: Remove ABI entries.
39601         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39602         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39604 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39607         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39608         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39609         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39611         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39613         Moved ...
39614         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39615         ... here.
39616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39617         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39619         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39621         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39623         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39625         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39627         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39629         Moved ...
39630         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39632         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39634         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39636         Moved ...
39637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39639         Moved ...
39640         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39642         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39644         Moved ...
39645         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39647         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39649         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39651         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39653         Moved ...
39654         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39656         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39657         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39658         Moved ...
39659         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39661         Moved ...
39662         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39664         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39666         Moved ...
39667         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39668         ... here.
39669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39670         Identical file removed.
39671         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39672         Moved ...
39673         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39675         Identical file removed.
39676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39679         Moved ...
39680         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39682         Identical file removed.
39683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39684         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39685         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39686         Identical file removed.
39687         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39688         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39689         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39690         Identical file removed.
39691         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39692         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39694         Identical file removed.
39695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39696         Moved ...
39697         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39699         Identical file removed.
39700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39701         Moved ...
39702         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39703         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39704         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39706         Identical file removed.
39707         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39708         Moved ...
39709         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39710         ... here.
39711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39712         Identical file removed.
39713         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39714         Moved ...
39715         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39717         Identical file removed.
39718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39719         Moved ...
39720         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39722         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39724         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39726         Moved ...
39727         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39728         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39729         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39731         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39732         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39733         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39734         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39735         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39737 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39739         [BZ #17092]
39740         * nscd/nscd.c (monitor_child): Return exit status of child
39741         instead of return value from wait syscall.
39743 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39745         * configure.ac (libc_commonpagesize): Remove variable.
39746         (libc_relro_required): Likewise.
39747         (libc_cv_z_relro): Remove configure test.
39748         * configure: Regenerated.
39749         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39750         variable.
39751         (libc_relro_required): Likewise.
39752         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39753         (libc_relro_required): Likewise.
39754         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39755         (libc_relro_required): Likewise.
39756         * sysdeps/arm/preconfigure: Regenerated.
39757         * sysdeps/ia64/preconfigure: Remove file.
39758         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39759         variable.
39760         (libc_relro_required): Likewise.
39762         [BZ #16561]
39763         [BZ #16562]
39764         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39765         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39766         recompute overflowing results in original rounding mode.
39767         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39768         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39769         recompute overflowing results in original rounding mode.
39770         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39771         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39772         recompute overflowing results in original rounding mode.
39773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39774         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39775         recompute overflowing results in original rounding mode.
39776         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39777         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39778         recompute overflowing results in original rounding mode.
39779         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39780         (libc_feholdsetround_ctx): New macro.
39781         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39782         * sysdeps/i386/fpu/libm-test-ulps: Update.
39783         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39785 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39787         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39788         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39789         corresponding .cpsetup call.
39791 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39793         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39794         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39795         * sysdeps/arm/Makefile [$(subdir) = csu]
39796         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39797         (static-only-routines): Add aeabi_read_tp here.
39798         (shared-only-routines): Add libc-aeabi_read_tp here.
39799         (CFLAGS-libc-start.c): Add -fexceptions here.
39800         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39801         (sysdep_routines, static-only-routines, shared-only-routines):
39802         Don't add to these here.
39803         (CFLAGS-libc-start.c): Likewise.
39805         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39806         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39807         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39808         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39809         * sysdeps/arm/Makefile [$(subdir) = rt]
39810         (librt-sysdep_routines, librt-shared-only-routines):
39811         Append rt-aeabi_unwind_cpp_pr1 here.
39812         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39813         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39814         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39815         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39816         Append nptl-aeabi_unwind_cpp_pr1 here.
39817         (tests): Filter out tst-cleanupx4 here.
39818         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39819         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39820         Don't do those here.
39822 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39824         * scripts/list-sources.sh: Do not handle ports specially.
39826 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39828         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39829         * sysdeps/arm/feupdateenv.c: Likewise.
39831         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39833 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39835         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39836         trailing whitespace removed.
39837         * scripts/config.guess: Update to version 2014-03-23.
39838         * scripts/config.sub: Update to version 2014-05-01
39839         * scripts/install-sh: Update to version 2013-12-25.23.
39840         * scripts/move-if-change: Update from gnulib.
39842 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39844         * debug/memmove_chk.c: Remove pagecopy.h include.
39846 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39848         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39849         identical to gnulib mktime.
39851 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39853         * configure.ac: Do not test for machine being rs6000.  Do not test
39854         for powerpc*-*soft.
39855         * configure: Regenerated.
39857         [BZ #11505]
39858         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39859         test.
39860         * configure: Regenerated.
39861         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39862         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39863         Remove configure test.
39864         * sysdeps/arm/configure: Regenerated.
39865         * sysdeps/nptl/configure.ac: Do not check
39866         libc_cv_asm_cfi_directives.
39867         * sysdeps/nptl/configure: Regenerated.
39868         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39869         * sysdeps/x86_64/nptl/configure: Remove generated file.
39870         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39871         unconditional.
39872         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39874 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39876         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39877         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39878         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39879         it is defined.
39881         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39882         instead of whether it is defined.
39883         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39884         * sysdeps/hppa/dl-machine.h: Likewise.
39885         * sysdeps/ia64/dl-machine.h: Likewise.
39886         * sysdeps/m68k/dl-machine.h: Likewise.
39887         * sysdeps/microblaze/dl-machine.h: Likewise.
39888         * sysdeps/mips/dl-machine.: Likewise.
39889         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39890         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39891         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39892         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39893         * sysdeps/sh/dl-machine.h: Likewise.
39894         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39895         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39896         * sysdeps/tile/dl-machine.h: Likewise.
39897         * sysdeps/x86_64/dl-machine.h: Likewise.
39899         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39900         code.
39901         (verify_persistent_db): Likewise.
39903 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39906         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39908         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39910         Moved ...
39911         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39912         ... here.
39913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39914         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39916         Identical file removed.
39917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39918         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39920         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39922         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39924         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39926         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39928         Moved ...
39929         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39931         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39933         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39935         Moved ...
39936         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39938         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39940         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39942         Identical file removed.
39943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39944         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39946         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39948         Moved ...
39949         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39950         ... here.
39951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39954         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39956         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39958         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39960         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39962         Moved ...
39963         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39965         Moved ...
39966         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39968         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39970         Moved ...
39971         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39973         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39975         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39976         folded into ...
39977         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39978         * sysdeps/unix/sysv/linux/s390/Versions
39979         (libpthread: GLIBC_2.19): New version set.
39980         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39981         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39982         (librt: GLIBC_2.3.3): New version set.
39983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39984         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39985         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39986         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39987         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39988         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39989         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39990         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39991         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39992         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39993         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39994         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39995         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39996         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39997         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39998         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39999         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40000         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40002         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40003         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40004         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40005         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40006         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40007         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40008         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40009         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40010         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40011         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40012         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40013         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40014         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40019         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40021         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40023         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40025         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40027         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40030         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40031         (__libc_vfork): Define the function under this name.
40032         [!NOT_IN_libc] (__vfork): Make this an alias.
40033         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40034         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40035         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40036         (__libc_vfork): Define the function under this name.
40037         [!NOT_IN_libc] (__vfork): Make this an alias.
40038         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40039         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40040         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40042         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40043         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40045         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40046         code that was previously under [RESET_PID].
40047         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40048         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40051         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40052         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40053         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40054         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40055         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40056         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40057         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40058         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40059         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40060         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40061         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40062         Moved ...
40063         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40064         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40065         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40066         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40067         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40068         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40069         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40070         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40071         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40072         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40073         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40074         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40075         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40076         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40077         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40078         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40079         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40080         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40081         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40082         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40083         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40084         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40085         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40086         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40087         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40088         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40089         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40091         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40093 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40095         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40096         that was previously under [RESET_PID].
40097         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40099 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40101         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40102         not undefine and redefine.
40103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40104         [O_CLOEXEC]: Make code unconditional.
40105         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40106         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40107         <kernel-features.h>.
40108         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40109         conditional variable definition.
40110         (shm_open) [O_CLOEXEC]: Make code unconditional.
40111         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40112         code.
40114         * configure.ac (USE_REGPARMS): Don't define here.
40115         * configure: Regenerated.
40116         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40117         * sysdeps/i386/configure: Regenerated.
40119         * nptl/createthread.c: Don't include kernel-features.h.
40120         * nptl/pthread_cancel.c: Likewise.
40121         * nptl/pthread_condattr_setclock.c: Likewise.
40122         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40123         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40124         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40125         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40126         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40127         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40128         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40131         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40132         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40133         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40134         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40135         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40136         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40137         * nscd/gai.c: Likewise.
40138         * nss/nss_db/db-open.c: Likewise.
40139         * sysdeps/generic/ldsodefs.h: Likewise.
40140         * sysdeps/sh/nptl/tls.h: Likewise.
40141         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40142         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40143         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40144         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40145         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40146         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40147         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40148         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40149         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40150         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40151         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40152         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40153         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40154         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40155         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40156         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40157         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40158         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40159         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40160         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40163         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40164         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40169         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40170         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40171         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40172         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40173         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40174         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40175         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40176         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40177         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40178         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40179         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40180         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40181         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40182         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40183         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40184         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40185         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40186         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40187         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40188         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40189         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40190         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40191         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40192         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40193         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40194         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40195         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40196         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40197         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40198         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40221         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40222         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40223         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40224         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40225         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40226         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40227         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40228         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40229         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40230         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40231         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40232         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40233         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40234         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40235         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40236         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40237         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40238         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40239         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40240         * sysdeps/unix/sysv/linux/system.c: Likewise.
40241         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40242         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40243         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40244         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40245         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40246         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40247         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40249         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40250         * configure: Regenerated.
40251         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40253         * configure.ac (base_machine): Do not set specially for particular
40254         machines here.
40255         * configure: Regenerated.
40256         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40257         settings from configure.ac.
40258         * sysdeps/i386/preconfigure: New file.
40259         * sysdeps/s390/preconfigure: Likewise.
40260         * sysdeps/sh/preconfigure: Likewise.
40261         * sysdeps/sparc/preconfigure: Likewise.
40263 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40265         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40266         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40267         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40268         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40269         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40270         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40271         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40272         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40273         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40274         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40275         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40276         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40277         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40278         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40280         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40282         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40283         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40285         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40286         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40287         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40288         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40289         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40290         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40291         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40292         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40293         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40294         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40295         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40296         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40297         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40298         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40299         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40300         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40301         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40302         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40303         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40304         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40305         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40306         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40308         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40309         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40310         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40312         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40314         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40315         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40316         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40317         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40318         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40319         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40320         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40321         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40322         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40325         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40327         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40329         Moved ...
40330         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40331         ... here.
40332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40333         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40335         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40337         Moved ...
40338         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40340         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40342         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40344         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40346         Moved ...
40347         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40349         Moved ...
40350         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40352         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40354         Moved ...
40355         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40357         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40359         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40361         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40363         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40365         Moved ...
40366         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40367         ... here.
40368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40369         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40371         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40373         Moved ...
40374         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40376         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40378         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40380         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40382         Moved ...
40383         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40385         Moved ...
40386         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40388         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40390         Moved ...
40391         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40393         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40395         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40397 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40399         * timezone/checktab.awk: Update from tzcode 2014e.
40400         * timezone/private.h: Likewise.
40401         * timezone/tzfile.h: Likewise.
40402         * timezone/zdump.c: Likewise.
40403         * timezone/zic.c: Likewise.
40405         * sysdeps/unix/sysv/linux/kernel-features.h
40406         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40407         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40408         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40409         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40410         Remove conditional code.
40412 2014-06-25  Will Newton  <will.newton@linaro.org>
40414         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40415         (_dl_arm_cap_flags): Add HWCAP2 values.
40416         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40417         (_DL_HWCAP_COUNT): Increase to 37.
40418         (_DL_HWCAP_LAST): New define.
40419         (_DL_HWCAP2_LAST): New define.
40420         (_dl_procinfo): Add support for printing
40421         AT_HWCAP2 entries.
40422         (_dl_string_hwcap): Use _dl_hwcap_string.
40424 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40428 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40430         * README: Do not mention ports directory.
40432         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40433         Remove macro.
40434         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40435         <kernel-features.h>.
40436         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40437         conditional variable definition.
40438         (__futimes): Update comment.
40439         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40440         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40442         [BZ #16560]
40443         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40444         arguments close to 0.
40445         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40446         Likewise.
40447         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40448         Likewise.
40449         * math/auto-libm-test-in: Add more tests of exp10.
40450         * math/auto-libm-test-out: Regenerated.
40451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40453         * sysdeps/unix/sysv/linux/kernel-features.h
40454         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40455         * sysdeps/unix/sysv/linux/readv.c: Do not include
40456         <kernel-features.h>.
40457         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40458         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40459         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40460         unconditional.
40461         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40462         conditional code.
40463         * sysdeps/unix/sysv/linux/writev.c: Do not include
40464         <kernel-features.h>.
40465         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40466         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40467         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40468         unconditional.
40469         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40470         conditional code.
40472 2014-06-25  Will Newton  <will.newton@linaro.org>
40474         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40475         comment changes throughout the file.  Remove checks
40476         for HAVE_*_H definitions that are not required.
40477         (__gen_tempname): Call abort if an unknown kind value is
40478         passed.
40480 2014-06-25  Andreas Schwab  <schwab@suse.de>
40482         [BZ #17086]
40483         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40484         scalbln, scalblnf, scalblnl in libc.
40486 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         [BZ #17086]
40489         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40490         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40491         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40493 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40495         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40496         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40497         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40498         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40499         Update #include.
40500         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40501         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40502         Update #include.
40503         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40504         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40505         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40506         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40507         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40508         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40509         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40510         * sysdeps/x86/bits/semaphore.h: ... here.
40511         * sysdeps/x86/nptl/elide.h: Moved ...
40512         * sysdeps/x86/elide.h: ... here.
40513         * sysdeps/x86_64/nptl/Implies: File removed.
40514         * sysdeps/i386/nptl/Implies: File removed.
40516 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40518         [BZ #16539]
40519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40520         return the argument for normal arguments with exponent below -64.
40521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40522         Likewise.
40523         * math/auto-libm-test-in: Add another test of expm1.
40524         * math/auto-libm-test-out: Regenerated.
40526         [BZ #16287]
40527         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40528         calling __erfcl for arguments at least 16.
40529         * math/auto-libm-test-in: Add more tests of erf.
40530         * math/auto-libm-test-out: Regenerated.
40532         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40533         individual architectures.
40534         * sysdeps/unix/sysv/linux/configure: Regenerated.
40535         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40536         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40537         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40538         (ldd_rewrite_script): Define variable.
40539         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40541         file.
40542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40543         generated file.
40544         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40545         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40546         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40547         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40548         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40549         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40550         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40551         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40553 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40555         [BZ #17084]
40556         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40557         Rename member __data.d to __data.__elision_data.
40559 2014-06-24  Wilco  <wdijkstr@arm.com>
40561         * NEWS: Add 16918 to fixed bug list.
40563 2014-06-24  Wilco  <wdijkstr@arm.com>
40565         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40567 2014-06-24  Wilco  <wdijkstr@arm.com>
40569         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40570         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40571         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40572         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40573         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40574         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40575         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40576         Use _FPU_MASK_RM.
40578 2014-06-24  Wilco  <wdijkstr@arm.com>
40580         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40582 2014-06-24  Wilco  <wdijkstr@arm.com>
40584         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40585         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40586         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40587         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40589 2014-06-24  Wilco  <wdijkstr@arm.com>
40591         [BZ #16918]
40592         * sysdeps/arm/feupdateenv.c (feupdateenv):
40593         Rewrite to reduce FPSCR accesses and fix return value.
40595 2014-06-24  Wilco  <wdijkstr@arm.com>
40597         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40598         Optimize to avoid unnecessary FPSCR writes.
40599         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40600         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40601         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40602         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40604 2014-06-24  Wilco  <wdijkstr@arm.com>
40606         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40607         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40608         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40609         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40610         Call libc_fetestexcept_vfp.
40611         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40612         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40613         __SOFTFP__ ifdef so that they can be built for softfp.
40615 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40617         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40618         argument type signed char.
40620         * Makerules (check-abi): Dump diff of symlist if the test
40621         fails.
40623 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40625         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40626         using abort.
40628         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40629         Remove unused variable ST.
40631 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40633         [BZ #16354]
40634         [BZ #17061]
40635         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40636         small arguments before calling __expm1.
40637         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40638         small arguments before calling __expm1f.
40639         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40640         small arguments before calling __expm1l.
40641         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40642         Likewise.
40643         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40644         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40645         spurious underflow for some cosh tests.
40646         * math/auto-libm-test-out: Regenerated.
40647         * sysdeps/i386/fpu/libm-test-ulps: Update.
40649         [BZ #17050]
40650         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40651         (__ieee754_y1): Set errno if return value overflows.
40652         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40653         (__ieee754_y1f): Set errno if return value overflows.
40654         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40655         (__ieee754_y1l): Set errno if return value overflows.
40656         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40657         (__ieee754_y1l): Set errno if return value overflows.
40658         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40659         * math/auto-libm-test-out: Regenerated.
40661         * math/gen-auto-libm-tests.c: Document use of
40662         ignore-zero-inf-sign.
40663         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40664         (input_flags): Add ignore-zero-inf-sign.
40665         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40666         * math/gen-libm-test.pl (generate_testfile): Handle
40667         ignore-zero-inf-sign.
40668         * math/auto-libm-test-in: Mark some cpow tests with
40669         ignore-zero-inf-sign and some with xfail-rounding.
40670         * math/auto-libm-test-out: Regenerated.
40671         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40672         * sysdeps/i386/fpu/libm-test-ulps: Update.
40673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40675         [BZ #16315]
40676         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40677         overflowing or underflowing operations take place with sign of
40678         result.
40679         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40680         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40681         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40682         (__ieee754_pow): Recompute overflowing and underflowing results in
40683         original rounding mode.
40684         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40685         (__powl_helper): Allow negative argument X and scale negated value
40686         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40687         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40688         overflowing or underflowing operations take place with sign of
40689         result.
40690         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40691         Include <math.h>.
40692         * math/auto-libm-test-in: Add more tests of pow.
40693         * math/auto-libm-test-out: Regenerated.
40694         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40695         (pow_tonearest_test_data): Remove.
40696         (pow_test_tonearest): Likewise.
40697         (pow_towardzero_test_data): Likewise.
40698         (pow_test_towardzero): Likewise.
40699         (pow_downward_test_data): Likewise.
40700         (pow_test_downward): Likewise.
40701         (pow_upward_test_data): Likewise.
40702         (pow_test_upward): Likewise.
40703         (main): Don't call removed functions.
40704         * sysdeps/i386/fpu/libm-test-ulps: Update.
40705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40710         Moved ...
40711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40713         Moved ...
40714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40716         Moved ...
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40719         Moved ...
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40722         File removed.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40724         File removed.
40725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40726         File removed.
40727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40728         File removed.
40729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40730         File removed.
40731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40732         File removed.
40733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40734         File removed.
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40736         File removed.
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40738         File removed.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40740         File removed.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40742         File removed.
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40744         File removed.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40746         Moved ...
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40749         Moved ...
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40751         ... here.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40753         Moved ...
40754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40756         Moved ...
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40759         Moved ...
40760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40762         Moved ...
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40765         Moved ...
40766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40768         Moved ...
40769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40771         Moved ...
40772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40775         ... here.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40777         Moved ...
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40780         Moved ...
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40782         ... here.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40784         Moved ...
40785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40786         ... here.
40787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40788         Moved ...
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40790         ... here.
40791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40792         Moved ...
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40795         Moved ...
40796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40800         Moved ...
40801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40802         ... here.
40803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40804         Moved ...
40805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40806         ... here.
40807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40808         Moved ...
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40811         Moved ...
40812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40814         Moved ...
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40817         Moved ...
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40820         Moved ...
40821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40822         ... here.
40823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40824         Moved ...
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40827         Moved ...
40828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40833         Moved ...
40834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40838         Moved ...
40839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40841         Moved ...
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40844         Moved ...
40845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40846         ... here.
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40848         Moved ...
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40850         ... here.
40851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40852         Moved ...
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40854         ... here.
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40856         Moved ...
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40859         Moved ...
40860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40862         Moved ...
40863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40865         Moved ...
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40867         ... here.
40868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40869         Moved ...
40870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40871         ... here.
40872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40873         Moved ...
40874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40875         ... here.
40876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40877         Moved ...
40878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40880         Moved ...
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40883 2014-06-23  Will Newton  <will.newton@linaro.org>
40884             Wilco  <wdijkstr@arm.com>
40886         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40887         implementation.  Include get-rounding-mode.h.
40888         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40889         [!libc_feholdsetround_noex_ctx]: Define
40890         libc_feholdsetround_noex_ctx.
40891         [!libc_feholdsetround_noexf_ctx]: Define
40892         libc_feholdsetround_noexf_ctx.
40893         [!libc_feholdsetround_noexl_ctx]: Define
40894         libc_feholdsetround_noexl_ctx.
40895         (libc_feholdsetround_ctx): New function.
40896         (libc_feresetround_ctx): New function.
40897         (libc_feholdsetround_noex_ctx): New function.
40898         (libc_feresetround_noex_ctx): New function.
40900 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40902         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40903         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40904         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40905         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40906         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40907         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40909         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40910         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40911         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40912         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40913         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40914         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40916         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40917         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40918         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40919         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40920         Moved ...
40921         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40922         ... here.
40923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40924         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40925         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40926         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40928         Moved ...
40929         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40931         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40933         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40934         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40935         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40937         Moved ...
40938         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40939         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40940         Moved ...
40941         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40943         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40944         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40945         Moved ...
40946         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40948         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40949         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40950         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40951         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40952         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40954         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40956         Moved ...
40957         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40958         ... here.
40959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40960         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40961         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40962         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40963         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40964         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40965         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40966         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40967         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40968         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40969         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40970         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40972         Moved ...
40973         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40974         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40975         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40976         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40977         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40979         Moved ...
40980         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40981         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40982         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40983         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40984         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40986         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40987         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40988         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40989         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40990         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40991         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40992         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40993         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40994         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40995         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40996         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40997         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40998         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40999         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41000         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41001         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41002         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41003         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41004         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41005         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41006         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41007         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41008         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41009         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41010         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41011         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41012         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41013         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41015 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41018         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41019         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41020         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41021         (IPV6_PMTUDISC_INTERFACE): Likewise.
41022         (IPV6_PMTUDISC_OMIT): Likewise.
41024 2014-06-23  Andreas Schwab  <schwab@suse.de>
41026         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41027         Remove unused errout label.
41029 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41031         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41032         macro: hardware supports Vector Crypto instructions.
41034 2014-06-23  Will Newton  <will.newton@linaro.org>
41036         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41037         rather than __builtin_expect.
41039         * elf/dl-lookup.c (undefined_msg): Remove variable.
41040         (_dl_lookup_symbol_x): Replace undefined_msg with string
41041         literal.
41043         * elf/dl-lookup.c (do_lookup_unique): New function.
41044         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41045         to a separate function.
41047 2014-06-23  Andreas Schwab  <schwab@suse.de>
41049         [BZ #17079]
41050         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41051         before reading the next line.
41053 2014-06-23  Will Newton  <will.newton@linaro.org>
41055         * test-skeleton.c (signal_handler): Use printf and %m
41056         rather than perror.  Use printf rather than fprintf to
41057         stderr.  Use puts rather than fputs to stderr.
41058         (main): Likewise.
41060 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41062         * nscd/nscd.c (thread_info_t): Remove typedef.
41063         (thread_info): Remove variable.
41065 2014-06-21  Allan McRae  <allan@archlinux.org>
41067         * NEWS: Mention CVE-2014-4043.
41069 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41071         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41072         * nptl/smp.h: ... here.
41074         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41076         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41077         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41078         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41079         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41081         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41082         * nptl/stack-aliasing.h: New file.
41083         * sysdeps/i386/i686/stack-aliasing.h: New file.
41084         * sysdeps/i386/i686/nptl/Makefile: File removed.
41085         * sysdeps/x86_64/stack-aliasing.h: New file.
41086         * sysdeps/x86_64/nptl/Makefile
41087         (CFLAGS-pthread_create.c): Variable removed.
41089         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41090         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41091         old file.
41092         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41093         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41094         old file.
41096 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41098         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41099         (__ASSUME_SIGFRAME_V2): Remove macro.
41100         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41101         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41102         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41103         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41104         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41105         Declare as function.  Remove conditional macro definitions.
41106         (__default_rt_sa_restorer): Likewise.
41107         (__default_sa_restorer_v1): Remove declaration.
41108         (__default_sa_restorer_v2): Likewise.
41109         (__default_rt_sa_restorer_v1): Likewise.
41110         (__default_rt_sa_restorer_v2): Likewise.
41111         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41112         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41113         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41115 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41117         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41118         (libpthread-routines): Add sysdep.
41119         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41120         * sysdeps/unix/sysv/linux/sparc/Versions
41121         (libpthread: GLIBC_2.3.3): New version set.
41122         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41123         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41124         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41125         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41126         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41127         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41128         Moved ...
41129         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41130         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41131         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41132         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41133         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41134         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41135         * sysdeps/sparc/nptl/sem_init.c: ... here.
41136         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41137         * sysdeps/sparc/nptl/sem_post.c: ... here.
41138         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41139         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41140         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41141         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41142         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41144         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41145         (libpthread-routines): Add cpu_relax.
41146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41147         File removed.
41148         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41149         (librt: GLIBC_2.3.3): New version set.
41150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41151         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41152         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41153         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41156         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41158         Moved ...
41159         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41161         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41163         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41165         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41167         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41169         Moved ...
41170         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41171         Update #include.
41172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41173         Moved ...
41174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41175         Update #include.
41176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41177         Moved ...
41178         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41179         Update #include.
41180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41181         Moved ...
41182         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41183         Update #include.
41184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41185         Moved ...
41186         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41187         Update #include.
41188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41189         Moved ...
41190         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41191         Update #include.
41192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41193         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41199         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41201         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41203         Moved ...
41204         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41206         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41208         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41210 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41212         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41213         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41214         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41215         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41216         * nscd/nscd.c: Likewise.
41217         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41218         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41219         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41220         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41222         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41223         <kernel-features.h>.
41224         (init_mq_netlink): Remove conditional have_sock_cloexec
41225         definitions.  Remove code conditional on have_sock_cloexec < 0.
41226         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41227         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41228         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41229         <kernel-features.h>.
41230         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41231         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41233 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41236         Add tests for memset_chk and memset.
41238         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41239         with AVX2_Usable.
41241 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41243         [BZ #16046]
41244         * elf/tst-dl-iter-static.c: New file.
41245         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41247         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41248         error.
41250 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41252         * sysdeps/unix/sysv/linux/kernel-features.h
41253         (__ASSUME_F_GETOWN_EX): Remove macro.
41254         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41255         <kernel-features.h>.
41256         (miss_F_GETOWN_EX): Remove variable or macro.
41257         (do_fcntl): Do not check miss_F_GETOWN_EX.
41258         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41261         Remove macro.
41262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41263         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41264         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41266         * sysdeps/unix/sysv/linux/kernel-features.h
41267         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41268         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41269         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41270         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41272 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41274         [BZ #17075]
41275         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41276         Fix calculation of the symbol's value.
41277         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41278         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41279         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41280         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41281         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41282         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41283         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41284         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41285         (modules-names): Add `tst-armtlsdescmod',
41286         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41287         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41288         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41289         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41290         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41291         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41292         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41293         ($(objpfx)tst-armtlsdescloc): New dependency.
41294         ($(objpfx)tst-armtlsdescextnow): Likewise.
41295         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41296         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41297         TLS scheme support.
41298         * sysdeps/arm/configure: Regenerate.
41300 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41302         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41303         (__atfct_seterrno_2): Likewise.
41304         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41305         <kernel-features.h>.
41306         (__ASSUME_ATFCTS): Do not undefine and redefine.
41307         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41308         (__have_atfcts): Remove conditional definition.
41309         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41310         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41311         unreachable if [__ASSUME_ATFCTS].
41312         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41313         not undefine and redefine.
41314         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41315         <kernel-features.h>.
41316         (faccessat) [__NR_faccessat]: Make code unconditional.
41317         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41318         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41319         <kernel-features.h>.
41320         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41321         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41322         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41323         <kernel-features.h>.
41324         (fchownat) [__NR_fchownat]: Make code unconditional.
41325         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41326         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41327         <kernel-features.h>.
41328         (futimesat) [__NR_futimesat]: Make code unconditional.
41329         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41330         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41331         <kernel-features.h>.
41332         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41333         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41334         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41335         <kernel-features.h>.
41336         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41337         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41338         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41339         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41340         <kernel-features.h>.
41341         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41342         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41343         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41344         <kernel-features.h>.
41345         (linkat) [__NR_linkat]: Make code unconditional.
41346         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41347         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41348         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41349         <kernel-features.h>.
41350         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41351         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41352         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41353         <kernel-features.h>.
41354         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41355         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41356         * sysdeps/unix/sysv/linux/openat.c: Do not include
41357         <kernel-features.h>.
41358         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41359         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41360         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41361         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41362         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41363         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41364         <kernel-features.h>.
41365         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41366         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41367         result of INLINE_SYSCALL directly, not via int variable.
41368         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41369         <kernel-features.h>.
41370         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41371         (renameat) [__NR_renameat]: Make code unconditional.
41372         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41373         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41374         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41375         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41376         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41377         (__ASSUME_ATFCTS): Do not undefine and redefine.
41378         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41379         <kernel-features.h>.
41380         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41381         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41382         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41383         <kernel-features.h>.
41384         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41385         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41386         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41387         (__ASSUME_ATFCTS): Do not undefine and redefine.
41388         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41389         <kernel-features.h>.
41390         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41391         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41392         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41393         <kernel-features.h>.
41394         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41395         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41397 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41399         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41401 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41403         [BZ #17069]
41404         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41405         constructed tree before returning error.
41406         * posix/bug-regexp36.c: Expand test case.
41408 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41410         [BZ #6803]
41411         * math/libm-test.inc (scalbln_test_date):
41412         Add errno expectations.
41413         * math/w_scalblnf.c: New File.
41414         Add wrapper which checks for setting errno to ERANGE.
41415         Add weak_alias for corresponding scalbln function.
41416         * math/w_scalbln.c: Likewise.
41417         * math/w_scalblnl.c: Likewise.
41418         * math/Makefile (libm-calls): Add w_scalbln.
41419         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41420         Remove weak_alias for corresponding scalbln function.
41421         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41422         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41423         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41425         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41426         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41427         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41428         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41429         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41430         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41431         Remove long_double_symbol for scalblnl function in libm, libc.
41432         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41433         Add wrapper which checks for setting errno to ERANGE.
41434         Add long_double_symbol for scalblnl function in libm, libc.
41435         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41436         Remove long_double_symbol for scalblnl in libm.
41437         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41438         Add wrapper which checks for setting errno to ERANGE.
41439         Add long_double_symbol for scalblnl function in libm.
41440         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41441         Do not use wrapper because of own implementation.
41443 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41445         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41446         3 bytes for __pad1 for x32.
41447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41449 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41450             H.J. Lu  <hongjiu.lu@intel.com>
41452         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41453         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41454         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41455         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41456         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41458 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41460         [BZ #17069]
41461         * posix/regcomp.c (parse_expression): Deallocate partially
41462         constructed tree before returning error.
41463         * posix/Makefile.c (tests): Add bug-regex36.
41464         (generated): Add bug-regex36.mtrace.
41465         (tests-special): Add $(objpfx)bug-regex36-mem.out
41466         (bug-regex36-ENV): New variable.
41467         ($(objpfx)bug-regex36-mem.out): New rule.
41468         * posix/bug-regex36.c: New file.
41470 2014-06-19  Will Newton  <will.newton@linaro.org>
41472         * malloc/malloc.c (systrim): If extra is zero then return
41473         early.
41475 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41477         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41479 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41481         * sysdeps/aarch64/strchr.S: New file.
41483 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41485         [BZ #17022]
41486         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41487         from arguments -2 or below.
41488         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41489         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41491 2014-06-18  Andreas Schwab  <schwab@suse.de>
41493         [BZ #17062]
41494         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41495         of a bracket expr not to run off the end of the string.
41496         * posix/Makefile (tests): Add tst-fnmatch3.
41497         * posix/tst-fnmatch3.c: New file.
41499 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41501         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41502         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41503         [$(cross-compiling) = no]: Likewise.
41504         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41505         [$(cross-compiling) = no]: Likewise.
41507 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41509         [BZ #17031]
41510         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41511         double, adjusted for any remainder from the high double.
41512         * math/libm-test.inc (nearbyint): Add tests.
41513         (rint): Likewise.
41515 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41517         * nptl/sysdeps/powerpc/Makefile: Moved ...
41518         * sysdeps/powerpc/nptl/Makefile: ... here.
41519         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41520         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41521         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41522         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41523         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41524         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41525         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41526         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41527         * nptl/sysdeps/powerpc/tls.h: Moved ...
41528         * sysdeps/powerpc/nptl/tls.h: ... here.
41530 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41532         [BZ #16681]
41533         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41534         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41535         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41536         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41537         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41538         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41539         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41540         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41541         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41543 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41545         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41547 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41549         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41550         defined operator.
41552         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41553         $TIMEOUTFACTOR.
41555 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41557         [BZ #17058]
41558         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41559         non-executed part of the test.
41561 2014-06-16  Andreas Schwab  <schwab@suse.de>
41563         * string/bits/string2.h (strdup, strndup): Update feature guard.
41565 2014-06-14  David S. Miller  <davem@davemloft.net>
41567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41569 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41571         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41572         that was previously under [RESET_PID].
41573         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41575         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41576         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41577         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41578         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41579         (__libc_vfork): New strong alias.
41580         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41582 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41584         * sysdeps/generic/elide.h: New file.
41586 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41588         * Makefile (installed-headers): Adjust path of pthread.h header.
41590 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41592         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41593         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41594         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41595         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41597         * nptl/sysdeps/s390/Makefile: Moved ...
41598         * sysdeps/s390/nptl/Makefile: ... here.
41599         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41600         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41601         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41602         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41603         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41604         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41605         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41606         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41607         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41608         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41609         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41610         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41611         * nptl/sysdeps/s390/tls.h: Moved ...
41612         * sysdeps/s390/nptl/tls.h: ... here.
41614         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41615         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41617 2014-06-13  David S. Miller  <davem@davemloft.net>
41619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41622         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41626         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41627         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41628         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41629         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41630         Remove RESET_PID cpp guards.
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41632         Remove RESET_PID cpp guards.
41633         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41635 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41637         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41638         __sp to uintptr_t.
41640 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41643         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41644         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41645         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41647         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41650         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41651         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41653         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41654         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41655         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41658         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41660         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41663         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41664         (pthread_rwlock_rdlock): Add elision.
41665         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41666         (pthread_rwlock_wrlock): Add elision.
41667         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41668         (pthread_rwlock_trywrlock): Add elision.
41669         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41670         (pthread_rwlock_tryrdlock): Add elision.
41671         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41672         (pthread_rwlock_tryrdlock): Add elision unlock.
41673         * nptl/sysdeps/pthread/pthread.h:
41674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41675         (PTHREAD_RWLOCK_INITIALIZER,
41676         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41677         Handle new elision field.
41678         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41679         * sysdeps/arm/nptl/bits/pthreadtypes.h
41680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41681         * sysdeps/sh/nptl/bits/pthreadtypes.h
41682         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41683         * sysdeps/tile/nptl/bits/pthreadtypes.h
41684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41685         * sysdeps/a/nptl/bits/pthreadtypes.h
41686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41687         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41689         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41691         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41693         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41694         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41695         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41696         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41697         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41698         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41699         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41701         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41703         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41704         (elision_init): Set try_xbegin to zero when no RTM.
41705         * sysdeps/x86/nptl/bits/pthreadtypes.h
41706         (pthread_rwlock_t): Change __pad1 to __rwelision.
41707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41709 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41711         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41712         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41713         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41714         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41716 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41718         [BZ #16996]
41719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41720         that the cached result has been set before returning it.
41722 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41724         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41725         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41726         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41727         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41728         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41729         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41731         * nptl/sysdeps/sparc/Makefile: Moved ...
41732         * sysdeps/sparc/nptl/Makefile: ... here.
41733         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41734         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41735         * nptl/sysdeps/sparc/tls.h: Moved ...
41736         * sysdeps/sparc/nptl/tls.h: ... here.
41737         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41738         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41739         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41740         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41741         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41742         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41743         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41744         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41745         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41746         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41747         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41748         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41749         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41750         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41751         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41752         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41753         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41755         Update #include.
41756         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41758         Update #include.
41759         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41761         Update #include.
41762         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41764         Update #include.
41766         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41768         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41769         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41771         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41772         (struct list_links): Type removed.
41773         (struct thread_node, struct timer_node): Replace struct list_links
41774         with struct list_head.
41775         (list_unlink_ip): Likewise.
41776         * sysdeps/pthread/timer_routines.c
41777         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41778         (list_append, list_insbefore): Likewise.
41779         (list_init): Function removed.
41780         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41781         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41782         * sysdeps/pthread/Makefile: ... here, new file.
41784         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41785         * sysdeps/nptl/Implies: ... here.
41786         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41787         * nptl/sysdeps/pthread/list.h: Moved ...
41788         * include/list.h: ... here.
41789         * nptl/sysdeps/pthread/createthread.c: Moved ...
41790         * nptl/createthread.c: ... here.
41791         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41792         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41793         * nptl/pt-longjmp.c: ... here.
41794         * nptl/sysdeps/pthread/Makefile: Moved ...
41795         * sysdeps/nptl/Makefile: ... here.
41796         * nptl/sysdeps/pthread/Subdirs: Moved ...
41797         * sysdeps/nptl/Subdirs: ... here.
41798         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41799         * sysdeps/nptl/aio_misc.h: ... here.
41800         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41801         * sysdeps/nptl/bits/libc-lock.h: ... here.
41802         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41803         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41804         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41805         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41806         * nptl/sysdeps/pthread/configure: Moved ...
41807         * sysdeps/nptl/configure: ... here.
41808         * nptl/sysdeps/pthread/configure.ac: Moved ...
41809         * sysdeps/nptl/configure.ac: ... here.
41810         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41811         * sysdeps/nptl/gai_misc.h: ... here.
41812         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41813         * sysdeps/nptl/librt-cancellation.c: ... here.
41814         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41815         * sysdeps/nptl/malloc-machine.h: ... here.
41816         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41817         * sysdeps/nptl/pthread-functions.h: ... here.
41818         * nptl/sysdeps/pthread/pthread.h: Moved ...
41819         * sysdeps/nptl/pthread.h: ... here.
41820         * nptl/sysdeps/pthread/setxid.h: Moved ...
41821         * sysdeps/nptl/setxid.h: ... here.
41822         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41823         * sysdeps/nptl/sigfillset.c: ... here.
41824         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41825         * sysdeps/nptl/tcb-offsets.h: ... here.
41826         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41827         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41828         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41829         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41830         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41831         * sysdeps/pthread/allocalim.h: ... here.
41832         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41833         * sysdeps/pthread/bits/sigthread.h: ... here.
41834         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41835         * sysdeps/pthread/flockfile.c: ... here.
41836         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41837         * sysdeps/pthread/ftrylockfile.c: ... here.
41838         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41839         * sysdeps/pthread/funlockfile.c: ... here.
41840         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41841         * sysdeps/pthread/posix-timer.h: ... here.
41842         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41843         * sysdeps/pthread/timer_create.c: ... here.
41844         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41845         * sysdeps/pthread/timer_delete.c: ... here.
41846         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41847         * sysdeps/pthread/timer_getoverr.c: ... here.
41848         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41849         * sysdeps/pthread/timer_gettime.c: ... here.
41850         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41851         * sysdeps/pthread/timer_routines.c: ... here.
41852         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41853         * sysdeps/pthread/timer_settime.c: ... here.
41854         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41855         * sysdeps/pthread/tst-timer.c: ... here.
41856         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41857         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41859         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41860         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41862         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41863         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41864         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41865         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41866         Update #include target.
41867         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41868         * sysdeps/i386/i686/nptl/Makefile: ... here.
41869         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41870         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41871         Update #include target.
41872         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41873         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41874         * nptl/sysdeps/i386/Makefile: Moved ...
41875         * sysdeps/i386/nptl/Makefile: ... here.
41876         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41877         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41878         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41879         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41880         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41881         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41882         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41883         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41884         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41885         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41886         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41887         * nptl/sysdeps/i386/tls.h: Moved ...
41888         * sysdeps/i386/nptl/tls.h: ... here.
41890         * sysdeps/sh/Makefile [$(subdir) = csu]
41891         (gen-as-const-headers): Add tcb-offsets.sym.
41892         * nptl/sysdeps/sh/Makefile: File removed.
41893         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41894         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41895         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41896         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41897         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41898         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41899         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41900         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41901         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41902         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41903         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41904         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41905         * nptl/sysdeps/sh/tls.h: Moved ...
41906         * sysdeps/sh/nptl/tls.h: ... here.
41907         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41908         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41909         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41910         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41911         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41912         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41913         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41915         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41916         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41917         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41918         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41919         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41920         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41921         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41922         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41923         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41924         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41925         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41926         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41928         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41929         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41932         Moved ...
41933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41935         Moved ...
41936         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41938         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41939         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41940         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41941         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41942         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41943         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41944         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41945         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41946         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41948         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41950         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41951         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41952         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41953         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41954         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41956 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41958         * posix/spawn_faction_addopen.c: Include string.h.
41960 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41962         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41963         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41964         * nptl/sysdeps/x86_64/Makefile: Moved ...
41965         * sysdeps/x86_64/nptl/Makefile: ... here.
41966         * nptl/sysdeps/x86_64/configure: Moved ...
41967         * sysdeps/x86_64/nptl/configure: ... here.
41968         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41969         * sysdeps/x86_64/nptl/configure.ac: ... here.
41970         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41971         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41972         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41973         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41974         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41975         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41976         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41977         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41978         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41979         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41980         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41981         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41982         * nptl/sysdeps/x86_64/tls.h: Moved ...
41983         * sysdeps/x86_64/nptl/tls.h: ... here.
41984         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41985         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41986         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41987         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41989         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41991 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41995 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41997         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41998         type.
41999         [POSIX] (off_t): Likewise.
42000         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42001         [POSIX] (S_ISBLK): Require macro.
42002         [POSIX] (S_ISCHR): Likewise.
42003         [POSIX] (S_ISDIR): Likewise.
42004         [POSIX] (S_ISFIFO): Likewise.
42005         [POSIX] (S_ISREG): Likewise.
42006         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42007         optional-macro.
42008         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42009         type.
42010         [POSIX] (time_t): Likewise.
42011         [POSIX] (timer_t): Likewise.
42013 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42015         [BZ #17048]
42016         * posix/spawn_int.h (struct __spawn_action): Make the path string
42017         non-const to support deallocation.
42018         * posix/spawn_faction_addopen.c
42019         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42020         * posix/spawn_faction_destroy.c
42021         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42022         path in all spawn_do_open actions.
42023         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42024         posix_spawn_file_actions_addopen.
42026 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42028         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42029         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42030         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42031         conditional code always true.
42032         (__libc_vfork): New alias.
42034 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42036         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42037         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42039         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42041         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42042         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42044         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42045         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42047         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42048         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42050 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42052         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42053         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42054         multiarch strcmp for PPC64.
42055         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42056         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42058         multiarch optimizations.
42059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42060         (__libc_ifunc_impl_list): Likewise.
42062 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42064         * benchtests/scripts/validate_benchout.py: New script.
42065         * benchtests/Makefile (bench-func): Call it.
42066         * benchtests/scripts/benchout.schema.json: New file.
42068 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42070         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42071         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42072         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42073         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42074         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42075         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42076         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42077         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42078         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42079         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42080         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42081         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42082         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42083         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42084         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42085         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42087         Moved ...
42088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42089         ... here.
42090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42091         Moved ...
42092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42094         Moved ...
42095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42096         ... here.
42097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42098         Moved ...
42099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42100         ... here.
42101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42102         Moved ...
42103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42105         Moved ...
42106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42107         ... here.
42108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42109         Moved ...
42110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42111         ... here.
42112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42113         Moved ...
42114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42116         Moved ...
42117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42118         ... here.
42119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42120         Moved ...
42121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42122         ... here.
42123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42124         Moved ...
42125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42126         ... here.
42127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42131         Moved ...
42132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42133         ... here.
42134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42137         ... here.
42138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42139         Moved ...
42140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42141         ... here.
42142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42143         Moved ...
42144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42146         Moved ...
42147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42148         ... here.
42149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42150         Moved ...
42151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42152         ... here.
42153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42154         Moved ...
42155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42157         Moved ...
42158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42159         ... here.
42160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42161         Moved ...
42162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42164         Moved ...
42165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42167         Moved ...
42168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42169         ... here.
42170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42171         Moved ...
42172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42173         ... here.
42174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42175         Moved ...
42176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42177         ... here.
42178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42179         Moved ...
42180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42182         Moved ...
42183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42184         ... here.
42185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42186         Moved ...
42187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42188         ... here.
42189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42190         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42192         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42194         Moved ...
42195         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42196         ... here.
42197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42198         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42200         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42201         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42202         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42204         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42206         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42208         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42210         Moved ...
42211         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42213         Moved ...
42214         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42216         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42217         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42218         Moved ...
42219         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42221         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42222         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42223         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42224         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42225         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42227 2014-06-10  Wilco  <wdijkstr@arm.com>
42229         * math/test-fenv-return.c: New file.
42230         * math/Makefile: Add new test test-fenv-return.
42232 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42234         [BZ #17042]
42235         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42236         when x - 1 is zero.
42237         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42238         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42239         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42240         0.0L for an argument of 1.0L.
42241         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42242         Likewise.
42243         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42244         value when x - 1 is zero.
42245         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42246         * sysdeps/i386/fpu/libm-test-ulps: Update.
42247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42249 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42251         [BZ #15119]
42252         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42254 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42256         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42257         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42259 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42261         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42262         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42264         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42265         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42267         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42268         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42270         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42271         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42273         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42274         if not already defined.
42275         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42276         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42277         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42278         (TLS_INIT_TP): Use it.
42279         (TLS_DEFINE_INIT_TP): New macro.
42280         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42282 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42284         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42285         constant.
42286         [POSIX] (IXANY): Likewise.
42287         [POSIX] (OLCUC): Likewise.
42288         [POSIX || POSIX2008] (CBAUD): Do not allow.
42289         [POSIX || POSIX2008] (DEFECHO): Likewise.
42290         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42291         [POSIX || POSIX2008] (ECHOKE): Likewise.
42292         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42293         [POSIX || POSIX2008] (EXTA): Likewise.
42294         [POSIX || POSIX2008] (EXTB): Likewise.
42295         [POSIX || POSIX2008] (FLUSHO): Likewise.
42296         [POSIX || POSIX2008] (LOBLK): Likewise.
42297         [POSIX || POSIX2008] (PENDIN): Likewise.
42298         [POSIX || POSIX2008] (SWTCH): Likewise.
42299         [POSIX || POSIX2008] (VDISCARD): Likewise.
42300         [POSIX || POSIX2008] (VDSUSP): Likewise.
42301         [POSIX || POSIX2008] (VLNEXT): Likewise.
42302         [POSIX || POSIX2008] (VREPRINT): Likewise.
42303         [POSIX || POSIX2008] (VSTATUS): Likewise.
42304         [POSIX || POSIX2008] (VWERASE): Likewise.
42305         (B*): Change to B[0123456789]*.
42306         * conform/data/time.h-data [POSIX || UNIX98]
42307         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42308         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42309         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42310         [POSIX] (tm_*): Do not allow.
42312 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42314         * Makefile (install): Don't set LANGUAGE.
42315         * Makefile.in (install): Likewise.
42316         * assert/Makefile (test-assert-ENV): Remove variable.
42317         (test-assert-perr-ENV): Likewise.
42318         * elf/Makefile (neededtest4-ENV): Likewise.
42319         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42320         [$(cross-compiling) = no]: Don't set LANGUAGE.
42321         * io/ftwtest-sh (LANG): Remove variable.
42322         * libio/Makefile (tst-widetext-ENV): Likewise.
42323         * manual/install.texi (Running make install): Don't refer to
42324         environment settings for make install.
42325         * INSTALL: Regenerated.
42326         * nptl/tst-tls6.sh: Don't set LANG.
42327         * posix/globtest.sh (LANG): Remove variable.
42328         * string/Makefile (tester-ENV): Likewise.
42329         (inl-tester-ENV): Likewise.
42330         (noinl-tester-ENV): Likewise.
42331         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42332         [$(cross-compiling) = no]: Don't set LANGUAGE.
42333         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42334         without explicit environment settings.
42336 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42338         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42339         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42340         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42341         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42343 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42345         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42346         other files in the crypt directory.
42347         * crypt/crypt.c: Remove duplicate includes.
42348         * crypt/crypt-entry.c: Likewise.
42349         * crypt/crypt_util.c: Likewise.
42351 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42353         * Makeconfig (run-program-env): New variable.
42354         (run-program-prefix-before-env): Likewise.
42355         (run-program-prefix-after-env): Likewise.
42356         (run-program-prefix): Define in terms of new variables.
42357         (built-program-cmd-before-env): New variable.
42358         (built-program-cmd-after-env): Likewise.
42359         (built-program-cmd): Define in terms of new variables.
42360         (test-program-prefix-before-env): New variable.
42361         (test-program-prefix-after-env): Likewise.
42362         (test-program-prefix): Define in terms of new variables.
42363         (test-program-cmd-before-env): New variable.
42364         (test-program-cmd-after-env): Likewise.
42365         (test-program-cmd): Define in terms of new variables.
42366         * Rules (make-test-out): Use $(run-program-env).
42367         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42368         (help): Do not mention environment variables.  Mention
42369         --timeoutfactor option.
42370         (timeoutfactor): New variable.
42371         (blacklist_exports): Remove function.
42372         (exports): Remove variable.
42373         (command): Do not include ${exports}.
42374         * manual/install.texi (Configuring and compiling): Do not mention
42375         test wrappers preserving environment variables.  Mention that last
42376         assignment to a variable must take precedence.
42377         * INSTALL: Regenerated.
42378         * benchtests/Makefile (run-bench): Use $(run-program-env).
42379         * catgets/Makefile ($(objpfx)test1.cat): Use
42380         $(built-program-cmd-before-env), $(run-program-env) and
42381         $(built-program-cmd-after-env).
42382         ($(objpfx)test2.cat): Do not specify environment variables
42383         explicitly.
42384         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42385         $(run-program-env) and $(built-program-cmd-after-env).
42386         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42387         $(run-program-env) and $(test-program-cmd-after-env).
42388         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42389         explicitly.
42390         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42391         run_program_env and test_program_cmd_after_env arguments.
42392         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42393         * elf/tst-pathopt.sh: Use run_program_env argument.
42394         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42395         $(test-wrapper-env) and $(run-program-env).
42396         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42397         run_program_env arguments.
42398         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42399         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42400         $(test-program-prefix-before-env), $(run-program-env) and
42401         $(test-program-prefix-after-env).
42402         ($(objpfx)tst-gettext2.out): Likewise.
42403         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42404         run_program_env and test_program_prefix_after_env arguments.
42405         * intl/tst-gettext2.sh: Likewise.
42406         * intl/tst-gettext4.sh: Do not set environment variables
42407         explicitly.
42408         * intl/tst-gettext6.sh: Likewise.
42409         * intl/tst-translit.sh: Likewise.
42410         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42411         $(test-program-prefix-before-env), $(run-program-env) and
42412         $(test-program-prefix-after-env).
42413         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42414         run_program_env and test_program_prefix_after_env arguments.
42415         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42416         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42417         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42418         explicitly with each use of ${test_wrapper_env}.
42419         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42420         $(test-program-prefix-before-env), $(run-program-env) and
42421         $(test-program-prefix-after-env).
42422         * posix/tst-getconf.sh: Do not set environment variables
42423         explicitly.
42424         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42425         run_program_env and test_program_prefix_after_env arguments.
42426         * stdio-common/tst-printf.sh: Do not set environment variables
42427         explicitly.
42428         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42429         $(test-program-prefix-before-env), $(run-program-env) and
42430         $(test-program-prefix-after-env).
42431         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42432         run_program_env and test_program_prefix_after_env arguments.
42433         Split $test calls into $test_pre and $test.
42434         * timezone/Makefile (build-testdata): Use
42435         $(built-program-cmd-before-env), $(run-program-env) and
42436         $(built-program-cmd-after-env).
42438 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42440         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42441         strlen for non SHARED builds.
42443 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42445         * nptl/allocatestack.c (check_list): Inlined function...
42446         (__reclaim_stacks): ... here.
42448 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42450         [BZ #15698]
42451         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42452         memory overrun.
42454 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42456         * Rules (make-test-out): Include
42457         LOCPATH=$(common-objpfx)localedata in default environment.
42458         * debug/Makefile (tst-chk1-ENV): Remove variable.
42459         (tst-chk2-ENV): Likewise.
42460         (tst-chk3-ENV): Likewise.
42461         (tst-chk4-ENV): Likewise.
42462         (tst-chk5-ENV): Likewise.
42463         (tst-chk6-ENV): Likewise.
42464         (tst-lfschk1-ENV): Likewise.
42465         (tst-lfschk2-ENV): Likewise.
42466         (tst-lfschk3-ENV): Likewise.
42467         (tst-lfschk4-ENV): Likewise.
42468         (tst-lfschk5-ENV): Likewise.
42469         (tst-lfschk6-ENV): Likewise.
42470         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42471         (tst-iconv7-ENV): Likewise.
42472         * intl/Makefile (LOCPATH-ENV): Likewise.
42473         (tst-codeset-ENV): Likewise.
42474         (tst-gettext3-ENV): Likewise.
42475         (tst-gettext5-ENV): Likewise.
42476         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42477         (tst-fopenloc-ENV): Likewise.
42478         (tst-fgetws-ENV): Remove variable.
42479         (tst-ungetwc1-ENV): Likewise.
42480         (tst-ungetwc2-ENV): Likewise.
42481         (bug-ungetwc2-ENV): Likewise.
42482         (tst-swscanf-ENV): Likewise.
42483         (bug-ftell-ENV): Likewise.
42484         (tst-fgetwc-ENV): Likewise.
42485         (tst-fseek-ENV): Likewise.
42486         (tst-ftell-partial-wide-ENV): Likewise.
42487         (tst-ftell-active-handler-ENV): Likewise.
42488         (tst-ftell-append-ENV): Likewise.
42489         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42490         (tst-regexloc-ENV): Likewise.
42491         (bug-regex1-ENV): Likewise.
42492         (tst-regex-ENV): Likewise.
42493         (tst-regex2-ENV): Likewise.
42494         (bug-regex5-ENV): Likewise.
42495         (bug-regex6-ENV): Likewise.
42496         (bug-regex17-ENV): Likewise.
42497         (bug-regex18-ENV): Likewise.
42498         (bug-regex19-ENV): Likewise.
42499         (bug-regex20-ENV): Likewise.
42500         (bug-regex22-ENV): Likewise.
42501         (bug-regex23-ENV): Likewise.
42502         (bug-regex25-ENV): Likewise.
42503         (bug-regex26-ENV): Likewise.
42504         (bug-regex30-ENV): Likewise.
42505         (bug-regex32-ENV): Likewise.
42506         (bug-regex33-ENV): Likewise.
42507         (bug-regex34-ENV): Likewise.
42508         (bug-regex35-ENV): Likewise.
42509         (tst-rxspencer-ENV): Likewise.
42510         (tst-rxspencer-no-utf8-ENV): Likewise.
42511         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42512         (tst-sscanf-ENV): Likewise.
42513         (tst-swprintf-ENV): Likewise.
42514         (tst-swscanf-ENV): Likewise.
42515         (test-vfprintf-ENV): Likewise.
42516         (scanf13-ENV): Likewise.
42517         (bug14-ENV): Likewise.
42518         (tst-grouping-ENV): Likewise.
42519         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42520         (tst-strtod3-ENV): Likewise.
42521         (tst-strtod4-ENV): Likewise.
42522         (tst-strtod5-ENV): Likewise.
42523         (testmb2-ENV): Likewise./
42524         * string/Makefile (tst-strxfrm-ENV): Likewise.
42525         (tst-strxfrm2-ENV): Likewise.
42526         (bug-strcoll1-ENV): Likewise.
42527         (test-strcasecmp-ENV): Likewise.
42528         (test-strncasecmp-ENV): Likewise.
42529         * time/Makefile (tst-strptime-ENV): Likewise.
42530         (tst-ftime_l-ENV): Likewise.
42531         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42532         (tst-mbrtowc-ENV): Likewise.
42533         (tst-wcrtomb-ENV): Likewise.
42534         (tst-mbrtowc2-ENV): Likewise.
42535         (tst-c16c32-1-ENV): Likewise.
42536         (tst-mbsnrtowcs-ENV): Likewise.
42538 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42540         * manual/resource.texi (How to get information about the memory
42541         subsystem?): Fix typo.
42542         Reported by Peon de la Parra Ivan <peon@keba.com>
42544 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42546         [BZ #16882]
42547         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42548         (pthread_spin_lock): Branch out of spin loop to proper location.
42549         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42550         (pthread_spin_lock): Likewise.
42552         * nptl/tst-spin4.c: New test.
42553         * nptl/Makefile (tests): Add tst-spin4.
42555 2014-06-03  Andreas Schwab  <schwab@suse.de>
42557         [BZ #15946]
42558         * resolv/res_send.c (send_dg): Reload file descriptor after
42559         calling reopen.
42561 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42563         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42565 2014-06-03  Richard Henderson  <rth@redhat.com>
42567         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42568         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42569         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42570         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42571         in the SAVE_PID block.
42572         (__libc_vfork): New alias.
42573         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42575         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42576         child in registers, not on the stack.  Remove RESET_PID conditionals.
42577         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42579 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42581         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42583 2014-06-03  Wilco  <wdijkstr@arm.com>
42585         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42586         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42587         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42588         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42589         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42590         Likewise.
42592 2014-06-03  Wilco  <wdijkstr@arm.com>
42594         * sysdeps/aarch64/fpu/math_private.h
42595         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42596         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42597         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42598         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42599         Fix declarations.
42601 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42603         * crypt/crypt-private.h: Include ufc-crypt.h.
42604         (__b64_from_24bit): Declare extern.
42605         * crypt/crypt_util.c(__b64_from_24bit): New function.
42606         (b64t): New static const variable.
42607         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42608         (b64t): Remove variable.
42609         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42610         * crypt/sha256-crypt.c: Include crypt-private.h.
42611         (b64t): Remove variable.
42612         (__sha256_crypt_r): Remove b64_from_24bit and replace
42613         with __b64_from_24bit.
42614         * crypt/sha512-crypt.c: Likewise.
42616 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42618         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42619         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42620         Label the code __libc_vfork rather than __vfork.
42621         [!NOT_IN_libc] (vfork): Define as weak alias.
42622         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42623         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42624         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42626 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42628         * malloc/malloc.c (malloc_info): Fix format specifier for
42629         n_mmaps.
42631 2014-06-02  Wilco  <wdijkstr@arm.com>
42633         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42634         FPCR write.
42636 2014-06-02  Wilco  <wdijkstr@arm.com>
42638         [BZ #17009]
42639         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42640         Rewrite to reduce FPCR/FPSR accesses.
42642 2014-06-01  David S. Miller  <davem@davemloft.net>
42644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42646 2014-05-31  David S. Miller  <davem@davemloft.net>
42648         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42649         to occur in round to nearest mode when |x| >= 2.0
42651 2014-05-30  Richard Henderson  <rth@twiddle.net>
42653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42654         (PSEUDO_RET_NOERRNO): Remove.
42655         (ret): Don't redefine.
42656         (ret_NOERRNO): Define in terms of ret.
42657         (ret_ERRVAL): Likewise.
42659         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42660         use of PSEUDO_RET; perform the error check directly.
42662 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42664         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42665         with __int128_t.
42667 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42669         * malloc/malloc (malloc_info): Fix formatting.
42671 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42672             Roland McGrath  <roland@hack.frob.com>
42674         * malloc/malloc (malloc_info): Also print mmapped statistics.
42676 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42678         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42679         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42681 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42683         * malloc/malloc.c (malloc_info): Inline mi_arena.
42685 2014-05-29  Richard Henderson  <rth@twiddle.net>
42687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42688         Remove comma before expanding ASM_ARGS_##nr.
42689         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42690         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42691         of ASM_ARGS_##nr.
42692         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42693         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42694         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42695         (ASM_ARGS_1): Add leading comma.
42697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42698         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42699         to __errno_location.
42700         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42701         Remove the expected plt for __errno_location.
42703         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42704         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42705         call to __read_tp.
42707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42708         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42709         it and break it down.
42710         (DOCARGS_0, DOCARGS_1): Do nothing.
42711         (DOCARGS_2): Update to store into the new stack frame.
42712         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42713         (UNDOCARGS_1): Update to restore from the new stack frame.
42714         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42715         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42717         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42718         (SINGLE_THREAD_P): New parameter for result regno.
42719         (PSEUDO): Update to match; use cbz instead of beq.
42721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42722         Use ENTRY to define the _nocancel entry point.  Share the syscall
42723         and syscall error check paths with the cancel path.
42724         (PSEUDO_END): New.
42726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42727         whitespace; tabs before and after asm mnemonics.
42729 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42731         [BZ #15132]
42732         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42733         Call fstat64 or stat64 internally, depending on arguments passed.
42734         Replace stat buffer argument with file descriptor argument.
42735         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42736         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42737         Pass fd to __internal_statvfs instead of calling fstat64.
42738         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42739         Pass fd to __internal_statvfs64 instead of calling fstat64.
42740         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42741         Pass -1 to __internal_statvfs instead of calling stat64.
42742         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42743         Pass -1 to __internal_statvfs64 instead of calling stat64.
42745 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42747         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42748         that was previously under [RESET_PID].
42749         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42751         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42752         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42754 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42756         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42758         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42759         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42761 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42763         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42765 2014-05-27  Andreas Schwab  <schwab@suse.de>
42767         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42768         TLS_INIT_TP macro.
42769         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42770         * elf/rtld.c (init_tls, dl_main): Likewise.
42771         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42772         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42773         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42774         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42775         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42776         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42777         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42778         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42779         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42780         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42781         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42782         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42783         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42784         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42785         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42786         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42787         * sysdeps/generic/tls.h: Update description.
42789 2014-05-27  Will Newton  <will.newton@linaro.org>
42791         [BZ #16990]
42792         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42793         and restore r2 rather than just restoring.
42795 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42797         [BZ #16724]
42798         * libio/tst-ftell-append.c: New test case.
42799         * libio/Makefile (tests): Add test case.
42800         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42801         append mode.
42802         * libio/wfileops.c (do_ftell_wide): Likewise.
42804 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42808         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42809         ...
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42812         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42813         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42814         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42815         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42816         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42817         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42818         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42819         Moved ...
42820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42822         Moved ...
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42824         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42825         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42826         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42827         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42828         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42829         ...
42830         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42831         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42832         Moved ...
42833         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42834         here.
42835         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42836         ...
42837         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42838         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42839         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42841         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42842         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42843         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42844         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42847         merge into ...
42848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42850         ...
42851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42853         ...
42854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42856         Moved ...
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42858         here.
42859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42860         Moved ...
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42863         Moved ...
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42867         conditional [RESET_PID].
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42869         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42870         removed.
42871         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42872         removed.
42874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42875         <tcb-offsets.h>.
42876         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42877         (__libc_vfork): New strong alias.
42878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42879         removed.
42880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42881         Removed.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42884         <tcb-offsets.h>.
42885         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42886         (__libc_vfork): New strong alias.
42887         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42888         removed.
42889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42890         removed.
42892 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42894         * malloc/malloc.c (mi_arena): New function.
42895         (malloc_info): Remove nested function mi_arena. Call non-nosted
42896         function mi_arena.
42898 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42900         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42901         by insrwi.
42902         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42903         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42904         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42905         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42906         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42907         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42908         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42910 2014-05-26  Andreas Schwab  <schwab@suse.de>
42912         [BZ #16984]
42913         * locale/programs/repertoire.c (repertoire_read): Add slash
42914         between I18NPATH element and file name.
42915         * locale/programs/locfile.c (locfile_read): Likewise.
42917 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42919         * nptl/pthread_mutexattr_settype.c
42920         (__pthread_mutexattr_settype):
42921         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42923 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42925         * nptl/tst-mutex5 (do_test):
42926         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42928 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42930         * benchtests/README: Document 'init' directive.
42931         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42932         BENCH_INIT.
42933         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42934         (parse_file): Recognize 'init' directive.
42936 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42938         [BZ #16796]
42939         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42940         alignment of struct pthread.
42942 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42944         [BZ #16878]
42945         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42946         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42947         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42948         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42950 2014-05-25  Richard Henderson  <rth@twiddle.net>
42952         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42953         (SINGLE_THREAD_P_PIC): Remove.
42954         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42955         (SINGLE_THREAD_P_PIC): Remove.
42957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42958         branch to syscall error ...
42959         (PSEUDO): ... here.
42960         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42961         from __local_syscall_error to .Lsyscall_error.
42962         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42963         (SYSCALL_ERROR): Update label name.
42965         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42966         Do not use DOARGS/UNDOARGS.
42967         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42968         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42969         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42970         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42971         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42974         block comment.
42976         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42977         define if !NOT_IN_libc.
42978         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42979         define with non-default symbol versions.
42981 2014-05-23  Richard Henderson  <rth@twiddle.net>
42983         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42984         (vfork, __vfork): Define via compat_symbol.
42986         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42987         [!HAVE_IFUNC] (vfork_compat): Remove.
42988         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42990 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42992         [BZ #16978]
42993         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42994         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42995         variable.
42997 2014-05-23  Richard Henderson  <rth@twiddle.net>
42999         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43000         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43001         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43002         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43004         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43005         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43006         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43007         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43008         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43009         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43010         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43011         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43012         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43013         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43014         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43015         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43016         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43017         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43018         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43019         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43020         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43021         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43022         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43023         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43024         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43025         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43026         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43027         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43028         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43030         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43031         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43032         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43033         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43034         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43035         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43036         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43037         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43038         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43039         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43040         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43041         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43042         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43043         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43044         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43045         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43046         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43047         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43048         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43049         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43050         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43051         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43053         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43055         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43057         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43058         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43059         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43061         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43062         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43063         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43064         before exiting on error.
43065         (__libc_vfork): New strong alias.
43066         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43067         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43069         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43070         that was previously under [RESET_PID].
43071         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43073         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43075 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43077         [BZ #16977]
43078         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43079         value when x - 1 is zero.
43080         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43081         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43082         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43083         0.0L for an argument of 1.0L.
43084         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43085         Likewise.
43086         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43087         value when x - 1 is zero.
43088         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43089         * sysdeps/i386/fpu/libm-test-ulps: Update.
43090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43092 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43094         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43095         alphasort and versionsort.
43097 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43099         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43100         macro.
43101         [copysignf]: Likewise.
43103 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43105         * crypt/md5-crypt.c: Fix formatting.
43107 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43109         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43110         (b64_from_24bit): New function.
43112 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43114         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43115         libc_hidden_builtin_def to ifunc.
43116         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43117         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43119 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43121         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43122         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43124 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43126         * nscd/Depend (linuxthreads): Remove.
43127         (nptl): Add.
43128         * resolv/Depend (linuxthreads): Remove.
43129         * rt/Depend (linuxthreads): Remove.
43131         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43132         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43133         $(common-objpfx)elf/.
43134         (link-libc-before-gnulib): Likewise.
43135         (elfobjdir): Remove variable.
43136         * Makefile (install): Use $(elf-objpfx) instead of
43137         $(common-objpfx)elf/.
43138         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43139         $(elfobjdir)/.
43140         (link-libc-deps): Likewise.
43141         ($(common-objpfx)libc.so): Likewise.
43142         ($(common-objpfx)linkobj/libc.so): Likewise.
43143         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43144         instead of $(common-objpfx)elf/.
43145         (symbolic-link-list): Likewise.
43146         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43147         [$(cross-compiling) = no]: Likewise.
43148         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43149         $(elfobjdir)/.
43150         (static-gnulib-arch): Likewise.
43151         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43152         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43153         $(common-objpfx)elf/.
43155 2014-05-21  Richard Henderson  <rth@redhat.com>
43157         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43158         (SINGLE_THREAD_P): Use the correct width load.  Fold
43159         into the ldr offset.
43161         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43162         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43164 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43166         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43167         (libgcc_s_resume): Use __attribute_used__.
43168         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43169         Likewise.
43171 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43173         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43174         optimization when used with float constants.
43176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43178 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43180         [BZ #16915]
43181         * locale/nl_langinfo_l.c: Make direct reference to every
43182         _nl_current_CATEGORY symbol.
43183         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43184         (tests-static): Add tst-langinfo-static.
43185         (tests-special): Add tst-langinfo-static.out.
43186         ($(objpfx)tst-langinfo.out): Redirect output.
43187         ($(objpfx)tst-langinfo-static.out): New.
43188         * localedata/tst-langinfo.sh: Send output to stdout.
43189         * localedata/tst-langinfo-static.c: New file.
43191         [BZ #16965]
43192         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43193         when the shift amount is modulo the limb size.
43195 2014-05-20  Richard Henderson  <rth@redhat.com>
43197         [BZ #16967]
43198         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43199         Change type of sa_flags from unsigned int to int.
43201         [BZ #16966]
43202         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43204         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43206 2014-05-20  Will Newton  <will.newton@linaro.org>
43208         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43209         Test the return value of the system call in the nocancel case.
43211 2014-05-20  Will Newton  <will.newton@linaro.org>
43212             Yvan Roux  <yvan.roux@linaro.org>
43214         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43215         #include of asm/ptrace.h.
43216         (PTRACE_GET_THREAD_AREA): Remove #undef.
43217         (PTRACE_GETHBPREGS): Likewise.
43218         (PTRACE_SETHBPREGS): Likewise.
43219         (struct user_regs_struct): New structure.
43220         (struct user_fpsimd_struct): New structure.
43221         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43222         #include of asm/ptrace.h and second #include of sys/user.h.
43223         (PTRACE_GET_THREAD_AREA): Remove #undef.
43224         (PTRACE_GETHBPREGS): Likewise.
43225         (PTRACE_SETHBPREGS): Likewise.
43226         (ELF_NGREG): Use new struct user_regs_struct.
43227         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43229 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43234 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43236         [BZ #16958]
43237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43238         membar to avoid block loads/stores to overlap previous stores.
43240 2014-05-17  Richard Henderson  <rth@redhat.com>
43242         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43243         Create the __##syscall_name##_nocancel entry point.
43244         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43245         Remove; let the sysdep-cancel.h code create it.
43247 2014-05-17  David S. Miller  <davem@davemloft.net>
43249         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43250         Protect with __USE_GNU.
43251         (TIOCSET_TEMPT): Likewise.
43252         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43253         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43254         these are already provided in bits/ioctl-types.h
43256 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43258         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43259         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43261         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43262         Use wait4 regardless of [__NR_waitpid].
43264 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43266         PR libgcc/60166
43267         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43268         (_FP_NANSIGN_Q): Set the quiet bit.
43270 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43272         * benchtests/Makefile
43273         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43274         not $(common-objpfx)math/libm.so.
43275         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43276         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43277         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43278         $(common-objpfx)dlfcn/libdl.so.
43279         ($(objpfx)tst-audit8): Depend on $(libm), not
43280         $(common-objpfx)math/libm.so.
43281         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43282         not $(common-objpfx)dlfcn/libdl.so.
43283         * math/Makefile
43284         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43285         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43286         [$(build-shared) = yes].
43287         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43288         $(common-objpfx)nptl/libpthread.so.
43289         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43290         $(common-objpfx)math/libm.so$(libm.so-version) or
43291         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43292         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43293         $(common-objpfx)dlfcn/libdl.so.
43294         * setjmp/Makefile (link-libm): Remove variable.
43295         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43296         * stdio-common/Makefile (link-libm): Remove variable.
43297         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43298         * stdlib/Makefile (link-libm): Remove variable.
43299         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43300         ($(objpfx)tst-strtod-round): Likewise.
43301         ($(objpfx)tst-tininess): Likewise.
43302         ($(objpfx)tst-strtod-underflow): Likewise.
43303         ($(objpfx)tst-strtod6): Likewise.
43304         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43305         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43306         $(common-objpfx)dlfcn/libdl.so.
43308 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43310         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43311         BSD terminal modes definitions.
43313 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43315         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43316         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43318         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43319         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43320         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43321         Don't do #include_next.
43322         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43323         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43324         Don't do #include_next.
43325         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43326         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43327         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43328         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43330 2014-05-16  Allan McRae  <allan@archlinux.org>
43332         * po/sv.po: Update Swedish translation from translation project.
43334         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43335         in sed expression.
43337 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43339         [BZ #16917]
43340         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43341         errno if the TIOCGPTN ioctl fails with an error different than
43342         EINVAL.
43343         * login/tst-ptsname.c: New file.
43344         * login/Makefile (tests): Add tst-ptsname.
43346         [BZ #16943]
43347         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43348         and prlimit64.
43350 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43352         [BZ #16849]
43353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43354         herrno to return EAI_AGAIN.
43356 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43358         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43359         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43360         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43361         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43362         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43363         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43364         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43365         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43366         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43367         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43368         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43369         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43370         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43371         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43372         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43373         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43374         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43375         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43376         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43377         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43378         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43379         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43380         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43381         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43382         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43383         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43384         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43385         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43386         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43387         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43389         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43391         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43393         Moved ...
43394         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43396         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43398         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43400         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43402         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43404         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43406         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43408         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43410         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43412         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43414         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43416         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43418         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43420         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43422         Moved ...
43423         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43425         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43427         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43429         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43431         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43433         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43435         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43437         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43439         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43441         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43443         Moved ...
43444         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43446         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43448         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43449         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43450         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43451         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43452         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43453         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43454         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43455         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43456         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43457         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43458         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43459         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43460         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43461         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43462         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43463         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43464         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43465         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43466         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43467         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43468         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43469         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43470         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43471         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43472         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43473         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43474         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43475         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43476         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43477         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43478         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43480         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43481         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43483         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43484         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43485         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43486         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43487         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43489         Moved ...
43490         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43492         Moved ...
43493         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43494         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43495         Moved ...
43496         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43498         Moved ...
43499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43500         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43501         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43502         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43503         Moved ...
43504         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43505         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43506         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43507         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43509         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43510         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43512         Moved ...
43513         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43515         Moved ...
43516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43517         ... here.
43518         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43519         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43521         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43522         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43523         Moved ...
43524         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43525         ... here.
43526         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43527         Moved ...
43528         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43529         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43530         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43531         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43532         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43534         Moved ...
43535         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43537         Moved ...
43538         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43539         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43540         Moved ...
43541         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43543         Moved ...
43544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43545         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43546         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43547         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43548         Moved ...
43549         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43550         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43551         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43553         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43555         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43557         Moved ...
43558         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43560         Moved ...
43561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43562         ... here.
43563         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43564         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43566         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43567         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43568         Moved ...
43569         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43570         ... here.
43571         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43572         Moved ...
43573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43574         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43575         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43576         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43577         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43578         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43579         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43581         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43583         Moved ...
43584         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43585         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43586         Moved ...
43587         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43589         Moved ...
43590         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43592         Moved ...
43593         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43594         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43595         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43596         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43597         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43598         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43599         Moved ...
43600         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43602         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43603         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43605         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43606         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43607         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43608         Moved ...
43609         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43610         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43611         Moved ...
43612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43613         ... here.
43614         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43615         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43616         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43617         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43619         Moved ...
43620         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43621         ... here.
43622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43623         Moved ...
43624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43625         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43626         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43628         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43629         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43630         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43631         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43632         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43633         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43634         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43636         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43637         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43639         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43640         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43642         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43643         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43644         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43645         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43646         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43647         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43648         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43649         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43650         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43651         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43652         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43653         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43654         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43655         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43656         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43658         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43660         Moved ...
43661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43663         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43665         Moved ...
43666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43667         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43669         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43670         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43674         Moved ...
43675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43677         Moved ...
43678         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43680         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43681         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43682         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43684         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43685         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43686         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43687         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43688         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43689         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43690         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43691         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43692         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43693         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43694         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43696         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43697         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43698         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43699         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43700         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43702         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43703         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43704         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43705         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43706         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43707         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43708         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43709         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43710         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43711         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43716         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43717         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43718         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43719         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43720         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43721         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43722         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43723         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43724         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43725         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43726         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43727         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43728         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43729         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43730         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43731         Update #include.
43732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43733         Likewise.
43734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43735         Likewise.
43736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43737         Likewise.
43738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43739         Likewise.
43740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43741         Likewise.
43742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43743         Likewise.
43744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43745         Likewise.
43746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43747         Likewise.
43748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43749         Likewise.
43750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43755         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43756         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43757         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43758         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43760         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43762         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43767         that was previously under [RESET_PID].
43768         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43769         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43770         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43772         * sysdeps/i386/nptl/Implies: New file.
43773         * sysdeps/x86_64/nptl/Implies: New file.
43774         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43775         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43776         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43777         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43779         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43780         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43781         (__libc_vfork): New strong alias.
43782         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43783         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43785         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43786         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43787         (__libc_vfork): New strong alias.
43788         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43789         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43791         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43792         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43793         (__libc_vfork): New strong alias.
43794         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43795         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43796         * nptl/pt-vfork.c: New file.
43797         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43798         (libpthread: GLIBC_2.20): New version set (empty).
43800 2014-05-14  Will Newton  <will.newton@linaro.org>
43802         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43803         rather than #if.
43805 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43807         [BZ #16564]
43808         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43809         arguments with exponent 65 or above.
43810         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43811         arguments 0x1p113L or above.
43812         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43813         to arguments 0x1p107L or above.
43814         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43815         positive arguments with exponent 65 or above.
43816         * math/auto-libm-test-in: Add more tests of log1p.
43817         * math/auto-libm-test-out: Regenerated.
43819         [BZ #16928]
43820         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43821         non-finite arguments is +0.
43822         * math/s_cacosf.c (__cacosf): Likewise.
43823         * math/s_cacosl.c (__cacosl): Likewise.
43824         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43825         * sysdeps/i386/fpu/libm-test-ulps: Update.
43826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43828         [BZ #16927]
43829         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43830         value.
43831         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43832         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43833         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43834         for explicit high bit of mantissa when testing for argument equal
43835         to 1.
43836         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43837         * sysdeps/i386/fpu/libm-test-ulps: Update.
43838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43840         [BZ #16516]
43841         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43842         (__erf): Scale by 16 instead of 8 in potentially underflowing
43843         case.  Ensure exception if result actually underflows.
43844         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43845         (__erff): Scale by 16 instead of 8 in potentially underflowing
43846         case.  Ensure exception if result actually underflows.
43847         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43848         (efx8): Remove variable.
43849         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43850         case.  Ensure exception if result actually underflows.
43851         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43852         (efx8): Remove variable.
43853         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43854         case.  Ensure exception if result actually underflows.
43855         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43856         (efx8): Remove variable.
43857         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43858         case.  Ensure exception if result actually underflows.
43859         * math/auto-libm-test-in: Add more tests of erf.
43860         * math/auto-libm-test-out: Regenerated.
43862 2014-05-14  Andreas Schwab  <schwab@suse.de>
43864         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43865         Remove code conditionalized on USE___THREAD.
43867         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43868         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43869         not definedness.
43871 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43873         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43874         Define unconditionally.
43875         (__ASSUME_O_CLOEXEC): Likewise.
43876         (__ASSUME_SOCK_CLOEXEC): Likewise.
43877         (__ASSUME_IN_NONBLOCK): Likewise.
43878         (__ASSUME_PIPE2): Likewise.
43879         (__ASSUME_EVENTFD2): Likewise.
43880         (__ASSUME_SIGNALFD4): Likewise.
43881         (__ASSUME_DUP3): Likewise.
43882         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43883         (__ASSUME_DUP3): Do not define.
43884         (__ASSUME_EVENTFD2): Likewise.
43885         (__ASSUME_IN_NONBLOCK): Likewise.
43886         (__ASSUME_O_CLOEXEC): Likewise.
43887         (__ASSUME_PIPE2): Likewise.
43888         (__ASSUME_SIGNALFD4): Likewise.
43889         (__ASSUME_SOCK_CLOEXEC): Likewise.
43890         (__ASSUME_UTIMES): Undefine.
43891         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43892         (__ASSUME_UTIMES): Do not define.
43893         (__ASSUME_O_CLOEXEC): Likewise.
43894         (__ASSUME_SOCK_CLOEXEC): Likewise.
43895         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43896         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43897         0x020621].
43898         (__ASSUME_PIPE2): Likewise.
43899         (__ASSUME_EVENTFD2): Likewise.
43900         (__ASSUME_SIGNALFD4): Likewise.
43901         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43902         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43903         Do not define.
43904         (__ASSUME_EVENTFD2): Likewise.
43905         (__ASSUME_SIGNALFD4): Likewise.
43906         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43907         (__ASSUME_32BITUIDS): Likewise.
43908         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43909         (__ASSUME_IPC64): Likewise.
43910         (__ASSUME_ST_INO_64_BIT): Likewise.
43911         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43912         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43913         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43914         (__ASSUME_UTIMES): Do not define.
43915         (__ASSUME_PSELECT): Likewise.
43916         (__ASSUME_PPOLL): Likewise.
43917         (__ASSUME_O_CLOEXEC): Likewise.
43918         (__ASSUME_SOCK_CLOEXEC): Likewise.
43919         (__ASSUME_IN_NONBLOCK): Likewise.
43920         (__ASSUME_PIPE2): Likewise.
43921         (__ASSUME_EVENTFD2): Likewise.
43922         (__ASSUME_SIGNALFD4): Likewise.
43923         (__ASSUME_DUP3): Likewise.
43924         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43925         (__ASSUME_UTIMES): Likewise.
43926         (__ASSUME_O_CLOEXEC): Likewise.
43927         (__ASSUME_SOCK_CLOEXEC): Likewise.
43928         (__ASSUME_IN_NONBLOCK): Likewise.
43929         (__ASSUME_PIPE2): Likewise.
43930         (__ASSUME_EVENTFD2): Likewise.
43931         (__ASSUME_SIGNALFD4): Likewise.
43932         (__ASSUME_DUP3): Likewise.
43933         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43934         (__ASSUME_UTIMES): Likewise.
43935         (__ASSUME_O_CLOEXEC): Likewise.
43936         (__ASSUME_SOCK_CLOEXEC): Likewise.
43937         (__ASSUME_IN_NONBLOCK): Likewise.
43938         (__ASSUME_PIPE2): Likewise.
43939         (__ASSUME_EVENTFD2): Likewise.
43940         (__ASSUME_SIGNALFD4): Likewise.
43941         (__ASSUME_DUP3): Likewise.
43942         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43943         Likewise.
43944         (__ASSUME_UTIMES): Likewise.
43945         (__ASSUME_EVENTFD2): Likewise.
43946         (__ASSUME_SIGNALFD4): Likewise.
43947         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43948         (__ASSUME_O_CLOEXEC): Likewise.
43949         (__ASSUME_SOCK_CLOEXEC): Likewise.
43950         (__ASSUME_IN_NONBLOCK): Likewise.
43951         (__ASSUME_PIPE2): Likewise.
43952         (__ASSUME_EVENTFD2): Likewise.
43953         (__ASSUME_SIGNALFD4): Likewise.
43954         (__ASSUME_DUP3): Likewise.
43955         (__ASSUME_UTIMES): Undefine.
43957         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43958         feclearexcept.  Remove symbol versioning code.
43959         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43960         symbol versioning code.
43961         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43962         symbol versioning code.
43963         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43964         feupdateenv.  Remove symbol versioning code.
43965         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43966         fegetexceptflag.  Remove symbol versioning code.
43967         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43968         fesetexceptflag.  Remove symbol versioning code.
43969         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43970         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43971         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43972         (__posix_fadvise64_l32): Remove prototype.
43973         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43974         code.
43976 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43978         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43979         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43980         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43981         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43983 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43985         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43986         current working directory
43988 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43990         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43991         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43992         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43993         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43994         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43995         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43996         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43997         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43998         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43999         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44000         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44001         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44002         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44003         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44005         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44006         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44007         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44008         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44009         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44010         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44011         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44013         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44015         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44017         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44018         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44019         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44020         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44021         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44022         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44023         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44024         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44025         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44026         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44027         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44028         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44029         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44030         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44031         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44033         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44034         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44036         * sysdeps/unix/sysv/linux/arm/Makefile
44037         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44038         Add rt-aeabi_unwind_cpp_pr1.
44039         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44040         Add nptl-aeabi_unwind_cpp_pr1.
44041         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44042         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44043         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44044         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44045         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44046         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44048         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44049         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44050         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44051         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44053         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44054         Deconditionalize the code that was previously under [RESET_PID].
44055         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44057         * sysdeps/generic/exit-thread.h: New file.
44058         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44059         * include/unistd.h (__exit_thread): Remove declaration.
44060         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44061         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44062         * csu/libc-start.c: Include <exit-thread.h>.
44063         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44064         * nptl/pthread_create.c: Include <exit-thread.h>.
44065         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44066         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44067         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44068         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44069         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44070         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44071         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44072         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44073         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44074         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44075         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44076         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44077         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44078         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44079         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44080         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44081         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44083 2014-05-13  Andreas Schwab  <schwab@suse.de>
44085         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44087 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44089         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44090         (__ASSUME_UTIMES): Do not condition on kernel version.
44091         (__ASSUME_PSELECT): Define unconditionally.
44092         (__ASSUME_PPOLL): Likewise.
44093         (__ASSUME_ATFCTS): Likewise.
44094         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44095         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44096         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44097         (__ASSUME_UTIMENSAT): Define unconditionally.
44098         (__ASSUME_PRIVATE_FUTEX): Likewise.
44099         (__ASSUME_FALLOCATE): Likewise.
44100         (__ASSUME_O_CLOEXEC): Likewise.
44101         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44102         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44103         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44104         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44105         (__ASSUME_IN_NONBLOCK): Likewise.
44106         (__ASSUME_PIPE2): Likewise.
44107         (__ASSUME_EVENTFD2): Likewise.
44108         (__ASSUME_SIGNALFD4): Likewise.
44109         (__ASSUME_DUP3): Likewise.
44110         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44111         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44112         (__ASSUME_AT_RANDOM): Likewise.
44113         (__ASSUME_PREADV): Likewise.
44114         (__ASSUME_PWRITEV): Likewise.
44115         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44116         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44117         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44118         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44119         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44121         (__ASSUME_O_CLOEXEC): Define unconditionally.
44122         (__ASSUME_PSELECT): Do not undefine conditionally.
44123         (__ASSUME_PPOLL): Likewise.
44124         (__ASSUME_ATFCTS): Likewise.
44125         (__ASSUME_SET_ROBUST_LIST): Likewise.
44126         (__ASSUME_UTIMENSAT): Likewise.
44127         (__ASSUME_FDATASYNC): Define unconditionally.
44128         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44129         (__ASSUME_SIGFRAME_V2): Likewise.
44130         )__ASSUME_EVENTFD2): Likewise.
44131         (__ASSUME_SIGNALFD4): Likewise.
44132         (__ASSUME_PSELECT): Do not undefine conditionally.
44133         (__ASSUME_PPOLL): Likewise.
44134         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44135         (__ASSUME_PSELECT): Define unconditionally.
44136         (__ASSUME_PPOLL): Likewise.
44137         (__ASSUME_O_CLOEXEC): Likewise.
44138         (__ASSUME_SOCK_CLOEXEC): Likewise.
44139         (__ASSUME_IN_NONBLOCK): Likewise.
44140         (__ASSUME_PIPE2): Likewise.
44141         (__ASSUME_EVENTFD2): Likewise.
44142         (__ASSUME_SIGNALFD4): Likewise.
44143         (__ASSUME_DUP3): Likewise.
44144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44145         (__ASSUME_O_CLOEXEC): Likewise.
44146         (__ASSUME_SOCK_CLOEXEC): Likewise.
44147         (__ASSUME_IN_NONBLOCK): Likewise.
44148         (__ASSUME_PIPE2): Likewise.
44149         (__ASSUME_EVENTFD2): Likewise.
44150         (__ASSUME_SIGNALFD4): Likewise.
44151         (__ASSUME_DUP3): Likewise.
44152         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44153         (__ASSUME_EVENTFD2): Likewise.
44154         (__ASSUME_SIGNALFD4): Likewise.
44155         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44157 2014-05-12  Andreas Schwab  <schwab@suse.de>
44159         [BZ #16932]
44160         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44161         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44162         than maximum RPC packet size.
44163         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44164         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44165         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44166         (_nss_nis_getservbyport_r): Likewise.
44168 2014-05-12  Will Newton  <will.newton@linaro.org>
44170         * malloc/Makefile (tests): Add tst-mallopt.
44171         * malloc/tst-mallopt.c: New file.
44173 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44175         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44176         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44178 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44180         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44181         (tst-tlsmod6.so): Likewise.
44183 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44185         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44187 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44189         [BZ #16064]
44190         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44191         and <dl-procinfo.h>.
44192         (__fegetenv): Save SSE state in envp->__eip if supported.
44193         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44194         envp->__eip if supported.
44195         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44196         and <dl-procinfo.h>.
44197         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44198         __data_offset and __data_selector in environment to 0.  Set SSE
44199         state if supported.
44200         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44201         test-fenv-sse.
44202         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44203         -mfpmath=sse.
44204         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44206 2014-05-09  Will Newton  <will.newton@linaro.org>
44208         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44209         and libc_relro_required for ARM.
44210         * sysdeps/arm/preconfigure: Regenerate.
44212 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44213             Stefan Liebler  <stli@linux.vnet.ibm.com>
44215         * config.make.in (enable-lock-elision): New Makefile variable.
44216         * configure.ac: Likewise.
44217         * configure: Regenerate.
44218         * sysdeps/s390/configure.ac:
44219         Add check for gcc transactions support.
44220         * sysdeps/s390/configure: Regenerate.
44221         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44222         Build elision files if enabled.
44223         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44224         Add lock elision support for s390.
44225         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44226         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44227         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44228         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44229         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44230         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44232         Likewise.
44233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44234         Likewise.
44235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44236         Likewise.
44237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44238         Likewise.
44239         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44240         (__lll_timedlock_elision, __lll_lock_elision)
44241         (__lll_unlock_elision, __lll_trylock_elision)
44242         (lll_timedlock_elision, lll_lock_elision)
44243         (lll_unlock_elision, lll_trylock_elision): Add.
44244         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44245         (pthread_mutex_t): Add lock elision support for s390.
44247 2014-05-14  Wilco  <wdijkstr@arm.com>
44249         * sysdeps/arm/fclrexcpt.c: Cleanup.
44250         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44251         * sysdeps/arm/feenablxcpt.c: Cleanup.
44252         * sysdeps/arm/fegetenv.c: Cleanup.
44253         * sysdeps/arm/fegetexcept.c: Cleanup.
44254         * sysdeps/arm/fegetround.c: Cleanup.
44255         * sysdeps/arm/feholdexcpt.c: Cleanup.
44256         * sysdeps/arm/fesetenv.c: Cleanup.
44257         * sysdeps/arm/fesetround.c: Cleanup.
44258         * sysdeps/arm/feupdateenv.c: Cleanup.
44259         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44260         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44261         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44262         * sysdeps/arm/ftestexcept.c: Cleanup.
44263         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44264         * sysdeps/arm/setfpucw.c: Cleanup.
44266 2014-05-09  Will Newton  <will.newton@linaro.org>
44268         * sysdeps/arm/armv7/strcmp.S: New file.
44269         * NEWS: Mention addition of ARMv7 optimized strcmp.
44271 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44273         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44274         look for %.ac rather than %.in.
44276         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44277         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44278         * sysdeps/mach/hurd/configure: Regenerated.
44279         * sysdeps/unix/sysv/linux/configure: Regenerated.
44281         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44283 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44285         [BZ# 16922]
44286         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44287         (LONG_SUB): Ditto.
44288         (PTR_SUB): Ditto.
44290 2014-05-07  Andreas Schwab  <schwab@suse.de>
44292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44293         when skipping over non-matching result from nscd.
44295 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44297         [BZ #16876]
44298         * nptl/sockperf.c (client): Check socket return value.
44300         [BZ #16877]
44301         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44302         nscd security class.
44304 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44306         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44307         * sysdeps/arm/unwind.h: ... here.
44309 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44311         [BZ# 16916]
44312         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44313         Define.
44315 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44317         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44318         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44319         multiarch strncpy for PPC64.
44320         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44321         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44323         multiarch optimizations.
44324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44325         (__libc_ifunc_impl_list): Likewise.
44326         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44327         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44328         multiarch stpncpy for PPC64.
44329         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44330         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44332 2014-05-06  Andreas Schwab  <schwab@suse.de>
44334         [BZ #16912]
44335         * gmon/mcount.c (_MCOUNT_DECL): Use
44336         atomic_compare_and_exchange_bool_acq instead of
44337         catomic_compare_and_exchange_bool_acq.
44339 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44341         * elf/Makefile (others, install-bin): Remove pldd.
44342         (pldd-modules): Variable removed.
44343         ($(objpfx)pldd): Target removed.
44344         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44345         (others, install-bin): Append pldd here.
44346         ($(objpfx)pldd): New target.
44348         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44349         to 0, so the first #if test emitted later doesn't see it undefined.
44350         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44351         * sysdeps/gnu/errlist.c: Regenerated.
44353 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44355         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44356         [libc_hidden_builtin_def]: Define to empty value.
44357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44358         [libc_hidden_builtin_def]: Likewise.
44359         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44360         [libc_hidden_builtin_def]: Likewise.
44361         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44362         [libc_hidden_builtin_def]: Likewise.
44363         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44364         __redirect_memcpy and define ifunc as default hidden symbol.
44365         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44366         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44368 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44370         * locale/iso-4217.def: Reintroduce XDR currency.
44372 2014-05-04  Allan McRae  <allan@archlinux.org>
44374         * po/eo.po: Update Esperanto translation from translation project.
44376 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44378         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44379         and FEATURE_INDEX_MAX to 1.
44380         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44382 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44384         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44385         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44386         * iconvdata/big5.c (ONE_DIRECTION): Define.
44387         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44388         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44389         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44390         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44391         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44392         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44393         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44394         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44395         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44396         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44397         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44398         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44399         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44400         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44401         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44402         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44403         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44404         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44405         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44406         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44407         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44408         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44409         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44410         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44411         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44412         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44413         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44414         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44415         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44416         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44417         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44418         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44419         * iconvdata/johab.c (ONE_DIRECTION): Define.
44420         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44421         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44422         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44423         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44424         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44425         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44426         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44427         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44428         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44429         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44431 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44433         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44434         (_IO_JUMPS_OFFSET): Define to 0.
44436         * nptl/sysdeps/pthread/bits/libc-lock.h
44437         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44438         (__libc_lock_define_initialized_recursive): Always define using
44439         initializer.  Modern compilers treat uninitialized (implicit zero) and
44440         explicit zero initializers the same (i.e. put the datum in bss).
44442 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44444         * nscd/nscd-client.h: Include <string.h>.
44446 2014-05-01  David S. Miller  <davem@davemloft.net>
44448         [BZ #16885]
44449         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44450         multiple zero bytes exist at the end of a string.
44451         Reported by Aurelien Jarno <aurelien@aurel32.net>
44453         * string/test-strcmp.c (check): Add explicit test for situations where
44454         there are multiple zero bytes after the first.
44456 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44458         [BZ #16890]
44459         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44460         when compiling wprintf.
44461         * stdio-common/tstdiomisc.c (t3): New function.
44462         (main): Call it.
44464 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44466         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44467         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44468         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44469         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44471 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44473         * stdlib/longlong.h: Updated from GCC.
44475 2014-05-01  Will Newton  <will.newton@linaro.org>
44476             Bernard Ogden  <bernie.ogden@linaro.org>
44478         * NEWS: Update fixed bug list.
44480         [BZ #15119]
44481         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44483 2014-04-30  David S. Miller  <davem@davemloft.net>
44485         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44486         (libc_feholdexcept_setround_sparc_ctx): New function.
44487         (libc_fesetenv_sparc_ctx): Likewise.
44488         (libc_feupdateenv_sparc_ctx): Likewise.
44489         (libc_feholdsetround_sparc_ctx): Likewise.
44490         (libc_feholdexcept_setround_ctx): Define.
44491         (libc_feholdexcept_setroundf_ctx): Likewise.
44492         (libc_feholdexcept_setroundl_ctx): Likewise.
44493         (libc_fesetenv_ctx): Likewise.
44494         (libc_fesetenvf_ctx): Likewise.
44495         (libc_fesetenvl_ctx): Likewise.
44496         (libc_feupdateenv_ctx): Likewise.
44497         (libc_feupdateenvf_ctx): Likewise.
44498         (libc_feupdateenvl_ctx): Likewise.
44499         (libc_feresetround_ctx): Likewise.
44500         (libc_feresetroundf_ctx): Likewise.
44501         (libc_feresetroundl_ctx): Likewise.
44502         (libc_feholdsetround_ctx): Likewise.
44503         (libc_feholdsetroundf_ctx): Likewise.
44504         (libc_feholdsetroundl_ctx): Likewise.
44506         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44507         with __USE_GNU instead of XOPEN cpp guards.
44509         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44510         0.
44512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44513         with XOPEN cpp guards.
44515 2014-04-30  Julian Brown  <julian@codesourcery.com>
44517         [BZ #16888]
44518         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44519         handling.
44521 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44523         [BZ #9894]
44524         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44525         Change to 2.6.32.
44526         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44527         * sysdeps/unix/sysv/linux/configure: Regenerated.
44528         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44529         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44530         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44531         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44532         * README: Update reference to required Linux kernel version.
44533         * manual/install.texi (Linux): Update reference to required Linux
44534         kernel headers version.
44535         * INSTALL: Regenerated.
44537         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44538         header inclusion.
44539         [POSIX] (limits.h): Likewise.
44540         [POSIX] (math.h): Likewise.
44541         [POSIX] (sys/wait.h): Likewise.
44542         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44543         function.
44544         [POSIX] (stddef.h): Do not allow header inclusion.
44546 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44548         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44550 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44552         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44553         Return immediately after lll_futex_wake.
44555 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44557         [BZ #16791]
44558         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44559         structure.
44560         (datahead_init_pos): Call datahead_init_common early.
44561         (datahead_init_neg): Likewise.
44563         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44564         datahead_init_neg): New functions.
44565         * nscd/aicache.c (addhstaiX): Use them.
44566         * nscd/grpcache.c (cache_addgr): Likewise.
44567         * nscd/hstcache.c (cache_addhst): Likewise.
44568         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44569         * nscd/netgroupcache.c (do_notfound): Likewise.
44570         (addgetnetgrentX): Likewise.
44571         (addinnetgrX): Likewise.
44572         * nscd/pwdcache.c (cache_addpw): Likewise.
44573         * nscd/servicescache.c (cache_addserv): Likewise.
44575 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44576             Atsushi Onoe  <atsushi@onoe.org>
44578         [BZ #14308]
44579         [BZ #12994]
44580         [BZ #13651]
44581         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44582         one response is valid.
44583         * resolv/res_send.c (send_dg): Check for validity of other
44584         response if the current response is a referral.
44586 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44588         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44590 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44592         [BZ #16823]
44593         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44594         Always divide by positive zero when computing -Inf result.
44595         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44596         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44598 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44600         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44601         FPSCR if value do not change.
44602         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44603         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44604         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44605         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44606         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44607         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44608         function.
44610 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44612         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44613         * sysdeps/unix/sysv/linux/hppa: Move directory from
44614         ports/systeps/unix/sysv/linux/hppa.
44615         * README: Update listing for hppa-*-linux-gnu.
44617 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44619         [BZ #16754]
44620         * manual/stdio.texi (Hook functions): Fix types of stream hook
44621         functions.
44622         [BZ #16854]
44623         * socket/sys/socket.h: Fix typo in comment.
44625 2014-04-28  Wilco  <wdijkstr@arm.com>
44627         * sysdeps/arm/fenv_private.h: New file.
44628         * sysdeps/arm/math_private.h: New file.
44629         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44631 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44633         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44634         with __int128_t.
44635         (La_x86_64_retval): Likewise.
44637 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44639         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44640         fpsr if value didn't change.
44641         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44642         to fpcr if value didn't change.
44643         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44644         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44645         fpsr or fpcr if value didn't change.
44646         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44647         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44648         fpcr if value didn't change.
44649         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44650         to fpsr if value didn't change.
44652 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44654         * nptl/tst-sem3.c: Use test-skeleton.c
44655         (main): Rename to do_test.  Use return instead of
44656         exit.
44657         * nptl/tst-sem4.c: Use test-skeleton.c
44658         (main): Rename to do_test.
44660 2014-04-22  David S. Miller  <davem@davemloft.net>
44662         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44663         (struct sigaction): New struct member __glibc_reserved0, change
44664         type of sa_flags to int.
44666 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44668         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44669         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44671 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44673         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44674         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44676 2014-04-22  Will Newton  <will.newton@linaro.org>
44677             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44679         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44680         (__longjmp): Add longjmp and longjmp_target SystemTap
44681         probes.
44682         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44683         (__sigsetjmp): Add setjmp SystemTap probe.
44685 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44687         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44688         match manual order.
44690 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44692         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44694         * sysdeps/powerpc/fpu/fenv_private.h
44695         (libc_feholdexcept_setroundl_ctx): Define to
44696         libc_feholdexcept_setround_ppc_ctx.
44697         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44698         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44699         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44700         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44702 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44704         * sysdeps/aarch64/math-tests.h: New file.
44706 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44708         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44709         New.
44710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44711         Check and set bit_AVX2_Usable.
44712         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44713         macro.
44714         (bit_AVX2): Likewise.
44715         (index_AVX2_Usable): Likewise.
44716         (CPUID_AVX2): Likewise.
44717         (HAS_AVX2): Likewise.
44719 2014-04-17  Will Newton  <will.newton@linaro.org>
44721         * manual/setjmp.texi (System V contexts): Add note that
44722         calling setcontext on a context created by a call to a
44723         signal handler is undefined.  Update text to note that
44724         setcontext from a signal handler is possible but not
44725         recommended.
44727         [BZ #16629]
44728         * stdlib/tst-setcontext.c: Include signal.h.
44729         (main): Check that the signal stack before and
44730         after swapcontext is the same.
44732         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44733         Re-implement to restore registers in user code and avoid
44734         rt_sigreturn system call.
44736 2014-04-17  Wilco  <wdijkstr@arm.com>
44738         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44739         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44740         * math/test-fenv.c: Skip exception trap tests on targets which only
44741         support non-stop mode.
44743 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44744             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44746         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44747         (libc_feholdsetround_aarch64_ctx)
44748         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44749         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44750         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44751         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44752         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44753         (libc_feresetround_noexl_ctx): Define.
44755 2014-04-16  Richard Henderson  <rth@redhat.com>
44757         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44759         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44760         unwind tables.
44762         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44763         const from the non-libc, non-ldso copy.
44765         * sysdeps/alpha/libm-test-ulps: Regenerate.
44767 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44768             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44770         * sysdeps/aarch64/fpu/math_private.h: New file.
44772 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44774         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44776 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44778         [BZ #16275]
44779         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44780         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44781         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44782         Intel MPX bound registers before _dl_profile_fixup.
44783         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44784         registers after _dl_profile_fixup.  Save and restore bound
44785         registers bnd0/bnd1 when calling _dl_call_pltexit.
44786         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44787         (LR_BND_OFFSET): Likewise.
44788         (LRV_BND0_OFFSET): Likewise.
44789         (LRV_BND1_OFFSET): Likewise.
44791 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44793         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44794         to...
44795         * sysdeps/mach/hurd/i386/tls.h: ... here.
44796         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44797         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44798         fields.
44800 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44802         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44804 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44806         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44808 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44810         [BZ #14770]
44811         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44812         * sysdeps/s390/configure: Regenerate.
44814         [BZ #16824]
44815         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44816         Set round-to-nearest internally to reduce error accumulation.
44818 2014-04-16  Alan Modra  <amodra@gmail.com>
44820         [BZ #16740]
44821         [BZ #16619]
44822         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44823         * math/libm-test.inc (frexp_test_data): Add tests.
44824         * NEWS: Update fixed bug list.
44826 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44828         * benchtests/Makefile: Depend on libraries in build directory.
44829         (bench-math): Separate out math tests.
44830         (bench-pthread): Separate out pthread tests.
44831         (bench): Include math and pthread tests.
44833 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44835         [BZ #16831]
44836         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44837         _dl_debug_initialize.
44839         * configure.ac: Remove SELinux header check.
44840         * configure: Regenerate.
44841         * nscd/selinux.c (perms): Array of const char* to permission names.
44842         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44843         default policy. Call string_to_security_class and string_to_av_perm to
44844         translate strings. Enforce default policy and call avs_has_perm with
44845         results of translated strings.
44847 2014-04-13  David S. Miller  <davem@davemloft.net>
44849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44851 2014-04-12  Allan McRae  <allan@archlinux.org>
44853         [BZ #16838]
44854         * manual/string.texi (Collation Functions): Fix qsort argument
44855         order in example.
44856         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44858 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44860         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44861         Make the test a no-op if there are no exceptions defined.
44863 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44865         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44866         enable-hardcoded-path-in-tests
44868 2014-04-11  Will Newton  <will.newton@linaro.org>
44870         * benchtests/Makefile (extra-objs): Add json-lib.o.
44871         (bench-func): Tidy up JSON output.
44872         * benchtests/bench-skeleton.c: Include json-lib.h.
44873         (main): Use JSON library functions to do output of
44874         benchmark results.
44875         * benchtests/bench-timing-type.c (main): Output the
44876         timing type simply, leaving formatting to the user.
44877         * benchtests/json-lib.c: New file.
44878         * benchtests/json-lib.h: Likewise.
44880 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44882         [BZ #15215]
44883         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44884         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44885         memory barriers.  Add comments.
44886         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44887         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44888         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44889         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44890         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44891         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44893 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44895         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44896         * sysdeps/s390/s390-64/configure.ac: ... this ...
44897         * sysdeps/s390/configure.ac: ... to here.
44898         * sysdeps/s390/s390-32/configure: Delete file.
44899         * sysdeps/s390/s390-64/configure: Delete file.
44900         * sysdeps/s390/configure: Regenerate.
44902 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44904         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44906 2014-04-11  Will Newton  <will.newton@linaro.org>
44908         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44909         to zero if it is not defined elsewhere.  (mtrim): Test
44910         the value of MALLOC_DEBUG with #if rather than #ifdef.
44912 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44914         * benchtests/pthread_once-inputs: New file.
44915         * benchtests/pthread_once-source.c: New file.
44916         * benchtests/README: Update documentation.
44918 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44919             H.J. Lu  <hongjiu.lu@intel.com>
44921         [BZ #16275]
44922         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44923         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44924         * sysdeps/x86_64/configure: Regenerated.
44925         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44926         macro.
44927         (REGISTER_SAVE_RAX): Likewise.
44928         (REGISTER_SAVE_RCX): Likewise.
44929         (REGISTER_SAVE_RDX): Likewise.
44930         (REGISTER_SAVE_RSI): Likewise.
44931         (REGISTER_SAVE_RDI): Likewise.
44932         (REGISTER_SAVE_R8): Likewise.
44933         (REGISTER_SAVE_R9): Likewise.
44934         (REGISTER_SAVE_BND0): Likewise.
44935         (REGISTER_SAVE_BND1): Likewise.
44936         (REGISTER_SAVE_BND2): Likewise.
44937         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44938         bound registers when calling _dl_fixup.
44940 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44942         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44943         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44944         of its definition.
44945         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44946         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44947         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44948         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44949         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44950         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44951         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44953 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44955         [BZ #15514]
44956         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44957         pathconf(_PC_NAME_MAX).
44959 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44961         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44962         Remove macro usage.
44963         (__PTHREAD_SPINS): Move definition to ...
44964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44965         (__PTHREAD_SPINS): ... here.
44966         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44967         (__PTHREAD_SPIN): Likewise.
44968         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44969         (__PTHREAD_SPIN): Likewise.
44970         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44971         (__PTHREAD_SPIN): Likewise.
44972         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44973         (__PTHREAD_SPIN): Likewise.
44974         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44975         (__PTHREAD_SPIN): Likewise.
44976         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44977         (__PTHREAD_SPIN): Likewise.
44978         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44979         (__PTHREAD_SPIN): Likewise.
44980         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44981         (__PTHREAD_SPIN): Likewise.
44982         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44983         (__PTHREAD_SPIN): Likewise.
44984         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44985         (__PTHREAD_SPIN): Likewise.
44986         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44987         (__PTHREAD_SPIN): Likewise.
44988         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44989         (__PTHREAD_SPIN): Likewise.
44991         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44992         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44993         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44994         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44995         imply folder.
44996         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44997         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44998         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44999         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45000         correct imply path.
45001         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45002         strlen symbol for non multi-arch builds.
45003         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45004         missing hidden_def and weak_alias.
45006 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45008         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45010 2014-04-07  Will Newton  <will.newton@linaro.org>
45012         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45013         and contents.  [!_LIBC] Remove #ifndef and contents.
45014         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45015         * string/memccpy.c (__memccpy): Use ANSI prototype.
45016         * string/memfrob.c (memfrob): Likewise.
45017         * string/strcoll.c (STRCOLL): Likewise.
45018         * string/strlen.c (strlen): Likewise.
45019         * string/strtok.c (STRTOK): Likewise.
45020         * string/strcat.c: Remove unused #include of memcopy.h.
45021         (strcat): Use ANSI prototype.
45022         * string/strchr.c: Remove unused #include of memcopy.h.
45023         (strchr): Use ANSI prototype.
45024         * string/strcmp.c: Remove unused #include of memcopy.h.
45025         (strcmp): Use ANSI prototype.
45026         * string/strcpy.c: Remove unused #include of memcopy.h.
45027         (strcpy): Use ANSI prototype.
45029 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45031         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45032         * config.make.in (config-extra-cppflags): Set it from
45033         libc_extra_cppflags.
45034         * configure.ac (libc_extra_cflags): Make it accumulate over
45035         configure fragments.
45036         (libc_extra_cppflags): New flag.
45037         * configure. Regenerate.
45038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45039         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45040         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45043         [BZ #16815]
45044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45045         result for FE_DOWNWARD rounding mode.
45046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45047         Likewise.
45048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45050 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45052         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45053         in function argument name.
45055 2014-04-03  David Svoboda  <svoboda@cert.org>
45057         [BZ #5666]
45058         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45059         explicitly.
45061 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45063         * elf/dl-unmap-segments.h: New file.
45064         * sysdeps/generic/ldsodefs.h
45065         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45066         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45067         * elf/dl-fptr.c: Likewise.
45068         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45069         * sysdeps/aarch64/tlsdesc.c: Likewise.
45070         * sysdeps/arm/tlsdesc.c: Likewise.
45071         * sysdeps/i386/tlsdesc.c: Likewise.
45072         * sysdeps/tile/dl-runtime.c: Likewise.
45073         * sysdeps/x86_64/tlsdesc.c: Likewise.
45074         * elf/dl-load.h: New file.
45075         * elf/dl-load.c: Include it.
45076         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45077         Macros moved to dl-load.h.
45078         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45079         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45080         Use _dl_unmap_segments in place of __munmap.
45081         Break out segment-mapping loop into ...
45082         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45084 2014-04-03  Will Newton  <will.newton@linaro.org>
45086         * elf/dl-lookup.c (do_lookup_x): Remove comment
45087         referring to nested function and move variable
45088         declarations down to before first use.
45090 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45092         [BZ #16799]
45093         [BZ #16800]
45094         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45095         with 0 numerator.
45096         * math/s_catanf.c (__catanf): Likewise.
45097         * math/s_catanh.c (__catanh): Likewise.
45098         * math/s_catanhf.c (__catanhf): Likewise.
45099         * math/s_catanhl.c (__catanhl): Likewise.
45100         * math/s_catanl.c (__catanl): Likewise.
45101         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45102         by positive zero when computing -Inf result.
45103         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45104         (catanh_test): Likewise.
45105         * sysdeps/i386/fpu/libm-test-ulps: Update.
45106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45108         [BZ #16789]
45109         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45110         instead of using underflowing value in computing result.
45111         * math/s_clog10.c (__clog10): Likewise.
45112         * math/s_clog10f.c (__clog10f): Likewise.
45113         * math/s_clog10l.c (__clog10l): Likewise.
45114         * math/s_clogf.c (__clogf): Likewise.
45115         * math/s_clogl.c (__clogl): Likewise.
45116         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45117         (clog10_test): Likewise.
45118         * sysdeps/i386/fpu/libm-test-ulps: Update.
45119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45121 2014-04-02  Alan Modra  <amodra@gmail.com>
45123         [BZ #16739]
45124         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45125         output when value is near a power of two.  Use int64_t for lx and
45126         remove casts.  Use decimal rather than hex exponent constants.
45127         Don't use long double multiplication when double will suffice.
45128         * math/libm-test.inc (nextafter_test_data): Add tests.
45129         * NEWS: Add 16739 and 16786 to bug list.
45131         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45133         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45135 2014-04-01  Will Newton  <will.newton@linaro.org>
45137         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45138         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45140 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45142         [BZ #13347]
45143         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45144         * nptl/tst-setuid2.c: New file.
45145         * nptl/Makefile (xtests): Add tst-setuid2.
45147 2014-04-01  Alan Modra  <amodra@gmail.com>
45149         [BZ #16786]
45150         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45152 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45154         [BZ #6803]
45155         [BZ #6804]
45156         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45157         set errno as appropriate.
45158         * math/w_scalbf.c (__scalbf): Likewise.
45159         * math/w_scalbl.c (__scalbl): Likewise.
45160         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45161         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45162         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45163         Add more NaN tests.
45165         [BZ #16349]
45166         * math/w_atan2.c: Include <errno.h>.
45167         (__atan2): Set errno for result underflowing to zero.
45168         * math/w_atan2f.c: Include <errno.h>.
45169         (__atan2f): Set errno for result underflowing to zero.
45170         * math/w_atan2l.c: Include <errno.h>.
45171         (__atan2l): Set errno for result underflowing to zero.
45172         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45173         tests.
45174         * math/auto-libm-test-out: Regenerated.
45176 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45178         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45179         Encode instruction correctly in little endian.
45180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45181         Likewise.
45182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45183         Likewise.
45184         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45185         Likewise.
45186         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45187         Likewise.
45189 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45191         [BZ #9894]
45192         * sysdeps/unix/sysv/linux/kernel-features.h
45193         [__sparc__ && !__arch64__ && !__sparc_v9__]
45194         (__ASSUME_SET_ROBUST_LIST): Do not define.
45195         [__sparc__ && !__arch64__ && !__sparc_v9__]
45196         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45197         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45198         Likewise.
45199         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45200         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45201         (__ASSUME_REQUEUE_PI): Likewise.
45202         (__ASSUME_SET_ROBUST_LIST): Likewise.
45203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45204         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45205         Undefine.
45206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45207         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45208         Likewise.
45209         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45210         Likewise.
45211         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45212         Likewise.
45213         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45214         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45215         Undefine.
45216         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45217         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45218         Likewise.
45220         [BZ #16648]
45221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45223         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45225 2014-03-31  Will Newton  <will.newton@linaro.org>
45227         * benchtests/Makefile (bench): Add ffs and ffsll to list
45228         of tests.
45229         * benchtests/ffs-inputs: New file.
45230         * benchtests/ffsll-inputs: Likewise.
45232 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45234         [BZ #16770]
45235         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45236         too large before casting to int.
45237         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45238         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45239         * math/libm-test.inc (scalb_test_data): Add more tests.
45241 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45243         * benchtests/Makefile (DETAILED_OPT): New make option.
45244         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45245         set.
45246         * benchtests/bench-skeleton.c: Include stdbool.h.
45247         (main): Store and print timings per input.
45248         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45249         member to each argument value.
45250         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45251         (_print_arg_data): Initialize per-input timing to 0.
45253         * benchtests/Makefile (timing-type): New binary.
45254         (bench-clean): Also remove bench-timing-type.
45255         (bench): New target for timing-type.
45256         (bench-func): Print output in JSON format.
45257         * benchtests/bench-skeleton.c (main): Print output in JSON
45258         format.
45259         * benchtests/bench-timing-type.c: New file.
45260         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45261         (TIMING_PRINT_STATS): Remove.
45262         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45263         name separately.
45265         * benchtests/bench-modf.c: Remove.
45266         * benchtests/modf-inputs: New inputs file.
45268 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45270         [BZ #16362]
45271         * math/s_clog10.c (M_PI_LOG10E): New macro.
45272         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45273         imaginary parts are 0.
45274         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45275         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45276         imaginary parts are 0.
45277         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45278         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45279         imaginary parts are 0.
45280         * math/libm-test.inc (clog10_test_data): Update expected results
45281         for when real and imaginary parts are 0.
45283 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45285         * elf/dl-load.c: Finish conversion of __builtin_expect into
45286         __glibc_{un}likely.
45288 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45290         [BZ #16348]
45291         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45292         1+x for argument with exponent below -67.
45293         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45294         Likewise.
45295         * math/auto-libm-test-in: Add more tests of exp.
45296         * math/auto-libm-test-out: Regenerated.
45298 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300         [BZ #16759]
45301         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45302         (nscd_getnetgrent): Use it.
45304         [BZ #16760]
45305         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45306         of stpcpy.
45308 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45310         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45311         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45312         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45313         (lll_robust_unlock): Remove out of line section. Use cfi
45314         intrinsics.
45315         (LLL_STUB_UNWIND_INFO*): Remove.
45316         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45317         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45318         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45319         (lll_robust_unlock): Remove out of line section. Use cfi
45320         intrinsics.
45321         (LLL_STUB_UNWIND_INFO*): Remove.
45323 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45325         [BZ #16758]
45326         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45327         blank values.
45329 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45331         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45333 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45335         [BZ #16198]
45336         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45337         fnstenv.
45338         * math/test-fenv-preserve.c: New file.
45339         * math/Makefile (tests): Add test-fenv-preserve.
45341 2014-03-26  Will Newton <will.newton@linaro.org>
45343         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45345 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45347         * scripts/versionlist.awk: Partition the version sets and emit all
45348         GLIBC_* (sorted) before all others (sorted).
45350 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45352         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45353         GLIBC_2.2.5 version.
45355 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45357         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45358         calls.
45360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45361         previous change.
45363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45365 2014-03-25  Andreas Schwab  <schwab@suse.de>
45367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45368         label to be used after in6ailist is initialized.
45370 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45372         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45373         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45375 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45377         [BZ #16357]
45378         [BZ #16599]
45379         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45380         min_plus_half.
45381         (fp_formats): Update initializers.
45382         (init_fp_formats): Initialize new field.
45383         (output_for_one_input_case): Allow underflow for results up to
45384         min_plus_half.
45385         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45386         * math/auto-libm-test-in: Don't mark some underflows from asin and
45387         atanh as spurious.
45388         * math/auto-libm-test-out: Regenerated.
45389         * sysdeps/i386/fpu/libm-test-ulps: Update.
45390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45392 2014-03-25  Andreas Schwab  <schwab@suse.de>
45394         * libio/Makefile (tst-ftell-partial-wide-ENV)
45395         (tst-ftell-active-handler-ENV): Define.
45397 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45399         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45401 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45403         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45405 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45407         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45408         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45409         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45411 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45413         [BZ #16634]
45414         * elf/dl-load.c (open_verify): Add mode parameter.
45415         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45416         (open_path): Change from boolean 'secure' to complete flag 'mode'
45417         (_dl_map_object): Adjust.
45418         * elf/Makefile (tests): Add tst-dlopen-aout.
45419         * elf/tst-dlopen-aout.c: New test.
45421 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45423         [BZ #16714]
45424         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45425         (struct stat): Rename member pad0 to __glibc_reserved0.
45427         [BZ #16712]
45428         * sysdeps/s390/s390-32/bits/wordsize.h
45429         (__WORDSIZE32_SIZE_ULONG): New define.
45430         * sysdeps/s390/s390-64/bits/wordsize.h
45431         (__WORDSIZE32_SIZE_ULONG): Likewise.
45432         * sysdeps/generic/stdint.h (SIZE_MAX):
45433         Define as UL if __WORDSIZE32_SIZE_ULONG.
45435         [BZ #16713]
45436         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45437         (__glibc_reserved0): New variable.
45438         (sa_flags): Change type to int.
45440         * posix/Makefile (before-compile): Use += before-compile instead
45441         of a :=.
45443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45444         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45446 2014-03-20  Andreas Schwab  <schwab@suse.de>
45448         [BZ #16743]
45449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45450         non-matching result from nscd.
45452 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45454         * scripts/bench.py: Moved to ...
45455         * benchtests/scripts/bench.py: ... here.
45456         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45458 2014-03-24  Andreas Schwab  <schwab@suse.de>
45460         [BZ #16002]
45461         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45462         alloca_account and account alloca use for struct in6ailist.
45464 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45466         [BZ #16284]
45467         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45468         rounding mode to recompute results that overflow to infinity or
45469         underflow to zero.
45470         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45471         bug 16284.
45472         * math/auto-libm-test-out: Regenerated.
45473         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45474         (ccosh_test): Likewise.
45475         (csin_test_data): Use plus_oflow.
45476         (csin_test): Use ALL_RM_TEST.
45477         (csinh_test_data): Use plus_oflow.
45478         (csinh_test): Use ALL_RM_TEST.
45479         * sysdeps/i386/fpu/libm-test-ulps: Update.
45480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45482 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45484         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45485         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45486         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45488         [BZ #16731]
45489         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45490         when x - 1 is zero.
45491         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45492         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45493         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45494         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45495         argument is 1.
45496         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45497         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45498         zero.
45499         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45500         * sysdeps/i386/fpu/libm-test-ulps: Update.
45501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45503 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45505         * scripts/bench.pl: Remove file.
45506         * scripts/bench.py: New benchmark script.
45507         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45508         * benchtests/README: Mention python dependency.
45509         * scripts/pylintrc: New file.
45510         * scripts/pylint: New file.
45512         * bits/mathdef.h: Use #ifdef instead of #if.
45513         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45514         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45515         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45516         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45517         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45518         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45520 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45521             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45523         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45525         and strpbrk-ppc64 objects.
45526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45527         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45528         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45529         multiarch strpbrk for POWER7.
45530         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45531         multiarch strpbrk for PPC64.
45532         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45533         ifunc selector.
45534         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45535         strpbrk for POWER7.
45537 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45539         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45540         (atan_test): Likewise.
45541         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45542         (atanh_test): Use ALL_RM_TEST.
45543         (atan2_test_data): Likewise.
45544         (cabs_test): Likewise.
45545         (cacosh_test): Likewise.
45546         (carg_test): Likewise.
45547         (casin_test): Likewise.
45548         (casinh_test): Likewise.
45549         (cbrt_test): Likewise.
45550         (csqrt_test): Likewise.
45551         (erf_test): Likewise.
45552         (erfc_test): Likewise.
45553         (pow10_test): Likewise.
45554         (exp2_test): Likewise.
45555         (hypot_test): Likewise.
45556         (j0_test): Likewise.
45557         (j1_test): Likewise.
45558         (lgamma_test): Likewise.
45559         (gamma_test): Likewise.
45560         (sincos_test): Likewise.
45561         (tanh_test): Likewise.
45562         (y0_test): Likewise.
45563         (y1_test): Likewise.
45564         * sysdeps/i386/fpu/libm-test-ulps: Update.
45565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45567 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45569         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45571         and strcspn-ppc64 objects.
45572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45573         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45574         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45575         multiarch strcspn for POWER7.
45576         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45577         multiarch strcspn for PPC64.
45578         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45579         ifunc selector.
45580         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45581         strcspn for POWER7.
45583 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45585         * math/gen-libm-test.pl (generate_testfile): Expect only function
45586         name as argument to AUTO_TESTS_* and pass results for all rounding
45587         modes to parse_args.
45588         (parse_auto_input): Separate inputs of automatic tests from
45589         outputs before storing in %auto_tests.
45590         * math/libm-test.inc (acos_test_data): Update call to
45591         AUTO_TESTS_f_f.
45592         (acos_test): Use ALL_RM_TEST.
45593         (acos_tonearest_test_data): Remove.
45594         (acos_test_tonearest): Likewise.
45595         (acos_towardzero_test_data): Likewise.
45596         (acos_test_towardzero): Likewise.
45597         (acos_downward_test_data): Likewise.
45598         (acos_test_downward): Likewise.
45599         (acos_upward_test_data): Likewise.
45600         (acos_test_upward): Likewise.
45601         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45602         (asin_test_data): Likewise.
45603         (asin_test): Use ALL_RM_TEST.
45604         (asin_tonearest_test_data): Remove.
45605         (asin_test_tonearest): Likewise.
45606         (asin_towardzero_test_data): Likewise.
45607         (asin_test_towardzero): Likewise.
45608         (asin_downward_test_data): Likewise.
45609         (asin_test_downward): Likewise.
45610         (asin_upward_test_data): Likewise.
45611         (asin_test_upward): Likewise.
45612         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45613         (atan_test_data): Likewise.
45614         (atanh_test_data): Likewise.
45615         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45616         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45617         (carg_test_data): Likewise.
45618         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45619         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45620         (ccosh_test_data): Likewise.
45621         (cexp_test_data): Likewise.
45622         (clog_test_data): Likewise.
45623         (clog10_test_data): Likewise.
45624         (cos_test_data): Update call to AUTO_TESTS_f_f.
45625         (cos_test): Use ALL_RM_TEST.
45626         (cos_tonearest_test_data): Remove.
45627         (cos_test_tonearest): Likewise.
45628         (cos_towardzero_test_data): Likewise.
45629         (cos_test_towardzero): Likewise.
45630         (cos_downward_test_data): Likewise.
45631         (cos_test_downward): Likewise.
45632         (cos_upward_test_data): Likewise.
45633         (cos_test_upward): Likewise.
45634         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45635         (cosh_test): Use ALL_RM_TEST.
45636         (cosh_tonearest_test_data): Remove.
45637         (cosh_test_tonearest): Likewise.
45638         (cosh_towardzero_test_data): Likewise.
45639         (cosh_test_towardzero): Likewise.
45640         (cosh_downward_test_data): Likewise.
45641         (cosh_test_downward): Likewise.
45642         (cosh_upward_test_data): Likewise.
45643         (cosh_test_upward): Likewise.
45644         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45645         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45646         (ctan_test_data): Likewise.
45647         (ctan_test): Use ALL_RM_TEST.
45648         (ctan_tonearest_test_data): Remove.
45649         (ctan_test_tonearest): Likewise.
45650         (ctan_towardzero_test_data): Likewise.
45651         (ctan_test_towardzero): Likewise.
45652         (ctan_downward_test_data): Likewise.
45653         (ctan_test_downward): Likewise.
45654         (ctan_upward_test_data): Likewise.
45655         (ctan_test_upward): Likewise.
45656         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45657         (ctanh_test): Use ALL_RM_TEST.
45658         (ctanh_tonearest_test_data): Remove.
45659         (ctanh_test_tonearest): Likewise.
45660         (ctanh_towardzero_test_data): Likewise.
45661         (ctanh_test_towardzero): Likewise.
45662         (ctanh_downward_test_data): Likewise.
45663         (ctanh_test_downward): Likewise.
45664         (ctanh_upward_test_data): Likewise.
45665         (ctanh_test_upward): Likewise.
45666         (erf_test_data): Update call to AUTO_TESTS_f_f.
45667         (erfc_test_data): Likewise.
45668         (exp_test_data): Likewise.
45669         (exp_test): Use ALL_RM_TEST.
45670         (exp_tonearest_test_data): Remove.
45671         (exp_test_tonearest): Likewise.
45672         (exp_towardzero_test_data): Likewise.
45673         (exp_test_towardzero): Likewise.
45674         (exp_downward_test_data): Likewise.
45675         (exp_test_downward): Likewise.
45676         (exp_upward_test_data): Likewise.
45677         (exp_test_upward): Likewise.
45678         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45679         (exp10_test): Use ALL_RM_TEST.
45680         (exp10_tonearest_test_data): Remove.
45681         (exp10_test_tonearest): Likewise.
45682         (exp10_towardzero_test_data): Likewise.
45683         (exp10_test_towardzero): Likewise.
45684         (exp10_downward_test_data): Likewise.
45685         (exp10_test_downward): Likewise.
45686         (exp10_upward_test_data): Likewise.
45687         (exp10_test_upward): Likewise.
45688         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45689         (expm1_test_data): Likewise.
45690         (expm1_test): Use ALL_RM_TEST.
45691         (expm1_tonearest_test_data): Remove.
45692         (expm1_test_tonearest): Likewise.
45693         (expm1_towardzero_test_data): Likewise.
45694         (expm1_test_towardzero): Likewise.
45695         (expm1_downward_test_data): Likewise.
45696         (expm1_test_downward): Likewise.
45697         (expm1_upward_test_data): Likewise.
45698         (expm1_test_upward): Likewise.
45699         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45700         (fma_test): Use ALL_RM_TEST.
45701         (fma_towardzero_test_data): Remove.
45702         (fma_test_towardzero): Likewise.
45703         (fma_downward_test_data): Likewise.
45704         (fma_test_downward): Likewise.
45705         (fma_upward_test_data): Likewise.
45706         (fma_test_upward): Likewise.
45707         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45708         (j0_test_data): Update call to AUTO_TESTS_f_f.
45709         (j1_test_data): Likewise.
45710         (jn_test_data): Update call to AUTO_TESTS_if_f.
45711         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45712         (log_test_data): Update call to AUTO_TESTS_f_f.
45713         (log10_test_data): Likewise.
45714         (log1p_test_data): Likewise.
45715         (log2_test_data): Likewise.
45716         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45717         (pow_tonearest_test_data): Likewise.
45718         (sin_test_data): Update call to AUTO_TESTS_f_f.
45719         (sin_test): Use ALL_RM_TEST.
45720         (sin_tonearest_test_data): Remove.
45721         (sin_test_tonearest): Likewise.
45722         (sin_towardzero_test_data): Likewise.
45723         (sin_test_towardzero): Likewise.
45724         (sin_downward_test_data): Likewise.
45725         (sin_test_downward): Likewise.
45726         (sin_upward_test_data): Likewise.
45727         (sin_test_upward): Likewise.
45728         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45729         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45730         (sinh_test): Use ALL_RM_TEST.
45731         (sinh_tonearest_test_data): Remove.
45732         (sinh_test_tonearest): Likewise.
45733         (sinh_towardzero_test_data): Likewise.
45734         (sinh_test_towardzero): Likewise.
45735         (sinh_downward_test_data): Likewise.
45736         (sinh_test_downward): Likewise.
45737         (sinh_upward_test_data): Likewise.
45738         (sinh_test_upward): Likewise.
45739         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45740         (sqrt_test): Use ALL_RM_TEST.
45741         (sqrt_tonearest_test_data): Remove.
45742         (sqrt_test_tonearest): Likewise.
45743         (sqrt_towardzero_test_data): Likewise.
45744         (sqrt_test_towardzero): Likewise.
45745         (sqrt_downward_test_data): Likewise.
45746         (sqrt_test_downward): Likewise.
45747         (sqrt_upward_test_data): Likewise.
45748         (sqrt_test_upward): Likewise.
45749         (tan_test_data): Update call to AUTO_TESTS_f_f.
45750         (tan_test): Use ALL_RM_TEST.
45751         (tan_tonearest_test_data): Remove.
45752         (tan_test_tonearest): Likewise.
45753         (tan_towardzero_test_data): Likewise.
45754         (tan_test_towardzero): Likewise.
45755         (tan_downward_test_data): Likewise.
45756         (tan_test_downward): Likewise.
45757         (tan_upward_test_data): Likewise.
45758         (tan_test_upward): Likewise.
45759         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45760         (tgamma_test_data): Likewise.
45761         (y0_test_data): Likewise.
45762         (y1_test_data): Likewise.
45763         (yn_test_data): Update call to AUTO_TESTS_if_f.
45764         (main): Do not call removed functions.
45766 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45768         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45769         (ldexp_test_data): Remove.
45770         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45771         scalbn_test_data.
45772         (scalb_test): Use ALL_RM_TEST.
45774 2014-03-19  Andreas Schwab  <schwab@suse.de>
45776         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45778 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45780         [BZ #16649]
45781         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45782         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45783         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45785         (__ASSUME_PREADV): Undefine.
45786         (__ASSUME_PWRITEV): Likewise.
45788 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45790         * bits/mman-linux.h: Add comment about non-Linux use.
45791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45792         bits/mman-linux.h resting place.
45794         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45795         * bits/mman-linux.h: ... here.
45797 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45799         * conform/conformtest.pl: Add standard definition when calling C
45800         preprocessor on data files.
45801         (checknamespace): Remove unused variable.
45803 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45805         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45806         minus_oflow, plus_uflow and minus_uflow in expected results.
45807         * math/libm-test.inc (scalbn_test_data): Add more tests of
45808         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45809         minus_uflow.
45810         (scalbn_test): Use ALL_RM_TEST.
45811         (scalbln_test_data): Add more tests of negative arguments.  Use
45812         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45813         (scalbln_test): Use ALL_RM_TEST.
45815 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45817         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45819 2014-03-18  Will Newton  <will.newton@linaro.org>
45821         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45822         inaccurate comment.
45824 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45826         * Makerules [!subdir] (check-abi): Exit with error status if a
45827         test failed.
45829 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45831         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45832         for rint.  Include results for all rounding modes.
45833         (nearbyint_test): Use ALL_RM_TEST.
45834         (rint_test_data): Include all tests used for nearbyint.
45836 2014-03-17  Will Newton  <will.newton@linaro.org>
45838         * nptl/sysdeps/pthread/pthread.h: Revert previous
45839         change.
45841         * sysdeps/generic/ldsodefs.h: Revert previous
45842         change.
45844         * libio/genops.c: Revert previous change.
45845         * libio/libioP.h: Likewise.
45846         * stdio-common/vfprintf.c: Likewise.
45848         * sysdeps/generic/math_private.h: Revert previous
45849         change.
45851         * sysdeps/generic/math_private.h: Check whether
45852         HAVE_RM_CTX is defined with #ifdef rather
45853         than #if.
45855         * argp/argp-fmtstream.h: Check whether
45856         __STRICT_ANSI__ is defined with #ifdef rather
45857         than #if.
45858         * argp/argp.h: Likewise.
45860         * libio/genops.c: Check whether
45861         _IO_JUMPS_OFFSET is defined with #ifdef rather
45862         than #if.
45863         * libio/libioP.h: Likewise.
45864         * stdio-common/vfprintf.c: Likewise.
45866         * sysdeps/generic/ldsodefs.h: Check whether
45867         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45868         than #if.
45870         * nptl/sysdeps/pthread/pthread.h: Check
45871         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45872         its value.
45874 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45876         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45877         setting O_APPEND.
45878         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45879         test case.
45881         [BZ #16680]
45882         * libio/fileops.c (_IO_file_open): Seek to end of file but
45883         don't cache the offset.
45884         (get_file_offset): Remove function.
45885         (do_ftell): Use cached offset when available.
45886         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45887         don't cache the offset.
45888         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45889         case.
45890         (do_one_test): Call it.
45891         (do_ftell_test): Fix up expected old offset for a+ mode.
45892         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45893         available.
45895         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45896         up test status with function return status.
45897         (do_write_test): Likewise.
45898         (do_append_test): Likewise.
45900         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45901         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45902         Remove.
45904 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45906         * math/gen-libm-test.pl (parse_args): Handle results specified for
45907         each rounding mode separately.
45908         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45909         tests and results from lrint_tonearest_test_data,
45910         lrint_towardzero_test_data, lrint_downward_test_data and
45911         lrint_upward_test_data.
45912         (lrint_test): Use ALL_RM_TEST.
45913         (lrint_tonearest_test_data): Remove.
45914         (lrint_test_tonearest): Likewise.
45915         (lrint_towardzero_test_data): Likewise.
45916         (lrint_test_towardzero): Likewise.
45917         (lrint_downward_test_data): Likewise.
45918         (lrint_test_downward): Likewise.
45919         (lrint_upward_test_data): Likewise.
45920         (lrint_test_upward): Likewise.
45921         (llrint_test_data): Merge in per-rounding-mode tests and results
45922         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45923         llrint_downward_test_data and llrint_upward_test_data.
45924         (llrint_test): Use ALL_RM_TEST.
45925         (llrint_tonearest_test_data): Remove.
45926         (llrint_test_tonearest): Likewise.
45927         (llrint_towardzero_test_data): Likewise.
45928         (llrint_test_towardzero): Likewise.
45929         (llrint_downward_test_data): Likewise.
45930         (llrint_test_downward): Likewise.
45931         (llrint_upward_test_data): Likewise.
45932         (llrint_test_upward): Likewise.
45933         (rint_test_data): Merge in per-rounding-mode tests and results
45934         from rint_tonearest_test_data, rint_towardzero_test_data,
45935         rint_downward_test_data and rint_upward_test_data.  Add
45936         per-rounding-mode results for tests not in those arrays.
45937         (rint_test): Use ALL_RM_TEST.
45938         (rint_tonearest_test_data): Remove.
45939         (rint_test_tonearest): Likewise.
45940         (rint_towardzero_test_data): Likewise.
45941         (rint_test_towardzero): Likewise.
45942         (rint_downward_test_data): Likewise.
45943         (rint_test_downward): Likewise.
45944         (rint_upward_test_data): Likewise.
45945         (rint_test_upward): Likewise.
45946         (main): Don't call removed functions.
45948 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45950         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45951         "Compiled on ..." crapola.  It is anti-useful.
45953 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45955         * scripts/evaluate-test.sh: Handle fourth argument to determine
45956         whether test run should stop on failure.
45957         * Makeconfig (stop-on-test-failure): New variable.
45958         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45959         $(stop-on-test-failure).
45960         * Makefile (tests): Give a summary of results from testing and
45961         exit with failure status if they include an ERROR or FAIL.
45962         (xtests): Likewise.
45963         * manual/install.texi (Configuring and compiling): Mention
45964         stop-on-test-failure=y.
45965         * INSTALL: Regenerated.
45967 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45969         * scripts/versionlist.awk: New file.
45970         * Makerules [$(build-shared) = yes]
45971         (postclean-generated): Add Versions.def, not Versions.def.v and
45972         Versions.def.v.i.
45973         ($(common-objpfx)Versions.def.v.i): Target removed.
45974         ($(common-objpfx)Versions.def): New target.
45975         ($(common-objpfx)Versions.all): Depend on that rather that
45976         $(common-objpfx)Versions.def.v.
45977         * Versions.def: File removed.
45979         * Makeconfig (+gccwarn): Add -Wundef.
45980         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45981         a dl-sysdep.h breaking its contract.
45982         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45983         * include/stackinfo.h: New file.
45984         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45985         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45986         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45987         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45988         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45989         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45990         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45991         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45992         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45993         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45994         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45995         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45996         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45997         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45998         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46000 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46002         [BZ #16707]
46003         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46004         implementation.
46005         * math/libm-test.inc (round_test_data): Add more tests.
46007         [BZ #16706]
46008         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46009         implementation.
46010         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46012         [BZ #16701]
46013         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46014         implementation.
46015         * math/libm-test.inc (ceil_test_data): Add more tests.
46017         * math/libm-test.inc (trunc_test_data): Add more tests related to
46018         BZ#16414.
46020 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46022         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46023         with #if rather than #ifdef.
46024         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46026 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46028         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46029         first.  Disable AVX-512 GCC support if assembler doesn't support
46030         it.
46031         * sysdeps/x86_64/configure: Regenerated.
46033 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46035         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46036         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46037         (__old_pthread_attr_setstack): Likewise.
46038         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46039         [!_STACK_GROWS_DOWN]: Likewise.
46041 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46043         * config.make.in (have-bash2): Delete.
46044         * configure.ac (libc_cv_have_bash2): Delete.
46045         * configure: Regenerate.
46046         * elf/Makefile (common-ldd-rewrite): Rename to ...
46047         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46048         (sh-ldd-rewrite): Delete.
46049         (bash-ldd-rewrite): Delete.
46050         (have-bash2): Delete checks.
46051         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46052         ldd-rewrite.
46054         * config.make.in (have-ksh): Delete.
46055         (KSH): Delete.
46056         * configure.ac (libc_cv_have_ksh): Delete.
46057         * configure: Regenerate.
46059         * elf/Makefile: Delete $(have-ksh) check.
46060         ($(objpfx)sotruss): Change KSH to BASH.
46061         * elf/sotruss.ksh: Rename to ...
46062         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46063         function style to match POSIX.  Drop ksh vim mode setting.
46065         * manual/time.texi (Specifying the Time Zone with TZ): Change
46066         Tuesday to Thursday.
46068         * debug/tst-longjmp_chk2.c: Update header comment.
46069         (stackoverflow_handler): Add comment.  Call assert on pass value.
46071 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46073         [BZ #16194]
46074         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46075         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46076         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46077         (La_x86_64_vector): Add zmm.
46078         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46079         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46080         ($(objpfx)tst-audit10): New target.
46081         ($(objpfx)tst-audit10.out): Likewise.
46082         (tst-audit10-ENV): New.
46083         (AVX512-CFLAGS): Likewise.
46084         (CFLAGS-tst-audit10.c): Likewise.
46085         (CFLAGS-tst-auditmod10a.c): Likewise.
46086         (CFLAGS-tst-auditmod10b.c): Likewise.
46087         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46088         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46089         * sysdeps/x86_64/configure: Regenerated.
46090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46091         AVX-512 zmm register support.
46092         (_dl_x86_64_save_sse): Likewise.
46093         (_dl_x86_64_restore_sse): Likewise.
46094         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46095         size vector registers.
46096         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46097         (ZMM_SIZE): Likewise.
46098         * sysdeps/x86_64/tst-audit10.c: New file.
46099         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46100         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46102 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46104         * configure.ac (HAVE_EHDR_START): New check.
46105         * configure: Regenerated.
46106         * config.h.in (HAVE_EHDR_START): New #undef.
46107         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46108         assuming the lowest-addressed segment maps the start of the file.
46110 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46112         * INSTALL: Regenerated.
46114 2014-03-13  Will Newton  <will.newton@linaro.org>
46116         * manual/setjmp.texi (System V contexts): Improve
46117         clarity and grammar of documentation.
46119 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46121         [BZ #16381]
46122         * elf/Makefile (tests): Add tst-pie2.
46123         (tests-pie): Add tst-pie2.
46124         * elf/tst-pie2.c: New file.
46125         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46126         for ET_EXEC.
46127         * elf/rtld.c (map_doit): Load executable as lt_executable.
46128         (dl_main): Likewise.
46130 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46132         [BZ #16642]
46133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46134         (__ASSUME_PSELECT): Undefine.
46136 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46138         [BZ #16689]
46139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46140         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46141         static build.
46142         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46143         selector for static builds.
46145 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46147         [BZ #16695]
46148         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46149         key in the buffer.
46151 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46153         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46154         IFUNC selector for static builds.
46156 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46158         * sysdeps/mips/math_private.h [__mips_hard_float]
46159         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46160         libc_feresetround_mips_ctx.
46161         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46162         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46163         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46165         [BZ #16677]
46166         * math/s_nextafter.c (__nextafter): Do not return value from
46167         overflowing computation.
46168         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46169         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46170         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46171         Likewise.
46172         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46173         Likewise.
46174         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46175         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46177 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46179         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46180         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46181         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46182         the new mov targetting sp.
46184 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46186         [BZ #16683]
46187         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46188         Define it for static builds as well.
46189         (NO_BZERO_IMPL): Likewise.
46191 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46193         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46194         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46195         multiarch strspn for PPC64.
46196         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46197         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46199         (__libc_ifunc_impl_list): Likewise.
46200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46201         multiarch optimizations
46202         * string/strspn.c (strspn): Using macro to redefine symbol name.
46204 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46205             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46207         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46208         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46209         multiarch strncat for PPC64.
46210         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46211         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46213         (__libc_ifunc_impl_list): Likewise.
46214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46215         multiarch optimizations
46217 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         [BZ #16639]
46220         * nscd/nscd.service: Make service type forking.
46222 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46224         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46225         sign in non default rounding modes.
46226         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46228 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46230         * math/libm-test.inc (ALL_RM_TEST): New macro.
46231         (ceil_test): Use ALL_RM_TEST.
46232         (cimag_test): Likewise.
46233         (conj_test): Likewise.
46234         (copysign_test): Likewise.
46235         (cproj_test): Likewise.
46236         (creal_test): Likewise.
46237         (fabs_test): Likewise.
46238         (floor_test): Likewise.
46239         (fmax_test): Likewise.
46240         (fmin_test): Likewise.
46241         (fmod_test): Likewise.
46242         (fpclassify_test): Likewise.
46243         (frexp_test): Likewise.
46244         (ilogb_test): Likewise.
46245         (isfinite_test): Likewise.
46246         (finite_test): Likewise.
46247         (isgreater_test): Likewise.
46248         (isgreaterequal_test): Likewise.
46249         (isinf_test): Likewise.
46250         (isless_test): Likewise.
46251         (islessequal_test): Likewise.
46252         (islessgreater_test): Likewise.
46253         (isnan_test): Likewise.
46254         (isnormal_test): Likewise.
46255         (issignaling_test): Likewise.
46256         (isunordered_test): Likewise.
46257         (logb_test): Likewise.
46258         (logb_downward_test_data): Remove.
46259         (logb_test_downward): Likewise.
46260         (lround_test): Use ALL_RM_TEST.
46261         (llround_test): Likewise.
46262         (modf_test): Likewise.
46263         (nexttoward_test): Likewise.
46264         (remainder_test): Likewise.
46265         (drem_test): Likewise.
46266         (remainder_tonearest_test_data): Likewise.
46267         (remainder_test_tonearest): Likewise.
46268         (drem_test_tonearest): Likewise.
46269         (remainder_towardzero_test_data): Likewise.
46270         (remainder_test_towardzero): Likewise.
46271         (drem_test_towardzero): Likewise.
46272         (remainder_downward_test_data): Likewise.
46273         (remainder_test_downward): Likewise.
46274         (drem_test_downward): Likewise.
46275         (remainder_upward_test_data): Likewise.
46276         (remainder_test_upward): Likewise.
46277         (drem_test_upward): Likewise.
46278         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46279         (round_test): Use ALL_RM_TEST.
46280         (signbit_test): Likewise.
46281         (trunc_test): Likewise.
46282         (significand_test): Likewise.
46283         (main): Don't call removed functions.
46285 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46287         [BZ #16674]
46288         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46289         || __USE_XOPEN2K8].
46290         (ILL_ILLOPN): Likewise.
46291         (ILL_ILLADR): Likewise.
46292         (ILL_ILLTRP): Likewise.
46293         (ILL_PRVOPC): Likewise.
46294         (ILL_PRVREG): Likewise.
46295         (ILL_COPROC): Likewise.
46296         (ILL_BADSTK): Likewise.
46297         (FPE_INTDIV): Likewise.
46298         (FPE_INTOVF): Likewise.
46299         (FPE_FLTDIV): Likewise.
46300         (FPE_FLTOVF): Likewise.
46301         (FPE_FLTUND): Likewise.
46302         (FPE_FLTRES): Likewise.
46303         (FPE_FLTINV): Likewise.
46304         (FPE_FLTSUB): Likewise.
46305         (SEGV_MAPERR): Likewise.
46306         (SEGV_ACCERR): Likewise.
46307         (BUS_ADRALN): Likewise.
46308         (BUS_ADRERR): Likewise.
46309         (BUS_OBJERR): Likewise.
46310         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46311         (TRAP_TRACE): Likewise.
46312         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46313         __USE_XOPEN2K8].
46314         (CLD_KILLED): Likewise.
46315         (CLD_DUMPED): Likewise.
46316         (CLD_TRAPPED): Likewise.
46317         (CLD_STOPPED): Likewise.
46318         (CLD_CONTINUED): Likewise.
46319         (POLL_IN): Likewise.
46320         (POLL_OUT): Likewise.
46321         (POLL_MSG): Likewise.
46322         (POLL_ERR): Likewise.
46323         (POLL_PRI): Likewise.
46324         (POLL_HUP): Likewise.
46325         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46326         Likewise.
46327         (ILL_ILLOPN): Likewise.
46328         (ILL_ILLADR): Likewise.
46329         (ILL_ILLTRP): Likewise.
46330         (ILL_PRVOPC): Likewise.
46331         (ILL_PRVREG): Likewise.
46332         (ILL_COPROC): Likewise.
46333         (ILL_BADSTK): Likewise.
46334         (FPE_INTDIV): Likewise.
46335         (FPE_INTOVF): Likewise.
46336         (FPE_FLTDIV): Likewise.
46337         (FPE_FLTOVF): Likewise.
46338         (FPE_FLTUND): Likewise.
46339         (FPE_FLTRES): Likewise.
46340         (FPE_FLTINV): Likewise.
46341         (FPE_FLTSUB): Likewise.
46342         (SEGV_MAPERR): Likewise.
46343         (SEGV_ACCERR): Likewise.
46344         (BUS_ADRALN): Likewise.
46345         (BUS_ADRERR): Likewise.
46346         (BUS_OBJERR): Likewise.
46347         (BUS_MCEERR_AR): Likewise.
46348         (BUS_MCEERR_AO): Likewise.
46349         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46350         (TRAP_TRACE): Likewise.
46351         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46352         __USE_XOPEN2K8].
46353         (CLD_KILLED): Likewise.
46354         (CLD_DUMPED): Likewise.
46355         (CLD_TRAPPED): Likewise.
46356         (CLD_STOPPED): Likewise.
46357         (CLD_CONTINUED): Likewise.
46358         (POLL_IN): Likewise.
46359         (POLL_OUT): Likewise.
46360         (POLL_MSG): Likewise.
46361         (POLL_ERR): Likewise.
46362         (POLL_PRI): Likewise.
46363         (POLL_HUP): Likewise.
46364         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46365         (ILL_ILLOPN): Likewise.
46366         (ILL_ILLADR): Likewise.
46367         (ILL_ILLTRP): Likewise.
46368         (ILL_PRVOPC): Likewise.
46369         (ILL_PRVREG): Likewise.
46370         (ILL_COPROC): Likewise.
46371         (ILL_BADSTK): Likewise.
46372         (FPE_INTDIV): Likewise.
46373         (FPE_INTOVF): Likewise.
46374         (FPE_FLTDIV): Likewise.
46375         (FPE_FLTOVF): Likewise.
46376         (FPE_FLTUND): Likewise.
46377         (FPE_FLTRES): Likewise.
46378         (FPE_FLTINV): Likewise.
46379         (FPE_FLTSUB): Likewise.
46380         (SEGV_MAPERR): Likewise.
46381         (SEGV_ACCERR): Likewise.
46382         (BUS_ADRALN): Likewise.
46383         (BUS_ADRERR): Likewise.
46384         (BUS_OBJERR): Likewise.
46385         (BUS_MCEERR_AR): Likewise.
46386         (BUS_MCEERR_AO): Likewise.
46387         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46388         (TRAP_TRACE): Likewise.
46389         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46390         __USE_XOPEN2K8].
46391         (CLD_KILLED): Likewise.
46392         (CLD_DUMPED): Likewise.
46393         (CLD_TRAPPED): Likewise.
46394         (CLD_STOPPED): Likewise.
46395         (CLD_CONTINUED): Likewise.
46396         (POLL_IN): Likewise.
46397         (POLL_OUT): Likewise.
46398         (POLL_MSG): Likewise.
46399         (POLL_ERR): Likewise.
46400         (POLL_PRI): Likewise.
46401         (POLL_HUP): Likewise.
46402         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46403         Likewise.
46404         (ILL_ILLOPN): Likewise.
46405         (ILL_ILLADR): Likewise.
46406         (ILL_ILLTRP): Likewise.
46407         (ILL_PRVOPC): Likewise.
46408         (ILL_PRVREG): Likewise.
46409         (ILL_COPROC): Likewise.
46410         (ILL_BADSTK): Likewise.
46411         (ILL_BADIADDR): Likewise.
46412         (ILL_BREAK): Likewise.
46413         (FPE_INTDIV): Likewise.
46414         (FPE_INTOVF): Likewise.
46415         (FPE_FLTDIV): Likewise.
46416         (FPE_FLTOVF): Likewise.
46417         (FPE_FLTUND): Likewise.
46418         (FPE_FLTRES): Likewise.
46419         (FPE_FLTINV): Likewise.
46420         (FPE_FLTSUB): Likewise.
46421         (FPE_DECOVF): Likewise.
46422         (FPE_DECDIV): Likewise.
46423         (FPE_DECERR): Likewise.
46424         (FPE_INVASC): Likewise.
46425         (FPE_INVDEC): Likewise.
46426         (SEGV_MAPERR): Likewise.
46427         (SEGV_ACCERR): Likewise.
46428         (SEGV_PSTKOVF): Likewise.
46429         (BUS_ADRALN): Likewise.
46430         (BUS_ADRERR): Likewise.
46431         (BUS_OBJERR): Likewise.
46432         (BUS_MCEERR_AR): Likewise.
46433         (BUS_MCEERR_AO): Likewise.
46434         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46435         (TRAP_TRACE): Likewise.
46436         (TRAP_BRANCH): Likewise.
46437         (TRAP_HWBKPT): Likewise.
46438         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46439         __USE_XOPEN2K8].
46440         (CLD_KILLED): Likewise.
46441         (CLD_DUMPED): Likewise.
46442         (CLD_TRAPPED): Likewise.
46443         (CLD_STOPPED): Likewise.
46444         (CLD_CONTINUED): Likewise.
46445         (POLL_IN): Likewise.
46446         (POLL_OUT): Likewise.
46447         (POLL_MSG): Likewise.
46448         (POLL_ERR): Likewise.
46449         (POLL_PRI): Likewise.
46450         (POLL_HUP): Likewise.
46451         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46452         (ILL_ILLOPN): Likewise.
46453         (ILL_ILLADR): Likewise.
46454         (ILL_ILLTRP): Likewise.
46455         (ILL_PRVOPC): Likewise.
46456         (ILL_PRVREG): Likewise.
46457         (ILL_COPROC): Likewise.
46458         (ILL_BADSTK): Likewise.
46459         (FPE_INTDIV): Likewise.
46460         (FPE_INTOVF): Likewise.
46461         (FPE_FLTDIV): Likewise.
46462         (FPE_FLTOVF): Likewise.
46463         (FPE_FLTUND): Likewise.
46464         (FPE_FLTRES): Likewise.
46465         (FPE_FLTINV): Likewise.
46466         (FPE_FLTSUB): Likewise.
46467         (SEGV_MAPERR): Likewise.
46468         (SEGV_ACCERR): Likewise.
46469         (BUS_ADRALN): Likewise.
46470         (BUS_ADRERR): Likewise.
46471         (BUS_OBJERR): Likewise.
46472         (BUS_MCEERR_AR): Likewise.
46473         (BUS_MCEERR_AO): Likewise.
46474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46475         (TRAP_TRACE): Likewise.
46476         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46477         __USE_XOPEN2K8].
46478         (CLD_KILLED): Likewise.
46479         (CLD_DUMPED): Likewise.
46480         (CLD_TRAPPED): Likewise.
46481         (CLD_STOPPED): Likewise.
46482         (CLD_CONTINUED): Likewise.
46483         (POLL_IN): Likewise.
46484         (POLL_OUT): Likewise.
46485         (POLL_MSG): Likewise.
46486         (POLL_ERR): Likewise.
46487         (POLL_PRI): Likewise.
46488         (POLL_HUP): Likewise.
46489         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46490         (ILL_ILLOPN): Likewise.
46491         (ILL_ILLADR): Likewise.
46492         (ILL_ILLTRP): Likewise.
46493         (ILL_PRVOPC): Likewise.
46494         (ILL_PRVREG): Likewise.
46495         (ILL_COPROC): Likewise.
46496         (ILL_BADSTK): Likewise.
46497         (FPE_INTDIV): Likewise.
46498         (FPE_INTOVF): Likewise.
46499         (FPE_FLTDIV): Likewise.
46500         (FPE_FLTOVF): Likewise.
46501         (FPE_FLTUND): Likewise.
46502         (FPE_FLTRES): Likewise.
46503         (FPE_FLTINV): Likewise.
46504         (FPE_FLTSUB): Likewise.
46505         (SEGV_MAPERR): Likewise.
46506         (SEGV_ACCERR): Likewise.
46507         (BUS_ADRALN): Likewise.
46508         (BUS_ADRERR): Likewise.
46509         (BUS_OBJERR): Likewise.
46510         (BUS_MCEERR_AR): Likewise.
46511         (BUS_MCEERR_AO): Likewise.
46512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46513         (TRAP_TRACE): Likewise.
46514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46515         __USE_XOPEN2K8].
46516         (CLD_KILLED): Likewise.
46517         (CLD_DUMPED): Likewise.
46518         (CLD_TRAPPED): Likewise.
46519         (CLD_STOPPED): Likewise.
46520         (CLD_CONTINUED): Likewise.
46521         (POLL_IN): Likewise.
46522         (POLL_OUT): Likewise.
46523         (POLL_MSG): Likewise.
46524         (POLL_ERR): Likewise.
46525         (POLL_PRI): Likewise.
46526         (POLL_HUP): Likewise.
46527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46528         (ILL_ILLOPN): Likewise.
46529         (ILL_ILLADR): Likewise.
46530         (ILL_ILLTRP): Likewise.
46531         (ILL_PRVOPC): Likewise.
46532         (ILL_PRVREG): Likewise.
46533         (ILL_COPROC): Likewise.
46534         (ILL_BADSTK): Likewise.
46535         (FPE_INTDIV): Likewise.
46536         (FPE_INTOVF): Likewise.
46537         (FPE_FLTDIV): Likewise.
46538         (FPE_FLTOVF): Likewise.
46539         (FPE_FLTUND): Likewise.
46540         (FPE_FLTRES): Likewise.
46541         (FPE_FLTINV): Likewise.
46542         (FPE_FLTSUB): Likewise.
46543         (SEGV_MAPERR): Likewise.
46544         (SEGV_ACCERR): Likewise.
46545         (BUS_ADRALN): Likewise.
46546         (BUS_ADRERR): Likewise.
46547         (BUS_OBJERR): Likewise.
46548         (BUS_MCEERR_AR): Likewise.
46549         (BUS_MCEERR_AO): Likewise.
46550         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46551         (TRAP_TRACE): Likewise.
46552         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46553         __USE_XOPEN2K8].
46554         (CLD_KILLED): Likewise.
46555         (CLD_DUMPED): Likewise.
46556         (CLD_TRAPPED): Likewise.
46557         (CLD_STOPPED): Likewise.
46558         (CLD_CONTINUED): Likewise.
46559         (POLL_IN): Likewise.
46560         (POLL_OUT): Likewise.
46561         (POLL_MSG): Likewise.
46562         (POLL_ERR): Likewise.
46563         (POLL_PRI): Likewise.
46564         (POLL_HUP): Likewise.
46565         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46566         (ILL_ILLOPN): Likewise.
46567         (ILL_ILLADR): Likewise.
46568         (ILL_ILLTRP): Likewise.
46569         (ILL_PRVOPC): Likewise.
46570         (ILL_PRVREG): Likewise.
46571         (ILL_COPROC): Likewise.
46572         (ILL_BADSTK): Likewise.
46573         (ILL_DBLFLT): Likewise.
46574         (ILL_HARDWALL): Likewise.
46575         (FPE_INTDIV): Likewise.
46576         (FPE_INTOVF): Likewise.
46577         (FPE_FLTDIV): Likewise.
46578         (FPE_FLTOVF): Likewise.
46579         (FPE_FLTUND): Likewise.
46580         (FPE_FLTRES): Likewise.
46581         (FPE_FLTINV): Likewise.
46582         (FPE_FLTSUB): Likewise.
46583         (SEGV_MAPERR): Likewise.
46584         (SEGV_ACCERR): Likewise.
46585         (BUS_ADRALN): Likewise.
46586         (BUS_ADRERR): Likewise.
46587         (BUS_OBJERR): Likewise.
46588         (BUS_MCEERR_AR): Likewise.
46589         (BUS_MCEERR_AO): Likewise.
46590         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46591         (TRAP_TRACE): Likewise.
46592         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46593         __USE_XOPEN2K8].
46594         (CLD_KILLED): Likewise.
46595         (CLD_DUMPED): Likewise.
46596         (CLD_TRAPPED): Likewise.
46597         (CLD_STOPPED): Likewise.
46598         (CLD_CONTINUED): Likewise.
46599         (POLL_IN): Likewise.
46600         (POLL_OUT): Likewise.
46601         (POLL_MSG): Likewise.
46602         (POLL_ERR): Likewise.
46603         (POLL_PRI): Likewise.
46604         (POLL_HUP): Likewise.
46605         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46606         (ILL_ILLOPN): Likewise.
46607         (ILL_ILLADR): Likewise.
46608         (ILL_ILLTRP): Likewise.
46609         (ILL_PRVOPC): Likewise.
46610         (ILL_PRVREG): Likewise.
46611         (ILL_COPROC): Likewise.
46612         (ILL_BADSTK): Likewise.
46613         (FPE_INTDIV): Likewise.
46614         (FPE_INTOVF): Likewise.
46615         (FPE_FLTDIV): Likewise.
46616         (FPE_FLTOVF): Likewise.
46617         (FPE_FLTUND): Likewise.
46618         (FPE_FLTRES): Likewise.
46619         (FPE_FLTINV): Likewise.
46620         (FPE_FLTSUB): Likewise.
46621         (SEGV_MAPERR): Likewise.
46622         (SEGV_ACCERR): Likewise.
46623         (BUS_ADRALN): Likewise.
46624         (BUS_ADRERR): Likewise.
46625         (BUS_OBJERR): Likewise.
46626         (BUS_MCEERR_AR): Likewise.
46627         (BUS_MCEERR_AO): Likewise.
46628         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46629         (TRAP_TRACE): Likewise.
46630         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46631         __USE_XOPEN2K8].
46632         (CLD_KILLED): Likewise.
46633         (CLD_DUMPED): Likewise.
46634         (CLD_TRAPPED): Likewise.
46635         (CLD_STOPPED): Likewise.
46636         (CLD_CONTINUED): Likewise.
46637         (POLL_IN): Likewise.
46638         (POLL_OUT): Likewise.
46639         (POLL_MSG): Likewise.
46640         (POLL_ERR): Likewise.
46641         (POLL_PRI): Likewise.
46642         (POLL_HUP): Likewise.
46643         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46644         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46646         [BZ #16670]
46647         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46648         before #include of <time.h>.
46649         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46650         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46651         (test-xfail-UNIX98/sched.h/conform): Likewise.
46653 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46655         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46656         error absence of trapping exception support.
46657         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46659 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46661         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46662         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46663         * timezone/Makefile (testdata): Move definition above include of
46664         Rules.
46665         (test-zones): New variable.
46666         (tests-special): Add zone files.
46667         (build-testdata): Use $(evaluate-test).
46669         * elf/Makefile (tests-special): Rename tests to end with .out.
46670         ($(objpfx)noload-mem): Likewise.
46671         ($(objpfx)tst-leaks1-mem): Likewise.
46672         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46673         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46674         $(objpfx)test-iconvconfig.out.
46675         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46676         set -e inside subshell and redirect output to file.
46677         * iconvdata/Makefile (generated): Rename tests to end with .out.
46678         Correct type.
46679         (tests-special): Rename tests to end with .out.
46680         ($(objpfx)mtrace-tst-loading): Likewise.
46681         * intl/Makefile (generated): Likewise.
46682         (tests-special): Likewise.
46683         ($(objpfx)mtrace-tst-gettext): Likewise.
46684         * misc/Makefile (generated): Likewise.
46685         (tests-special): Likewise.
46686         ($(objpfx)tst-error1-mem): Likewise.
46687         * nptl/Makefile (tests-special): Likewise.
46688         ($(objpfx)tst-stack3-mem): Likewise.
46689         (generated): Likewise.
46690         * posix/Makefile (generated): Likewise.
46691         (tests-special): Likewise.
46692         (xtests-special): Likewise.
46693         ($(objpfx)tst-fnmatch-mem): Likewise.
46694         ($(objpfx)bug-regex2-mem): Likewise.
46695         ($(objpfx)bug-regex14-mem): Likewise.
46696         ($(objpfx)bug-regex21-mem): Likewise.
46697         ($(objpfx)bug-regex31-mem): Likewise.
46698         ($(objpfx)tst-vfork3-mem): Likewise.
46699         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46700         ($(objpfx)tst-pcre-mem): Likewise.
46701         ($(objpfx)tst-boost-mem): Likewise.
46702         ($(objpfx)bug-ga2-mem): Likewise.
46703         ($(objpfx)bug-glob2-mem): Likewise.
46704         * resolv/Makefile (generate): Likewise.
46705         (tests-special): Likewise.
46706         (xtests-special): Likewise.
46707         (generated): Likewise.
46708         ($(objpfx)mtrace-tst-leaks): Likewise.
46709         ($(objpfx)mtrace-tst-leaks2): Likewise.
46711         * scripts/merge-test-results.sh: New file.
46712         * Makefile (tests-special-notdir): New variable.
46713         (tests): Run merge-test-results.sh.
46714         (xtests): Likewise.
46715         * Rules (tests-special-notdir): New variable.
46716         (xtests-special-notdir): Likewise.
46717         (tests): Run merge-test-results.sh
46718         (xtests): Likewise.
46720         * Makeconfig (test-xfail-name): New variable.
46721         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46722         compute variable name for expected failures.
46723         * conform/Makefile (conformtest-headers-data): New variable.
46724         (conformtest-standards): Likewise.
46725         (conformtest-headers-ISO): Likewise.
46726         (conformtest-headers-ISO99): Likewise.
46727         (conformtest-headers-ISO11): Likewise.
46728         (conformtest-headers-POSIX): Likewise.
46729         (conformtest-headers-XPG3): Likewise.
46730         (conformtest-headers-XPG4): Likewise.
46731         (conformtest-headers-UNIX98): Likewise.
46732         (conformtest-headers-XOPEN2K): Likewise.
46733         (conformtest-headers-POSIX2008): Likewise.
46734         (conformtest-headers-XOPEN2K8): Likewise.
46735         (conformtest-header-list-base): Likewise.
46736         (conformtest-header-list-tests): Likewise.
46737         (conformtest-header-base): Likewise.
46738         (conformtest-header-tests): Likewise.
46739         (tests-special): Add $(conformtest-header-list-tests).  If
46740         [$(fast-check) && !$(cross-compiling)], add
46741         $(conformtest-header-tests) instead of
46742         $(objpfx)run-conformtest.out.
46743         (generated): Add $(conformtest-header-list-base).  If
46744         [$(fast-check) && !$(cross-compiling)], add
46745         $(conformtest-header-base).  Remove previous setting.
46746         ($(conformtest-header-list-tests)): New target.
46747         (test-xfail-run-conformtest): Remove variable.
46748         ($(objpfx)run-conformtest.out): Remove target.
46749         (test-xfail-ISO11/complex.h/conform): New variable.
46750         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46751         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46752         (test-xfail-XPG3/varargs.h/conform): Likewise.
46753         (test-xfail-XPG4/varargs.h/conform): Likewise.
46754         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46755         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46756         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46757         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46758         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46759         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46760         (test-xfail-XPG3/ftw.h/conform): Likewise.
46761         (test-xfail-XPG3/grp.h/conform): Likewise.
46762         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46763         (test-xfail-XPG3/limits.h/conform): Likewise.
46764         (test-xfail-XPG3/pwd.h/conform): Likewise.
46765         (test-xfail-XPG3/search.h/conform): Likewise.
46766         (test-xfail-XPG3/signal.h/conform): Likewise.
46767         (test-xfail-XPG3/stdio.h/conform): Likewise.
46768         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46769         (test-xfail-XPG3/string.h/conform): Likewise.
46770         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46771         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46772         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46773         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46774         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46775         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46776         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46777         (test-xfail-XPG3/termios.h/conform): Likewise.
46778         (test-xfail-XPG3/time.h/conform): Likewise.
46779         (test-xfail-XPG3/unistd.h/conform): Likewise.
46780         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46781         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46782         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46783         (test-xfail-XPG4/netdb.h/conform): Likewise.
46784         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46785         (test-xfail-XPG4/signal.h/conform): Likewise.
46786         (test-xfail-XPG4/stdio.h/conform): Likewise.
46787         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46788         (test-xfail-XPG4/stropts.h/conform): Likewise.
46789         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46790         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46791         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46792         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46793         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46794         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46795         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46796         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46797         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46798         (test-xfail-XPG4/termios.h/conform): Likewise.
46799         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46800         (test-xfail-XPG4/unistd.h/conform): Likewise.
46801         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46802         (test-xfail-POSIX/sched.h/conform): Likewise.
46803         (test-xfail-POSIX/signal.h/conform): Likewise.
46804         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46805         (test-xfail-POSIX/tar.h/conform): Likewise.
46806         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46807         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46808         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46809         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46810         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46811         (test-xfail-UNIX98/sched.h/conform): Likewise.
46812         (test-xfail-UNIX98/signal.h/conform): Likewise.
46813         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46814         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46815         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46816         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46817         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46818         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46819         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46820         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46821         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46822         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46823         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46824         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46825         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46826         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46827         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46828         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46829         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46830         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46831         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46832         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46833         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46834         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46835         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46836         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46837         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46838         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46839         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46840         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46841         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46842         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46843         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46844         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46845         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46846         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46847         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46848         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46849         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46850         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46851         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46852         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46853         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46854         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46855         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46856         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46857         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46858         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46859         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46860         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46861         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46862         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46863         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46864         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46865         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46866         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46867         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46868         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46869         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46870         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46871         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46872         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46873         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46874         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46875         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46876         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46877         (conformtest-cc-flags): Likewise.
46878         ($(conformtest-header-tests): New target.
46879         * conform/check-header-lists.sh: New file.
46880         * conform/run-conformtest.sh: Remove.
46882         * conform/conformtest.pl: Allow ' and \ in values given for
46883         constants.
46884         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46885         inclusion.
46886         [POSIX] (sys/types.h): Likewise.
46887         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46888         inclusion.
46889         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46890         inclusion.
46891         * conform/data/signal.h-data (SIGIO): Remove expectation.
46892         [XPG3] (SIGBUS): Do not expect.
46893         [POSIX || XPG3] (SIGPOLL): Likewise.
46894         [POSIX || XPG3] (SIGPROF): Likewise.
46895         [POSIX || XPG3] (SIGSYS): Likewise.
46896         [XPG3] (SIGTRAP): Likewise.
46897         [POSIX || XPG3] (SIGURG): Likewise.
46898         [POSIX || XPG3] (SIGVTALRM): Likewise.
46899         [POSIX || XPG3] (SIGXCPU): Likewise.
46900         [POSIX || XPG3] (SIGXFSZ): Likewise.
46901         [POSIX] (SA_SIGINFO): Expect.
46902         [XPG3] (siginfo_t): Do not expect type or contents.
46903         [POSIX] (si_pid): Do not expect element.
46904         [POSIX] (si_uid): Likewise.
46905         [POSIX] (si_addr): Likewise.
46906         [POSIX] (si_status): Likewise.
46907         [POSIX] (si_band): Likewise.
46908         [XPG4] (si_value): Likewise.
46909         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46910         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46911         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46912         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46913         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46914         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46915         [POSIX || XPG3] (ILL_COPROC): Likewise.
46916         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46917         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46918         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46919         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46920         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46921         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46922         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46923         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46924         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46925         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46926         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46927         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46928         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46929         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46930         [POSIX || XPG3] (CLD_EXITED): Likewise.
46931         [POSIX || XPG3] (CLD_KILLED): Likewise.
46932         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46933         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46934         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46935         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46936         [POSIX || XPG3] (POLL_IN): Likewise.
46937         [POSIX || XPG3] (POLL_OUT): Likewise.
46938         [POSIX || XPG3] (POLL_MSG): Likewise.
46939         [POSIX || XPG3] (POLL_ERR): Likewise.
46940         [POSIX || XPG3] (POLL_PRI): Likewise.
46941         [POSIX || XPG3] (POLL_HUP): Likewise.
46942         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46943         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46944         (SIG*): Do not allow.
46945         [XPG3] (si_*): Likewise.
46946         [XPG3] (SI_*): Likewise.
46947         [XPG3 || XPG4] (sigev_*): Likewise.
46948         [XPG3 || XPG4] (SIGEV_*): Likewise.
46949         [XPG3 || XPG4] (sival_*): Likewise.
46950         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46951         [POSIX || XPG3] (BUS_*): Likewise.
46952         [POSIX || XPG3] (CLD_*): Likewise.
46953         [POSIX || XPG3] (FPE_*): Likewise.
46954         [POSIX || XPG3] (ILL_*): Likewise.
46955         [POSIX || XPG3] (POLL_*): Likewise.
46956         [POSIX || XPG3] (SEGV_*): Likewise.
46957         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46958         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46959         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46960         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46961         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46962         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46963         Specify type and value.
46964         (TVERSLEN): Likewise.
46965         (REGTYPE): Likewise.
46966         (AREGTYPE): Likewise.
46967         (LNKTYPE): Likewise.
46968         (SYMTYPE): Likewise.
46969         (CHRTYPE): Likewise.
46970         (BLKTYPE): Likewise.
46971         (DIRTYPE): Likewise.
46972         (FIFOTYPE): Likewise.
46973         (CONTTYPE): Likewise.
46974         (TSUID): Likewise.
46975         (TSGID): Likewise.
46976         (TSVTX): Likewise.
46977         (TUREAD): Likewise.
46978         (TUWRITE): Likewise.
46979         (TUEXEC): Likewise.
46980         (TGREAD): Likewise.
46981         (TGWRITE): Likewise.
46982         (TGEXEC): Likewise.
46983         (TOREAD): Likewise.
46984         (TOWRITE): Likewise.
46985         (TOEXEC): Likewise.
46986         [POSIX] (TSVTX): Expect constant.
46988 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46990         * Makefile (tests): Change dependencies to ....
46991         (tests-special): ... additions to this variable.
46992         (tests): Depend on $(tests-special).
46993         * Makerules (check-abi-list): New variable.
46994         (check-abi): Depend on $(check-abi-list).
46995         [$(subdir) = elf] (tests-special): Add
46996         $(objpfx)check-abi-libc.out.
46997         [$(build-shared) = yes && subdir] (tests-special): Add
46998         $(check-abi-list).
46999         [$(build-shared) = yes && subdir] (tests): Do not depend on
47000         check-abi.
47001         * Rules (tests): Depend on $(tests-special).
47002         (xtests): Depend on $(xtests-special).
47003         * catgets/Makefile (tests): Change dependencies to ....
47004         (tests-special): ... additions to this variable.
47005         * conform/Makefile (tests): Change dependencies to ....
47006         (tests-special): ... additions to this variable.
47007         * elf/Makefile (tests): Change dependencies to ....
47008         (tests-special): ... additions to this variable.
47009         * grp/Makefile (tests): Change dependencies to ....
47010         (tests-special): ... additions to this variable.
47011         * iconv/Makefile (xtests): Change dependencies to ....
47012         (xtests-special): ... additions to this variable.
47013         * iconvdata/Makefile (tests): Change dependencies to ....
47014         (tests-special): ... additions to this variable.
47015         * intl/Makefile (tests): Change dependencies to ....
47016         (tests-special): ... additions to this variable.  Also add
47017         $(objpfx)tst-gettext.out.
47018         * io/Makefile (tests): Change dependencies to ....
47019         (tests-special): ... additions to this variable.
47020         * libio/Makefile (tests): Change dependencies to ....
47021         (tests-special): ... additions to this variable.
47022         * malloc/Makefile (tests): Change dependencies to ....
47023         (tests-special): ... additions to this variable.
47024         * misc/Makefile (tests): Change dependencies to ....
47025         (tests-special): ... additions to this variable.
47026         * nptl/Makefile (tests): Change dependencies to ....
47027         (tests-special): ... additions to this variable.
47028         * nptl_db/Makefile (tests): Change dependencies to ....
47029         (tests-special): ... additions to this variable.
47030         * posix/Makefile (tests): Change dependencies to ....
47031         (tests-special): ... additions to this variable.
47032         (xtests): Change dependencies to ....
47033         (xtests-special): ... additions to this variable.
47034         * resolv/Makefile (tests): Change dependencies to ....
47035         (tests-special): ... additions to this variable.
47036         (xtests): Change dependencies to ....
47037         (xtests-special): ... additions to this variable.
47038         * stdio-common/Makefile (tests): Change dependencies to ....
47039         (tests-special): ... additions to this variable.
47040         (do-tst-unbputc): Remove target.
47041         (do-tst-printf): Likewise.
47042         * stdlib/Makefile (tests): Change dependencies to ....
47043         (tests-special): ... additions to this variable.
47044         * string/Makefile (tests): Change dependencies to ....
47045         (tests-special): ... additions to this variable.
47046         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47047         (tests-special): ... additions to this variable.
47049         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47050         whole file.
47051         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47052         whole file.
47053         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47054         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47056         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47057         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47058         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47059         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47060         * conform/data/libgen.h-data [XPG3]: Likewise.
47061         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47062         * conform/data/ndbm.h-data [XPG3]: Likewise.
47063         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47064         * conform/data/netdb.h-data [XPG3]: Likewise.
47065         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47066         * conform/data/poll.h-data [XPG3]: Likewise.
47067         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47068         * conform/data/strings.h-data [XPG3]: Likewise.
47069         * conform/data/stropts.h-data [XPG3]: Likewise.
47070         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47071         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47072         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47073         Likewise.
47074         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47075         * conform/data/sys/time.h-data [XPG3]: Likewise.
47076         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47077         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47078         * conform/data/sys/un.h-data [XPG3]: Likewise.
47079         * conform/data/syslog.h-data [XPG3]: Likewise.
47080         * conform/data/ucontext.h-data [XPG3]: Likewise.
47081         * conform/data/utmpx.h-data [XPG3]: Likewise.
47082         * conform/data/varargs.h-data [UNIX98]: Enable file.
47084         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47086         * math/libm-test.inc (struct test_f_f_data): Move expected results
47087         into structure for each rounding mode.
47088         (struct test_ff_f_data): Likewise.
47089         (struct test_ff_f_data_nexttoward): Likewise.
47090         (struct test_fi_f_data): Likewise.
47091         (struct test_fl_f_data): Likewise.
47092         (struct test_if_f_data): Likewise.
47093         (struct test_fff_f_data): Likewise.
47094         (struct test_c_f_data): Likewise.
47095         (struct test_f_f1_data): Likewise.
47096         (struct test_fF_f1_data): Likewise.
47097         (struct test_ffI_f1_data): Likewise.
47098         (struct test_c_c_data): Likewise.
47099         (struct test_cc_c_data): Likewise.
47100         (struct test_f_i_data): Likewise.
47101         (struct test_ff_i_data): Likewise.
47102         (struct test_f_l_data): Likewise.
47103         (struct test_f_L_data): Likewise.
47104         (struct test_fFF_11_data): Likewise.
47105         (RM_): New macro.
47106         (RM_FE_DOWNWARD): Likewise.
47107         (RM_FE_TONEAREST): Likewise.
47108         (RM_FE_TOWARDZERO): Likewise.
47109         (RM_FE_UPWARD): Likewise.
47110         (RUN_TEST_LOOP_f_f): Update references to expected results.
47111         (RUN_TEST_LOOP_2_f): Likewise.
47112         (RUN_TEST_LOOP_fff_f): Likewise.
47113         (RUN_TEST_LOOP_c_f): Likewise.
47114         (RUN_TEST_LOOP_f_f1): Likewise.
47115         (RUN_TEST_LOOP_fF_f1): Likewise.
47116         (RUN_TEST_LOOP_fI_f1): Likewise.
47117         (RUN_TEST_LOOP_ffI_f1): Likewise.
47118         (RUN_TEST_LOOP_c_c): Likewise.
47119         (RUN_TEST_LOOP_cc_c): Likewise.
47120         (RUN_TEST_LOOP_f_i): Likewise.
47121         (RUN_TEST_LOOP_f_i_tg): Likewise.
47122         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47123         (RUN_TEST_LOOP_f_b): Likewise.
47124         (RUN_TEST_LOOP_f_b_tg): Likewise.
47125         (RUN_TEST_LOOP_f_l): Likewise.
47126         (RUN_TEST_LOOP_f_L): Likewise.
47127         (RUN_TEST_LOOP_fFF_11): Likewise.
47128         * math/gen-libm-test.pl (parse_args): Output four copies of
47129         expected results for each test.
47131         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47132         (__ASSUME_UTIMES): Remove.
47133         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47134         (__ASSUME_UTIMES): Likewise.
47136         * math/gen-auto-libm-tests.c: Update comment on output format.
47137         (output_for_one_input_case): Generate before-rounding and
47138         after-rounding information as conditions on output flags not
47139         floating-point format.
47140         * math/auto-libm-test-out: Regenerated.
47141         * math/gen-libm-test.pl (cond_value): New function.
47142         (or_cond_value): Use cond_value.
47143         (generate_testfile): Handle conditional exceptions.
47145 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47147         * math/libm-test.inc (max_valid_error): New variable.
47148         (init_max_error): Take new argument specifying whether function
47149         results are exactly determined.  Set max_valid_error and bound
47150         other variables for errors based on this argument.
47151         (set_max_error): Do not record results above max_valid_error.
47152         (check_float_internal): Only accept errors of up to 0.5ulps if
47153         also at most max_valid_error.
47154         (START): Take new argument EXACT and pass it to init_max_error.
47155         (acos_test): Update call to START.
47156         (acos_test_tonearest): Likewise.
47157         (acos_test_towardzero): Likewise.
47158         (acos_test_downward): Likewise.
47159         (acos_test_upward): Likewise.
47160         (acosh_test): Likewise.
47161         (asin_test): Likewise.
47162         (asin_test_tonearest): Likewise.
47163         (asin_test_towardzero): Likewise.
47164         (asin_test_downward): Likewise.
47165         (asin_test_upward): Likewise.
47166         (asinh_test): Likewise.
47167         (atan_test): Likewise.
47168         (atanh_test): Likewise.
47169         (atan2_test): Likewise.
47170         (cabs_test): Likewise.
47171         (cacos_test): Likewise.
47172         (cacosh_test): Likewise.
47173         (carg_test): Likewise.
47174         (casin_test): Likewise.
47175         (casinh_test): Likewise.
47176         (catan_test): Likewise.
47177         (catanh_test): Likewise.
47178         (cbrt_test): Likewise.
47179         (ccos_test): Likewise.
47180         (ccosh_test): Likewise.
47181         (ceil_test): Likewise.
47182         (cexp_test): Likewise.
47183         (cimag_test): Likewise.
47184         (clog_test): Likewise.
47185         (clog10_test): Likewise.
47186         (conj_test): Likewise.
47187         (copysign_test): Likewise.
47188         (cos_test): Likewise.
47189         (cos_test_tonearest): Likewise.
47190         (cos_test_towardzero): Likewise.
47191         (cos_test_downward): Likewise.
47192         (cos_test_upward): Likewise.
47193         (cosh_test): Likewise.
47194         (cosh_test_tonearest): Likewise.
47195         (cosh_test_towardzero): Likewise.
47196         (cosh_test_downward): Likewise.
47197         (cosh_test_upward): Likewise.
47198         (cpow_test): Likewise.
47199         (cproj_test): Likewise.
47200         (creal_test): Likewise.
47201         (csin_test): Likewise.
47202         (csinh_test): Likewise.
47203         (csqrt_test): Likewise.
47204         (ctan_test): Likewise.
47205         (ctan_test_tonearest): Likewise.
47206         (ctan_test_towardzero): Likewise.
47207         (ctan_test_downward): Likewise.
47208         (ctan_test_upward): Likewise.
47209         (ctanh_test): Likewise.
47210         (ctanh_test_tonearest): Likewise.
47211         (ctanh_test_towardzero): Likewise.
47212         (ctanh_test_downward): Likewise.
47213         (ctanh_test_upward): Likewise.
47214         (erf_test): Likewise.
47215         (erfc_test): Likewise.
47216         (exp_test): Likewise.
47217         (exp_test_tonearest): Likewise.
47218         (exp_test_towardzero): Likewise.
47219         (exp_test_downward): Likewise.
47220         (exp_test_upward): Likewise.
47221         (exp10_test): Likewise.
47222         (exp10_test_tonearest): Likewise.
47223         (exp10_test_towardzero): Likewise.
47224         (exp10_test_downward): Likewise.
47225         (exp10_test_upward): Likewise.
47226         (pow10_test): Likewise.
47227         (exp2_test): Likewise.
47228         (expm1_test): Likewise.
47229         (expm1_test_tonearest): Likewise.
47230         (expm1_test_towardzero): Likewise.
47231         (expm1_test_downward): Likewise.
47232         (expm1_test_upward): Likewise.
47233         (fabs_test): Likewise.
47234         (fdim_test): Likewise.
47235         (floor_test): Likewise.
47236         (fma_test): Likewise.
47237         (fma_test_towardzero): Likewise.
47238         (fma_test_downward): Likewise.
47239         (fma_test_upward): Likewise.
47240         (fmax_test): Likewise.
47241         (fmin_test): Likewise.
47242         (fmod_test): Likewise.
47243         (fpclassify_test): Likewise.
47244         (frexp_test): Likewise.
47245         (hypot_test): Likewise.
47246         (ilogb_test): Likewise.
47247         (isfinite_test): Likewise.
47248         (finite_test): Likewise.
47249         (isgreater_test): Likewise.
47250         (isgreaterequal_test): Likewise.
47251         (isinf_test): Likewise.
47252         (isless_test): Likewise.
47253         (islessequal_test): Likewise.
47254         (islessgreater_test): Likewise.
47255         (isnan_test): Likewise.
47256         (isnormal_test): Likewise.
47257         (issignaling_test): Likewise.
47258         (isunordered_test): Likewise.
47259         (j0_test): Likewise.
47260         (j1_test): Likewise.
47261         (jn_test): Likewise.
47262         (ldexp_test): Likewise.
47263         (lgamma_test): Likewise.
47264         (gamma_test): Likewise.
47265         (lrint_test): Likewise.
47266         (lrint_test_tonearest): Likewise.
47267         (lrint_test_towardzero): Likewise.
47268         (lrint_test_downward): Likewise.
47269         (lrint_test_upward): Likewise.
47270         (llrint_test): Likewise.
47271         (llrint_test_tonearest): Likewise.
47272         (llrint_test_towardzero): Likewise.
47273         (llrint_test_downward): Likewise.
47274         (llrint_test_upward): Likewise.
47275         (log_test): Likewise.
47276         (log10_test): Likewise.
47277         (log1p_test): Likewise.
47278         (log2_test): Likewise.
47279         (logb_test): Likewise.
47280         (logb_test_downward): Likewise.
47281         (lround_test): Likewise.
47282         (llround_test): Likewise.
47283         (modf_test): Likewise.
47284         (nearbyint_test): Likewise.
47285         (nextafter_test): Likewise.
47286         (nexttoward_test): Likewise.
47287         (pow_test): Likewise.
47288         (pow_test_tonearest): Likewise.
47289         (pow_test_towardzero): Likewise.
47290         (pow_test_downward): Likewise.
47291         (pow_test_upward): Likewise.
47292         (remainder_test): Likewise.
47293         (drem_test): Likewise.
47294         (remainder_test_tonearest): Likewise.
47295         (drem_test_tonearest): Likewise.
47296         (remainder_test_towardzero): Likewise.
47297         (drem_test_towardzero): Likewise.
47298         (remainder_test_downward): Likewise.
47299         (drem_test_downward): Likewise.
47300         (remainder_test_upward): Likewise.
47301         (drem_test_upward): Likewise.
47302         (remquo_test): Likewise.
47303         (rint_test): Likewise.
47304         (rint_test_tonearest): Likewise.
47305         (rint_test_towardzero): Likewise.
47306         (rint_test_downward): Likewise.
47307         (rint_test_upward): Likewise.
47308         (round_test): Likewise.
47309         (scalb_test): Likewise.
47310         (scalbn_test): Likewise.
47311         (scalbln_test): Likewise.
47312         (signbit_test): Likewise.
47313         (sin_test): Likewise.
47314         (sin_test_tonearest): Likewise.
47315         (sin_test_towardzero): Likewise.
47316         (sin_test_downward): Likewise.
47317         (sin_test_upward): Likewise.
47318         (sincos_test): Likewise.
47319         (sinh_test): Likewise.
47320         (sinh_test_tonearest): Likewise.
47321         (sinh_test_towardzero): Likewise.
47322         (sinh_test_downward): Likewise.
47323         (sinh_test_upward): Likewise.
47324         (sqrt_test): Likewise.
47325         (sqrt_test_tonearest): Likewise.
47326         (sqrt_test_towardzero): Likewise.
47327         (sqrt_test_downward): Likewise.
47328         (sqrt_test_upward): Likewise.
47329         (tan_test): Likewise.
47330         (tan_test_tonearest): Likewise.
47331         (tan_test_towardzero): Likewise.
47332         (tan_test_downward): Likewise.
47333         (tan_test_upward): Likewise.
47334         (tanh_test): Likewise.
47335         (tgamma_test): Likewise.
47336         (trunc_test): Likewise.
47337         (y0_test): Likewise.
47338         (y1_test): Likewise.
47339         (yn_test): Likewise.
47340         (significand_test): Likewise.
47342         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47343         individual tests in comment.
47344         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47345         (prev_max_error): New variable.
47346         (prev_real_max_error): Likewise.
47347         (prev_imag_max_error): Likewise.
47348         (compare_ulp_data): Don't refer to test names in comment.
47349         (find_test_ulps): Remove function.
47350         (find_function_ulps): Likewise.
47351         (find_complex_function_ulps): Likewise.
47352         (init_max_error): Take function name as argument.  Look up ulps
47353         for that function.
47354         (print_ulps): Remove function.
47355         (print_max_error): Use prev_max_error instead of calling
47356         find_function_ulps.
47357         (print_complex_max_error): Use prev_real_max_error and
47358         prev_imag_max_error instead of calling find_complex_function_ulps.
47359         (check_float_internal): Take max_ulp parameter instead of calling
47360         find_test_ulps.  Don't call print_ulps.
47361         (check_float): Update call to check_float_internal.
47362         (check_complex): Update calls to check_float_internal.
47363         (START): Pass argument to init_max_error.
47364         * math/gen-libm-test.pl (%results): Don't include "kind"
47365         information.
47366         (parse_ulps): Don't handle ulps of individual tests.
47367         (print_ulps_file): Likewise.
47368         (output_ulps): Likewise.
47369         * math/README.libm-test: Update.
47370         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47371         individual tests.
47372         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47373         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47374         * sysdeps/arm/libm-test-ulps: Likewise.
47375         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47376         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47377         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47378         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47379         * sysdeps/microblaze/libm-test-ulps: Likewise.
47380         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47382         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47383         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47384         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47385         * sysdeps/sh/libm-test-ulps: Likewise.
47386         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47387         * sysdeps/tile/libm-test-ulps: Likewise.
47388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47390 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47392         * math/libm-test.inc (print_complex_max_error): Check separately
47393         whether real and imaginary errors are within allowed range and
47394         pass 0 to print_complex_function_ulps instead of value within
47395         allowed range.
47397 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47399         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47400         formatting.
47401         (get_handles_fopen): Likewise.
47402         (do_write_test): Likewise.
47404         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47406         * libio/fileops.c (do_ftell): Use cached offset when
47407         available.
47408         * libio/iofwide.c (do_ftell_wide): Likewise.
47409         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47410         _IO_file_attach.
47411         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47413         [BZ #16532]
47414         * libio/libioP.h (get_file_offset): New function.
47415         * libio/fileops.c (get_file_offset): Likewise.
47416         (do_ftell): Likewise.
47417         (_IO_new_file_seekoff): Split out ftell logic.
47418         * libio/wfileops.c (do_ftell_wide): Likewise.
47419         (_IO_wfile_seekoff): Split out ftell logic.
47420         * libio/tst-ftell-active-handler.c: New test case.
47421         * libio/Makefile (tests): Add it.
47423 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47425         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47426         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47428 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47430         [BZ #16639]
47431         * nscd/connections.c (nscd_init): Call do_exit.
47432         (start_threads): Call do_exit and notify_parent.
47433         (begin_drop_privileges): Call do_exit.
47434         (finish_drop_privileges): Likewise.
47435         * nscd/selinux.c (preserve_capabilities): Likewise.
47436         (install_real_capabilities): Likewise.
47437         (nscd_selinux_enabled): Likewise.
47438         (avc_create_thread): Likewise.
47439         (avc_alloc_lock): Likewise.
47440         (nscd_avc_init): Likewise.
47441         * nscd/nscd.c (parent_fd): New static variable.
47442         (main): Create a pipe between parent and child processes.
47443         Skip closing parent_fd.
47444         (monitor_child): New function.
47445         (do_exit): Likewise.
47446         (notify_parent): Likewise.
47447         * nscd/nscd.h (notify_parent): Likewise.
47448         (do_exit): Likewise.
47450 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47452         * malloc/malloc.c (__libc_calloc): Revert last change.
47454 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47458 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47460         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47462         implementation.
47463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47464         (__libc_ifunc_impl_list): Likewise.
47465         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47466         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47467         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47468         * string/strrchr.c: Define STRRCHR.
47470 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47472         * benchtest/bench-strtok.c (simple_strtok): Delete.
47473         (strtok_string): Use as benchmark.
47474         * string/strtok (STRTOK): New macro.
47476 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47478         * manual/threads.texi: Add header and standard comments to all
47479         functions.
47481         * elf/dl-lookup.c (check_match): New function.
47482         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47483         (do_lookup_x): Remove nested function check_match. Use non-nested
47484         function check_match.
47486 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47488         * csu/Makefile (generated, before-compile): Use += rather than =.
47489         * catgets/Makefile (generated, generated-dirs): Likewise.
47490         * debug/Makefile (generated): Likewise.
47491         * dlfcn/Makefile (generated): Likewise.
47492         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47493         * iconvdata/Makefile (before-compile, generated): Likewise.
47494         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47495         * libio/Makefile (generated): Likewise.
47496         * malloc/Makefile (generated): Likewise.
47497         * manual/Makefile (generated, generated-dirs): Likewise.
47498         * misc/Makefile (generated): Likewise.
47499         * posix/Makefile (generated): Likewise.
47500         * resolv/Makefile (generated): Likewise.
47501         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47502         * timezone/Makefile (generated, generated-dirs): Likewise.
47504         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47506 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47509         power8 implementation.
47510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47511         file: POWER8 llround ifunc implementation.
47512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47513         (__lllround): Add POWER8 implementation.
47514         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47515         POWER8 llround implementation.
47517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47518         power8 implementation.
47519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47520         file: POWER8 llrint ifunc implementation.
47521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47522         Add POWER8 implementation.
47523         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47524         POWER8 llrint implementation.
47526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47527         power8 implementation.
47528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47529         file: POWER8 finite ifunc implementation.
47530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47531         Add POWER8 implementation.
47532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47533         Likewise.
47534         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47535         POWER8 finite implementation.
47536         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47539         power8 implementation.
47540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47541         file: POWER8 isinf ifunc implementation.
47542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47543         POWER8 implementation.
47544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47545         Likewise.
47546         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47547         isinf implementation.
47548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47550         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47551         (INIT_ARCH): Add hwcap2 initialization.
47552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47553         power8 implementation.
47554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47555         file: POWER8 isnan ifunc implementation.
47556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47557         POWER8 implementation.
47558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47559         Likewise.
47560         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47561         isnan implementation.
47562         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47564 2014-02-27  Joey Ye  <joey.ye@arm.com>
47566         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47567         (_FP_NANFRAC_Q): Set to zero.
47569 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47571         [BZ #16623]
47572         * math/auto-libm-test-in: New test inputs.
47573         * math/auto-libm-test-out: Regenerate.
47574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47575         and DA.
47576         (__cos): Likewise.
47577         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47579 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47581         * scripts/evaluate-test.sh: Take new argument indicating whether
47582         failure is expected.
47583         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47584         indicating whether failure is expected.
47585         * conform/Makefile (test-xfail-run-conformtest): New variable.
47586         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47587         level.
47588         * posix/Makefile (test-xfail-annexc): New variable.
47589         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47591 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47593         * argp/Makefile: Include Makeconfig immediately after defining
47594         subdir.
47595         * assert/Makefile: Likewise.
47596         * benchtests/Makefile: Likewise.
47597         * catgets/Makefile: Likewise.
47598         * conform/Makefile: Likewise.
47599         * crypt/Makefile: Likewise.
47600         * csu/Makefile: Likewise.
47601         (all): Remove target.
47602         * ctype/Makefile: Include Makeconfig immediately after defining
47603         subdir.
47604         * debug/Makefile: Likewise.
47605         * dirent/Makefile: Likewise.
47606         * dlfcn/Makefile: Likewise.
47607         * gmon/Makefile: Likewise.
47608         * gnulib/Makefile: Likewise.
47609         * grp/Makefile: Likewise.
47610         * gshadow/Makefile: Likewise.
47611         * hesiod/Makefile: Likewise.
47612         * hurd/Makefile: Likewise.
47613         (all): Remove target.
47614         * iconvdata/Makefile: Include Makeconfig immediately after
47615         defining subdir.
47616         * inet/Makefile: Likewise.
47617         * intl/Makefile: Likewise.
47618         * io/Makefile: Likewise.
47619         * libio/Makefile: Likewise.
47620         (all): Remove target.
47621         * locale/Makefile: Include Makeconfig immediately after defining
47622         subdir.
47623         * login/Makefile: Likewise.
47624         * mach/Makefile: Likewise.
47625         (all): Remove target.
47626         * malloc/Makefile: Include Makeconfig immediately after defining
47627         subdir.
47628         (all): Remove target.
47629         * manual/Makefile: Include Makeconfig immediately after defining
47630         subdir.
47631         * math/Makefile: Likewise.
47632         * misc/Makefile: Likewise.
47633         * nis/Makefile: Likewise.
47634         * nss/Makefile: Likewise.
47635         * po/Makefile: Likewise.
47636         (all): Remove target.
47637         * posix/Makefile: Include Makeconfig immediately after defining
47638         subdir.
47639         * pwd/Makefile: Likewise.
47640         * resolv/Makefile: Likewise.
47641         * resource/Makefile: Likewise.
47642         * rt/Makefile: Likewise.
47643         * setjmp/Makefile: Likewise.
47644         * shadow/Makefile: Likewise.
47645         * signal/Makefile: Likewise.
47646         * socket/Makefile: Likewise.
47647         * soft-fp/Makefile: Likewise.
47648         * stdio-common/Makefile: Likewise.
47649         * stdlib/Makefile: Likewise.
47650         * streams/Makefile: Likewise.
47651         * string/Makefile: Likewise.
47652         * sunrpc/Makefile: Likewise.
47653         (all): Remove target.
47654         * sysvipc/Makefile: Include Makeconfig immediately after defining
47655         subdir.
47656         * termios/Makefile: Likewise.
47657         * time/Makefile: Likewise.
47658         * timezone/Makefile: Likewise.
47659         (all): Remove target.
47660         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47661         subdir.
47662         * wctype/Makefile: Likewise.
47664 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47666         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47667         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47668         (libc_feholdexcept_setround_mips): Ditto.
47669         (libc_feholdsetround): New.
47670         (libc_feholdsetroundf): New.
47671         (libc_feholdsetroundl): New.
47672         (libc_feupdateenv_test_mips): New.
47673         (libc_feupdateenv_test): New.
47674         (libc_feupdateenv_testf): New.
47675         (libc_feupdateenv_testl): New.
47676         (libc_feresetround): New.
47677         (libc_feresetroundf): New.
47678         (libc_feresetroundl): New.
47679         (libc_fetestexcept_mips): New.
47680         (libc_fetestexcept): New.
47681         (libc_fetestexceptf): New.
47682         (libc_fetestexceptl): New.
47683         (HAVE_RM_CTX): New.
47684         (libc_feholdexcept_setround_mips_ctx): New.
47685         (libc_feholdexcept_setround_ctx): New.
47686         (libc_feholdexcept_setroundf_ctx): New.
47687         (libc_feholdexcept_setroundl_ctx): New.
47688         (libc_fesetenv_mips_ctx): New.
47689         (libc_fesetenv_ctx): New.
47690         (libc_fesetenv_ctxf): New.
47691         (libc_fesetenv_ctxl): New.
47692         (libc_feupdateenv_mips_ctx): New.
47693         (libc_feupdateenv_ctx): New.
47694         (libc_feupdateenvf_ctx): New.
47695         (libc_feupdateenvl_ctx): New.
47696         (libc_feholdsetround_mips_ctx): New.
47697         (libc_feholdsetround_ctx): New.
47698         (libc_feholdsetroundf_ctx): New.
47699         (libc_feholdsetroundl_ctx): New.
47700         (libc_feresetround_mips_ctx): New.
47701         (libc_feresetround_ctx): New.
47702         (libc_feresetroundf_ctx): New.
47703         (libc_feresetroundl_ctx): New.
47705 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47707         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47709         * manual/ipc.texi: New file.
47710         * manual/Makefile (chapters): Add ipc.
47711         * manual/job.texi: Add "Inter-Process Communication" to next.
47712         * manual/process.texi: Add "Inter-Process Communication" to prev.
47714 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47718 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47720         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47722         * manual/arith.texi: Fix spaces after sentences.
47723         * manual/charset.texi: Likewise.
47724         * manual/errno.texi: Likewise.
47725         * manual/install.texi: Likewise.
47726         * manual/llio.texi: Likewise.
47727         * manual/locale.texi: Likewise.
47728         * manual/maint.texi: Likewise.
47729         * manual/math.texi: Likewise.
47730         * manual/memory.texi: Likewise.
47731         * manual/message.texi: Likewise.
47732         * manual/probes.texi: Likewise.
47733         * manual/resource.texi: Likewise.
47734         * manual/signal.texi: Likewise.
47735         * manual/socket.texi: Likewise.
47736         * manual/stdio.texi: Likewise.
47737         * manual/string.texi: Likewise.
47738         * manual/time.texi: Likewise.
47739         * manual/users.texi: Likewise.
47741 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47743         [BZ #16632]
47744         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47745         _DEFAULT_SOURCE is defined.
47747 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47748             Carlos O'Donell  <carlos@redhat.com>
47750         [BZ #16613]
47751         * elf/dl-tls.c (_dl_count_modids): New function.
47752         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47753         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47754         audit library and increment generation counter.
47755         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47756         * elf/tst-audit9.c: New file.
47757         * elf/tst-auditmod9a.c: New file.
47758         * elf/tst-auditmod9b.c: New file.
47759         * elf/Makefile: Add rules to build and run tst-audit9.
47761 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47763         [BZ #15347]
47764         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47766 2014-02-25  Will Newton  <will.newton@linaro.org>
47768         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47769         (__longjmp): Restore sp and lr before restoring callee
47770         saved registers.  Add longjmp and longjmp_target
47771         SystemTap probe point.
47772         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47773         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47774         Define to zero to match jmpbuf layout.
47775         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47776         (__sigsetjmp): Save sp and lr before saving callee
47777         saved registers.  Add setjmp SystemTap probe point.
47779 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47781         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47783 2014-02-24  Andreas Schwab  <schwab@suse.de>
47785         [BZ #15804]
47786         * elf/pldd.c (wait_for_ptrace_stop): New function.
47787         (main): Call it after attaching.
47789 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47791         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47792         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47793         Versions files is now verboten.
47794         * hurd/Versions (libc: GLIBC_2.0):
47795         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47796         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47797         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47798         * mach/Versions: Likewise.
47800         * csu/Versions: Remove unused %include.
47801         * resolv/Versions: Likewise.
47803 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47805         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47806         ($(objpfx)check-local-headers.out): Likewise.
47807         ($(objpfx)begin-end-check.out): Likewise.
47808         * Makerules (check-abi-%.out): Likewise.
47809         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47810         ($(objpfx)test2.cat): Likewise.
47811         ($(objpfx)de/libc.cat): Likewise.
47812         ($(objpfx)test-gencat.out): Likewise.
47813         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47814         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47815         ($(objpfx)noload-mem): Likewise.
47816         ($(objpfx)tst-pathopt.out): Likewise.
47817         ($(objpfx)tst-rtld-load-self.out): Likewise.
47818         ($(objpfx)tst-array1-cmp.out): Likewise.
47819         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47820         ($(objpfx)tst-array2-cmp.out): Likewise.
47821         ($(objpfx)tst-array3-cmp.out): Likewise.
47822         ($(objpfx)tst-array4-cmp.out): Likewise.
47823         ($(objpfx)tst-array5-cmp.out): Likewise.
47824         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47825         ($(objpfx)check-textrel.out): Likewise.
47826         ($(objpfx)check-execstack.out): Likewise.
47827         ($(objpfx)check-localplt.out): Likewise.
47828         ($(objpfx)order2-cmp.out): Likewise.
47829         ($(objpfx)tst-leaks1-mem): Likewise.
47830         ($(objpfx)tst-leaks1-static-mem): Likewise.
47831         ($(objpfx)tst-initorder-cmp.out): Likewise.
47832         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47833         ($(objpfx)tst-unused-dep.out): Likewise.
47834         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47835         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47836         * iconv/Makefile (test-iconvconfig): Likewise.
47837         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47838         ($(objpfx)iconv-test.out): Likewise.
47839         ($(objpfx)tst-tables.out): Likewise.
47840         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47841         ($(objpfx)tst-gettext.out): Likewise.
47842         ($(objpfx)tst-translit.out): Likewise.
47843         ($(objpfx)tst-gettext2.out): Likewise.
47844         ($(objpfx)tst-gettext4.out): Likewise.
47845         ($(objpfx)tst-gettext6.out): Likewise.
47846         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47847         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47848         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47849         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47850         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47851         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47852         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47853         ($(objpfx)wordexp-tst.out): Likewise.
47854         ($(objpfx)annexc.out): Likewise.
47855         ($(objpfx)tst-fnmatch-mem): Likewise.
47856         ($(objpfx)bug-regex2-mem): Likewise.
47857         ($(objpfx)bug-regex14-mem): Likewise.
47858         ($(objpfx)bug-regex21-mem): Likewise.
47859         ($(objpfx)bug-regex31-mem): Likewise.
47860         ($(objpfx)tst-vfork3-mem): Likewise.
47861         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47862         ($(objpfx)tst-pcre-mem): Likewise.
47863         ($(objpfx)tst-boost-mem): Likewise.
47864         ($(objpfx)tst-getconf.out): Likewise.
47865         ($(objpfx)bug-ga2-mem): Likewise.
47866         ($(objpfx)bug-glob2-mem): Likewise.
47867         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47868         ($(objpfx)mtrace-tst-leaks2): Likewise.
47869         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47870         ($(objpfx)tst-printf.out): Likewise.
47871         ($(objpfx)tst-setvbuf1.out): Likewise.
47872         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47873         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47874         ($(objpfx)tst-fmtmsg.out): Likewise.
47875         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47876         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47878         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47879         * bits/sigaction.h [__USE_MISC]: Likewise.
47880         * bits/waitstatus.h: Update #endif comments.
47881         * ctype/ctype.h: Likewise.
47882         * dirent/dirent.h: Likewise.
47883         [__USE_MISC]: Remove redundant conditionals.
47884         * grp/grp.h: Update #endif comments.
47885         [__USE_GNU]: Remove redundant conditionals.
47886         [__USE_MISC]: Likewise.
47887         * inet/netinet/in.h [__USE_GNU]: Likewise.
47888         * io/sys/stat.h [__USE_MISC]: Likewise.
47889         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47890         * libio/bits/stdio.h: Update #endif comments.
47891         [__USE_MISC]: Remove redundant conditionals.
47892         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47893         * libio/stdio.h: Update #endif comments.
47894         [__USE_MISC]: Remove redundant conditionals.
47895         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47896         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47897         * math/math.h: Update #else and #endif comments.
47898         [__USE_MISC]: Remove redundant conditionals.
47899         * misc/sys/uio.h: Update #endif comments.
47900         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47901         * posix/glob.h [__USE_MISC]: Likewise.
47902         * posix/sys/types.h: Update #endif comments.
47903         [__USE_MISC]: Remove redundant conditionals.
47904         * posix/sys/wait.h: Update #endif comments.
47905         [__USE_MISC]: Remove redundant conditionals.
47906         * posix/unistd.h: Update #endif comments.
47907         [__USE_MISC]: Remove redundant conditionals.
47908         * pwd/pwd.h [__USE_GNU]: Likewise.
47909         [__USE_MISC]: Likewise.
47910         * resolv/netdb.h [__USE_GNU]: Likewise.
47911         * signal/signal.h: Update #endif comments.
47912         [__USE_MISC]: Remove redundant conditionals.
47913         * stdlib/stdlib.h: Update #else and #endif comments.
47914         [__USE_MISC]: Remove redundant conditionals.
47915         [__USE_GNU]: Likewise.
47916         * string/bits/string2.h [__USE_MISC]: Likewise.
47917         * string/string.h: Update #endif comments.
47918         [__USE_MISC]: Remove redundant conditionals.
47919         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47920         Likewise.
47921         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47922         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47923         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47924         Likewise.
47925         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47926         Likewise.
47927         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47928         comments.
47929         [__USE_MISC]: Remove redundant conditionals.
47930         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47931         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47932         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47933         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47934         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47935         Likewise.
47936         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47937         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47938         Likewise.
47939         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47940         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47941         Likewise.
47942         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47943         Likewise.
47944         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47945         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47946         Likewise.
47947         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47948         Likewise.
47949         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47950         * sysdeps/x86/bits/string.h: Update #endif comments.
47951         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47952         conditionals.
47953         * time/sys/time.h: Update #endif comments.
47954         * time/time.h: Likewise.
47955         [__USE_MISC]: Remove redundant conditionals.
47957 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47959         [BZ #16600]
47960         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47962 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47964         * Versions.def (librt): Add GLIBC_2.17.
47966 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47968         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47969         synonym for _SYS_AUXV_H to allow direct inclusion.
47970         * sysdeps/sparc/bits/hwcap.h: Likewise.
47971         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47972         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47973         * sysdeps/sparc/sysdep.h: Likewise.
47975 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47977         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47979 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47981         * benchtests/bench-strrchr.c: Print length instead of position.
47983 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47985         [BZ #16611]
47986         * sysdeps/unix/sysv/linux/kernel-features.h
47987         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47988         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47989         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47990         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47991         Likewise.
47992         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47993         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47994         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47995         (__ASSUME_SENDMMSG): Define instead of using previous
47996         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47997         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47998         (__ASSUME_SENDMMSG_SYSCALL): Define.
47999         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48000         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48001         Likewise.
48002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48003         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48004         Likewise.
48005         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48006         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48007         Likewise.
48008         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48009         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48010         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48011         [__ASSUME_SENDMMSG]: Change conditionals to
48012         [__ASSUME_SENDMMSG_SOCKETCALL].
48013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48014         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48015         Define.
48016         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48017         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48018         Likewise.
48019         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48020         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48021         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48022         [!__ASSUME_SENDMMSG]: Change conditional to
48023         [!__ASSUME_SENDMMSG_SOCKETCALL].
48024         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48025         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48026         Define.
48028         [BZ #16610]
48029         * sysdeps/unix/sysv/linux/kernel-features.h
48030         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48031         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48032         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48033         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48034         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48035         [__i386__ || __sparc__]
48036         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48037         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48038         (__ASSUME_RECVMMSG): Define instead of using previous
48039         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48041         (__ASSUME_RECVMMSG_SYSCALL): Define.
48042         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48043         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48044         Likewise.
48045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48047         Likewise.
48048         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48049         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48050         Likewise.
48051         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48052         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48053         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48054         [__ASSUME_RECVMMSG]: Change condition to
48055         [__ASSUME_RECVMMSG_SOCKETCALL].
48056         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48058         Define.
48059         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48060         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48061         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48062         Likewise.
48063         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48064         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48065         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48066         [!__ASSUME_RECVMMSG]: Change condition to
48067         [!__ASSUME_RECVMMSG_SOCKETCALL].
48068         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48069         (__ASSUME_RECVMMSG_SYSCALL): Define.
48071         [BZ #16609]
48072         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48073         __powerpc__ || __s390__ || __sh__ || __sparc__]
48074         (__ASSUME_SOCKETCALL): Define.
48075         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48076         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48077         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48078         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48079         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48080         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48081         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48082         (__ASSUME_ACCEPT4): Define instead of using previous
48083         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48084         __powerpc__ || __sparc__ || __s390__)] condition.
48085         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48086         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48087         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48088         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48089         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48090         [!__ASSUME_ACCEPT4]: Change condition to
48091         [!__ASSUME_ACCEPT4_SOCKETCALL].
48092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48093         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48094         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48096         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48097         __ASSUME_ACCEPT4_SYSCALL.
48098         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48099         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48100         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48101         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48102         __ASSUME_ACCEPT4_SYSCALL.
48103         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48104         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48105         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48106         [__ASSUME_ACCEPT4]: Change condition to
48107         [__ASSUME_ACCEPT4_SOCKETCALL].
48108         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48109         (__ASSUME_SOCKETCALL): Define.
48110         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48111         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48112         (__ASSUME_SOCKETCALL): Define.
48113         (__ASSUME_ACCEPT4): Remove.
48114         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48115         Define.
48116         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48117         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48118         Likewise.
48119         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48120         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48122         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48123         macro.
48124         (HWCAP_ARM_LPAE): Likewise.
48125         (HWCAP_ARM_EVTSTRM): Likewise.
48126         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48127         Add vpfd32, lpae and evtstrm.
48128         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48129         Increase to 22.
48131 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48133         * math/auto-libm-test-in: Add tests of clog10.
48134         * math/auto-libm-test-out: Regenerated.
48135         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48136         * sysdeps/i386/fpu/libm-test-ulps: Update.
48137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48139 2014-02-18  Andreas Schwab  <schwab@suse.de>
48141         [BZ #16574]
48142         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48143         Store non-zero if the second buffer was newly allocated.
48144         (send_dg): Likewise.
48145         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48146         to send_vc and send_dg.
48147         (res_nsend): Pass NULL for ansp2_malloced.
48148         * resolv/res_query.c (__libc_res_nquery): Add parameter
48149         answerp2_malloced and pass it down to __libc_res_nsend.
48150         (res_nquery): Pass additional NULL to __libc_res_nquery.
48151         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48152         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48153         second answer buffer if answerp2_malloced was set.
48154         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48155         (__libc_res_nquerydomain): Add parameter
48156         answerp2_malloced and pass it down to __libc_res_nquery.
48157         (res_nquerydomain): Pass additional NULL to
48158         __libc_res_nquerydomain.
48159         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48160         additional NULL to __libc_res_nsend and __libc_res_nquery.
48161         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48162         additional NULL to __libc_res_nsearch.
48163         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48164         parameter of __libc_res_nsearch to check for separately allocated
48165         second buffer.
48166         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48167         __libc_res_nquery.
48168         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48169         additional NULL to __libc_res_nquery.
48170         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48171         __libc_res_nsearch.
48172         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48173         * include/resolv.h: Update prototypes of __libc_res_nquery,
48174         __libc_res_nsearch, __libc_res_nsend.
48176 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48178         * math/auto-libm-test-in: Add tests of fma.
48179         * math/auto-libm-test-out: Regenerated.
48180         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48181         (fma_towardzero_test_data): Likewise.
48182         (fma_downward_test_data): Likewise.
48183         (fma_upward_test_data): Likewise.
48184         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48185         mpc_mode.
48186         (rounding_modes): Add values for new field.
48187         (func_calc_method): Add value mpfr_fff_f.
48188         (func_calc_desc): Add mpfr_fff_f union field.
48189         (test_function): Add field exact_args.
48190         (FUNC): Add macro argument EXACT_ARGS.
48191         (FUNC_mpfr_f_f): Update call to FUNC.
48192         (FUNC_mpfr_f_f): Likewise.
48193         (FUNC_mpfr_ff_f): Likewise.
48194         (FUNC_mpfr_if_f): Likewise.
48195         (FUNC_mpc_c_f): Likewise.
48196         (FUNC_mpc_c_c): Likewise.
48197         (test_functions): Add fma.  Update calls to FUNC.
48198         (handle_input_arg): Add argument exact_args.
48199         (add_test): Update call to handle_input_arg.
48200         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48201         (output_for_one_input_case): Update call to calc_generic_results.
48202         Recalculate exact zero results in each rounding mode.
48204         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48205         non-negative before setting low bit.
48206         * math/auto-libm-test-in: Mark one asin test possibly having
48207         spurious underflow.
48208         * math/auto-libm-test-out: Regenerated.
48209         * sysdeps/i386/fpu/libm-test-ulps: Update.
48210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48212 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48214         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48215         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48216         ports/sysdeps/unix/sysv/linux/microblaze.
48217         * README: Add missing listing for microblaze*-*-linux-gnu.
48219 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48221         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48222         duplicate code
48224 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48226         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48227         * sysdeps/unix/sysv/linux/ia64: Move directory from
48228         ports/sysdeps/unix/sysv/linux/ia64.
48229         * README: Update listing for ia64-*-linux-gnu.
48231 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48232             Joseph Myers  <joseph@codesourcery.com>
48234         * Makeconfig (test-name): New variable.
48235         (evaluate-test): Likewise.
48236         * Makerules (do-test-clean): Remove .test-result files.
48237         (common-mostlyclean): Likewise.
48238         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48239         * scripts/evaluate-test.sh: New file.
48241 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48243         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48244         separate $(objpfx)tst-fopenloc-cmp.out and
48245         $(objpfx)tst-fopenloc-mem.out targets.
48246         (tests): Update dependencies.
48247         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48248         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48249         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48250         (tst-rxspencer-no-utf8-ARGS): New variable.
48251         (tst-rxspencer-no-utf8-ENV): Likewise.
48252         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48253         instead of $(objpfx)tst-rxspencer-mem.
48254         ($(objpfx)tst-rxspencer-mem): Change target to
48255         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48256         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48257         * posix/tst-rxspencer-no-utf8.c: New file.
48259         * elf/Makefile ($(objpfx)order.out): Remove rule.
48260         [$(run-built-tests) = yes] (tests): Depend on
48261         $(objpfx)order-cmp.out.
48262         ($(objpfx)order-cmp.out): New rule.
48263         [$(run-built-tests) = yes] (tests): Depend on
48264         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48265         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48266         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48267         $(objpfx)tst-array5-static-cmp.out.
48268         ($(objpfx)tst-array1.out): Remove rule.
48269         ($(objpfx)tst-array1-cmp.out): New rule.
48270         ($(objpfx)tst-array1-static.out): Remove rule.
48271         ($(objpfx)tst-array1-static-cmp.out): New rule.
48272         ($(objpfx)tst-array2.out): Remove rule.
48273         ($(objpfx)tst-array2-cmp.out): New rule.
48274         ($(objpfx)tst-array3.out): Remove rule.
48275         ($(objpfx)tst-array3-cmp.out): New rule.
48276         ($(objpfx)tst-array4.out): Remove rule.
48277         ($(objpfx)tst-array4-cmp.out): New rule.
48278         ($(objpfx)tst-array5.out): Remove rule.
48279         ($(objpfx)tst-array5-cmp.out): New rule.
48280         ($(objpfx)tst-array5-static.out): Remove rule.
48281         ($(objpfx)tst-array5-static-cmp.out): New rule.
48282         [$(run-built-tests) = yes] (tests): Depend on
48283         $(objpfx)order2-cmp.out.
48284         ($(objpfx)order2.out): Remove rule.
48285         ($(objpfx)order2-cmp.out): New rule.
48286         ($(objpfx)tst-initorder.out): Remove rule.
48287         [$(run-built-tests) = yes] (tests): Depend on
48288         $(objpfx)tst-initorder-cmp.out.
48289         ($(objpfx)tst-initorder-cmp.out): New rule.
48290         ($(objpfx)tst-initorder2.out): Remove rule.
48291         [$(run-built-tests) = yes] (tests): Depend on
48292         $(objpfx)tst-initorder2-cmp.out.
48293         ($(objpfx)tst-initorder2-cmp.out): New rule.
48294         [$(run-built-tests) = yes] (tests): Depend on
48295         $(objpfx)tst-unused-dep-cmp.out.
48296         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48297         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48298         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48299         on $(objpfx)tst-setvbuf1-cmp.out.
48300         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48301         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48302         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48303         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48304         ($(objpfx)tst-svc.out): Remove rule.
48305         ($(objpfx)tst-svc-cmp.out): New rule.
48307 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48309         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48310         * ctype/ctype.h [__USE_MISC]: Likewise.
48311         * dirent/dirent.h [__USE_MISC]: Likewise.
48312         * grp/grp.h [__USE_MISC]: Likewise.
48313         * io/fcntl.h [__USE_MISC]: Likewise.
48314         * io/sys/stat.h [__USE_MISC]: Likewise.
48315         * libio/stdio.h [__USE_MISC]: Likewise.
48316         * posix/unistd.h [__USE_MISC]: Likewise.
48317         * pwd/pwd.h [__USE_MISC]: Likewise.
48318         * stdlib.h [__USE_MISC]: Likewise.
48319         * string/bits/string2.h [__USE_MISC]: Likewise.
48320         * string/string.h [__USE_MISC]: Likewise.
48321         * time/time.h [__USE_MISC]: Likewise.
48323 2014-02-13  Andreas Schwab  <schwab@suse.de>
48325         [BZ #16574]
48326         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48327         second answer buffer if it was separately allocated.
48329 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48331         * sysdeps/mips/math-tests.h: Include <features.h>.
48332         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48333         (ROUNDING_TESTS_long_double): Do not define.
48334         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48335         (EXCEPTION_TESTS_long_double): Likewise.
48336         * sysdeps/mips/mips64/libm-test-ulps: Update.
48338         * include/features.h (__USE_BSD): Remove macro definitions.
48339         (__USE_SVID): Likewise.
48340         (_BSD_SOURCE): Likewise.
48341         (_SVID_SOURCE): Likewise.
48342         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48343         from definition of _DEFAULT_SOURCE.
48344         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48345         [_DEFAULT_SOURCE].
48346         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48347         * bits/mman.h [__USE_BSD]: Likewise.
48348         * bits/termios.h [__USE_BSD]: Likewise.
48349         * bits/waitstatus.h [__USE_BSD]: Likewise.
48350         * ctype/ctype.h [__USE_SVID]: Likewise.
48351         * dirent/dirent.h [__USE_BSD]: Likewise.
48352         * grp/grp.h [__USE_SVID]: Likewise.
48353         [__USE_BSD]: Likewise.
48354         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48355         * io/fcntl.h [__USE_BSD]: Likewise.
48356         * io/ftw.h [__USE_BSD]: Likewise.
48357         * io/sys/stat.h [__USE_BSD]: Likewise.
48358         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48359         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48360         * libio/stdio.h [__USE_SVID]: Likewise.
48361         [__USE_BSD]: Likewise.
48362         * math/math.h [__USE_SVID]: Likewise.
48363         [__USE_BSD]: Likewise.
48364         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48365         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48366         * misc/search.h [__USE_SVID]: Likewise.
48367         * misc/sys/mman.h [__USE_BSD]: Likewise.
48368         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48369         * misc/sys/uio.h [__USE_BSD]: Likewise.
48370         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48371         * posix/glob.h [__USE_BSD]: Likewise.
48372         * posix/regex.h [__USE_BSD]: Likewise.
48373         * posix/sys/types.h [__USE_BSD]: Likewise.
48374         [__USE_SVID]: Likewise.
48375         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48376         * posix/sys/wait.h [__USE_BSD]: Likewise.
48377         [__USE_SVID]: Likewise.
48378         * posix/unistd.h [__USE_BSD]: Likewise.
48379         [__USE_SVID]: Likewise.
48380         * pwd/pwd.h [__USE_SVID]: Likewise.
48381         * resolv/netdb.h [__USE_BSD]: Likewise.
48382         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48383         * signal/signal.h [__USE_BSD]: Likewise.
48384         [__USE_SVID]: Likewise.
48385         * socket/sys/socket.h [__USE_BSD]: Likewise.
48386         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48387         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48388         [__USE_SVID]: Likewise.
48389         * string/bits/string2.h [__USE_BSD]: Likewise.
48390         [__USE_SVID]: Likewise.
48391         * string/bits/string3.h [__USE_BSD]: Likewise.
48392         * string/endian.h [__USE_BSD]: Likewise.
48393         * string/string.h [__USE_SVID]: Likewise.
48394         [__USE_BSD]: Likewise.
48395         * string/strings.h [__USE_BSD]: Likewise.
48396         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48397         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48398         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48399         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48400         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48401         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48402         Likewise.
48403         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48404         Likewise.
48405         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48406         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48407         Likewise.
48408         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48409         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48410         Likewise.
48411         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48412         Likewise.
48413         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48414         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48415         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48416         Likewise.
48417         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48418         Likewise.
48419         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48420         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48421         * termios/termios.h [__USE_BSD]: Likewise.
48422         * time/sys/time.h [__USE_BSD]: Likewise.
48423         * time/time.h [__USE_BSD]: Likewise.
48424         [__USE_SVID]: Likewise.
48426         * Makefile (subdir_targets): Remove subdir_lint.out.
48428         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48429         (do-tst-printf): Likewise.
48430         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48431         $(objpfx)tst-printf.out.
48433         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48435         * Makerules (check-abi-%): Change target to
48436         $(objpfx)check-abi-%.out.
48437         (check-abi target): Update dependencies.
48438         (check-abi-pattern variable): Redirect output of diff to $@.
48439         (check-abi variable): Likewise.
48440         * elf/Makefile (check-abi): Update dependencies.
48442         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48443         unused.
48444         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48445         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48446         subnormal range.
48447         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48448         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48449         value has largest subnormal exponent.
48450         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48451         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48452         * sysdeps/aarch64/soft-fp/sfp-machine.h
48453         (_FP_TININESS_AFTER_ROUNDING): New macro.
48454         * sysdeps/alpha/soft-fp/sfp-machine.h
48455         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48456         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48457         Likewise.
48458         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48459         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48460         * sysdeps/mips/soft-fp/sfp-machine.h
48461         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48462         * sysdeps/powerpc/soft-fp/sfp-machine.h
48463         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48464         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48465         Likewise.
48466         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48467         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48468         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48469         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48470         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48471         Likewise.
48473 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48475         [BZ #16545]
48476         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48477         model 1.
48479 2014-02-12  Richard Henderson  <rth@redhat.com>
48481         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48482         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48483         * sysdeps/unix/sysv/linux/alpha: Move directory from
48484         ports/sysdeps/unix/sysv/linux/alpha.
48485         * README: Update listing for alpha-*-linux-gnu.
48487 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48489         * include/features.h: Update comment documenting feature test
48490         macros.
48491         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48492         _DEFAULT_SOURCE.
48493         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48494         (_SVID_SOURCE): Likewise.
48495         (_DEFAULT_SOURCE): Update description of default features.
48496         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48497         with _GNU_SOURCE.
48498         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48499         (S_ISVTX): Likewise.
48500         * manual/math.texi (Mathematical Constants): Likewise.
48501         * manual/signal.texi (Interrupted Primitives): Likewise.
48502         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48503         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48504         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48505         Don't refer to _SVID_SOURCE in warning text.
48507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48509         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48510         already defined.
48511         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48512         * sysdeps/mips/dl-lookup.c: Remove.
48513         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48515 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48517         [BZ #16447]
48518         * math/auto-libm-test-in: Add testcase for expl.
48519         * math/auto-libm-test-out: Regenerate.
48520         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48521         calculation of unsafe.
48522         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48524 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48526         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48527         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48528         ports/sysdeps/unix/sysv/linux/aarch64.
48529         * README: Update listing for aarch64*-*-linux-gnu.
48531 2014-02-11  Will Newton  <will.newton@linaro.org>
48533         * manual/probes.texi (Mathematical Function Probes): Use
48534         "triggered" instead of "hit".
48536         * manual/probes.texi (Internal Probes): Add documentation
48537         of setjmp, longjmp and longjmp_target probes.
48539         * include/stap-probe.h: Add comment about probe argument
48540         format.
48542         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48543         definition.  (tr_where, tr_freehook, tr_mallochook,
48544         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48546 2014-02-11  David S. Miller  <davem@davemloft.net>
48548         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48549         processing int_tests.
48551 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48553         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48554         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48555         * sysdeps/unix/sysv/linux/mips: Move directory from
48556         ports/sysdeps/unix/sysv/linux/mips.
48557         * README: Update listing for mips-*-linux-gnu and
48558         mips64-*-linux-gnu.
48560 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48562         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48563         * sysdeps/unix/sysv/linux/m68k: Move directory from
48564         ports/sysdeps/unix/sysv/linux/m68k.
48565         * README: Update listing for m68k-*-linux-gnu.
48567 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48569         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48570         * sysdeps/unix/sysv/linux/generic: Move directory from
48571         ports/sysdeps/unix/sysv/linux/generic.
48572         * sysdeps/unix/sysv/linux/tile: Move directory from
48573         ports/sysdeps/unix/sysv/linux/tile.
48574         * README: Update listing for tile*-*-linux-gnu.
48576 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48578         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48579         __builtin_expect.
48580         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48581         * catgets/open_catalog.c (__open_catalog): Likewise.
48582         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48583         * debug/confstr_chk.c: Likewise.
48584         * debug/fread_chk.c (__fread_chk): Likewise.
48585         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48586         * debug/getgroups_chk.c: Likewise.
48587         * debug/mbsnrtowcs_chk.c: Likewise.
48588         * debug/mbsrtowcs_chk.c: Likewise.
48589         * debug/mbstowcs_chk.c: Likewise.
48590         * debug/memcpy_chk.c: Likewise.
48591         * debug/memmove_chk.c: Likewise.
48592         * debug/mempcpy_chk.c: Likewise.
48593         * debug/memset_chk.c: Likewise.
48594         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48595         * debug/strcat_chk.c (__strcat_chk): Likewise.
48596         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48597         * debug/strncat_chk.c (__strncat_chk): Likewise.
48598         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48599         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48600         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48601         * debug/wcpncpy_chk.c: Likewise.
48602         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48603         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48604         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48605         * debug/wcsncpy_chk.c: Likewise.
48606         * debug/wcsnrtombs_chk.c: Likewise.
48607         * debug/wcsrtombs_chk.c: Likewise.
48608         * debug/wcstombs_chk.c: Likewise.
48609         * debug/wmemcpy_chk.c: Likewise.
48610         * debug/wmemmove_chk.c: Likewise.
48611         * debug/wmempcpy_chk.c: Likewise.
48612         * debug/wmemset_chk.c: Likewise.
48613         * dirent/scandirat.c (SCANDIRAT): Likewise.
48614         * dlfcn/dladdr1.c (dladdr1): Likewise.
48615         * dlfcn/dladdr.c (dladdr): Likewise.
48616         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48617         * dlfcn/dlerror.c (__dlerror): Likewise.
48618         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48619         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48620         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48621         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48622         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48623         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48624         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48625         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48626         Likewise.
48627         * elf/dl-conflict.c: Likewise.
48628         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48629         * elf/dl-dst.h: Likewise.
48630         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48631         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48632         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48633         * elf/dl-init.c (call_init, _dl_init): Likewise.
48634         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48635         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48636         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48637         Likewise.
48638         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48639         Likewise.
48640         * elf/dl-minimal.c (__libc_memalign): Likewise.
48641         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48642         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48643         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48644         * elf/dl-sym.c (do_sym): Likewise.
48645         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48646         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48647         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48648         * elf/dl-writev.h (_dl_writev): Likewise.
48649         * elf/ldconfig.c (search_dir): Likewise.
48650         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48651         (dl_main): Likewise.
48652         * elf/setup-vdso.h (setup_vdso): Likewise.
48653         * grp/compat-initgroups.c (compat_call): Likewise.
48654         * grp/fgetgrent.c (fgetgrent): Likewise.
48655         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48656         * grp/putgrent.c (putgrent): Likewise.
48657         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48658         Likewise.
48659         * hurd/hurdinit.c: Likewise.
48660         * iconvdata/8bit-gap.c (struct): Likewise.
48661         * iconvdata/ansi_x3.110.c : Likewise.
48662         * iconvdata/big5.c : Likewise.
48663         * iconvdata/big5hkscs.c : Likewise.
48664         * iconvdata/cp1255.c: Likewise.
48665         * iconvdata/cp1258.c : Likewise.
48666         * iconvdata/cp932.c : Likewise.
48667         * iconvdata/euc-cn.c: Likewise.
48668         * iconvdata/euc-jisx0213.c : Likewise.
48669         * iconvdata/euc-jp.c: Likewise.
48670         * iconvdata/euc-jp-ms.c : Likewise.
48671         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48672         * iconvdata/gb18030.c : Likewise.
48673         * iconvdata/gbbig5.c (const): Likewise.
48674         * iconvdata/gbgbk.c: Likewise.
48675         * iconvdata/gbk.c : Likewise.
48676         * iconvdata/ibm1364.c : Likewise.
48677         * iconvdata/ibm930.c : Likewise.
48678         * iconvdata/ibm932.c: Likewise.
48679         * iconvdata/ibm933.c : Likewise.
48680         * iconvdata/ibm935.c : Likewise.
48681         * iconvdata/ibm937.c : Likewise.
48682         * iconvdata/ibm939.c : Likewise.
48683         * iconvdata/ibm943.c: Likewise.
48684         * iconvdata/iso_11548-1.c: Likewise.
48685         * iconvdata/iso-2022-cn.c : Likewise.
48686         * iconvdata/iso-2022-cn-ext.c : Likewise.
48687         * iconvdata/iso-2022-jp-3.c: Likewise.
48688         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48689         * iconvdata/iso-2022-kr.c : Likewise.
48690         * iconvdata/iso646.c (gconv_end): Likewise.
48691         * iconvdata/iso_6937-2.c : Likewise.
48692         * iconvdata/iso_6937.c : Likewise.
48693         * iconvdata/iso8859-1.c: Likewise.
48694         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48695         * iconvdata/shift_jisx0213.c : Likewise.
48696         * iconvdata/sjis.c : Likewise.
48697         * iconvdata/t.61.c : Likewise.
48698         * iconvdata/tcvn5712-1.c : Likewise.
48699         * iconvdata/tscii.c: Likewise.
48700         * iconvdata/uhc.c : Likewise.
48701         * iconvdata/unicode.c (gconv_end): Likewise.
48702         * iconvdata/utf-16.c (gconv_end): Likewise.
48703         * iconvdata/utf-32.c (gconv_end): Likewise.
48704         * iconvdata/utf-7.c (base64): Likewise.
48705         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48706         * iconv/gconv_close.c (__gconv_close): Likewise.
48707         * iconv/gconv_open.c (__gconv_open): Likewise.
48708         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48709         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48710         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48711         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48712         (ucs4le_internal_loop_single): Likewise.
48713         * iconv/iconv.c (iconv): Likewise.
48714         * iconv/iconv_close.c: Likewise.
48715         * iconv/loop.c (SINGLE): Likewise.
48716         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48717         * include/atomic.h: Likewise.
48718         * inet/inet6_option.c (option_alloc): Likewise.
48719         * intl/bindtextdom.c (set_binding_values): Likewise.
48720         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48721         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48722         * intl/localealias.c (read_alias_file): Likewise.
48723         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48724         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48725         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48726         * libio/fmemopen.c (fmemopen): Likewise.
48727         * libio/iofgets.c (_IO_fgets): Likewise.
48728         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48729         * libio/iofgetws.c (fgetws): Likewise.
48730         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48731         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48732         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48733         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48734         * locale/findlocale.c (_nl_find_locale): Likewise.
48735         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48736         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48737         Likewise.
48738         * locale/setlocale.c (setlocale): Likewise.
48739         * login/programs/pt_chown.c (main): Likewise.
48740         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48741         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48742         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48743         (mmap, mmap64, mremap, munmap): Likewise.
48744         * math/e_exp2l.c: Likewise.
48745         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48746         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48747         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48748         * math/s_catan.c (__catan): Likewise.
48749         * math/s_catanf.c (__catanf): Likewise.
48750         * math/s_catanh.c (__catanh): Likewise.
48751         * math/s_catanhf.c (__catanhf): Likewise.
48752         * math/s_catanhl.c (__catanhl): Likewise.
48753         * math/s_catanl.c (__catanl): Likewise.
48754         * math/s_ccosh.c (__ccosh): Likewise.
48755         * math/s_ccoshf.c (__ccoshf): Likewise.
48756         * math/s_ccoshl.c (__ccoshl): Likewise.
48757         * math/s_cexp.c (__cexp): Likewise.
48758         * math/s_cexpf.c (__cexpf): Likewise.
48759         * math/s_cexpl.c (__cexpl): Likewise.
48760         * math/s_clog10.c (__clog10): Likewise.
48761         * math/s_clog10f.c (__clog10f): Likewise.
48762         * math/s_clog10l.c (__clog10l): Likewise.
48763         * math/s_clog.c (__clog): Likewise.
48764         * math/s_clogf.c (__clogf): Likewise.
48765         * math/s_clogl.c (__clogl): Likewise.
48766         * math/s_csin.c (__csin): Likewise.
48767         * math/s_csinf.c (__csinf): Likewise.
48768         * math/s_csinh.c (__csinh): Likewise.
48769         * math/s_csinhf.c (__csinhf): Likewise.
48770         * math/s_csinhl.c (__csinhl): Likewise.
48771         * math/s_csinl.c (__csinl): Likewise.
48772         * math/s_csqrt.c (__csqrt): Likewise.
48773         * math/s_csqrtf.c (__csqrtf): Likewise.
48774         * math/s_csqrtl.c (__csqrtl): Likewise.
48775         * math/s_ctan.c (__ctan): Likewise.
48776         * math/s_ctanf.c (__ctanf): Likewise.
48777         * math/s_ctanh.c (__ctanh): Likewise.
48778         * math/s_ctanhf.c (__ctanhf): Likewise.
48779         * math/s_ctanhl.c (__ctanhl): Likewise.
48780         * math/s_ctanl.c (__ctanl): Likewise.
48781         * math/w_pow.c: Likewise.
48782         * math/w_powf.c: Likewise.
48783         * math/w_powl.c: Likewise.
48784         * math/w_scalb.c (sysv_scalb): Likewise.
48785         * math/w_scalbf.c (sysv_scalbf): Likewise.
48786         * math/w_scalbl.c (sysv_scalbl): Likewise.
48787         * misc/error.c (error_tail): Likewise.
48788         * misc/pselect.c (__pselect): Likewise.
48789         * nis/nis_callback.c (__nis_create_callback): Likewise.
48790         * nis/nis_call.c (__nisfind_server): Likewise.
48791         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48792         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48793         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48794         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48795         * nis/nis_lookup.c (nis_lookup): Likewise.
48796         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48797         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48798         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48799         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48800         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48801         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48802         * nis/nss_compat/compat-initgroups.c (add_group)
48803         (internal_getgrent_r): Likewise.
48804         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48805         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48806         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48807         (internal_getspnam_r): Likewise.
48808         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48809         (_nss_nis_getaliasbyname_r): Likewise.
48810         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48811         (_nss_nis_getntohost_r): Likewise.
48812         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48813         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48814         (_nss_nis_getgrgid_r): Likewise.
48815         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48816         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48817         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48818         (_nss_nis_gethostbyname4_r): Likewise.
48819         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48820         (initgroups_netid): Likewise.
48821         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48822         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48823         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48824         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48825         (_nss_nis_getprotobynumber_r): Likewise.
48826         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48827         (_nss_nis_getsecretkey): Likewise.
48828         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48829         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48830         (_nss_nis_getpwuid_r): Likewise.
48831         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48832         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48833         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48834         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48835         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48836         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48837         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48838         Likewise.
48839         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48840         (_nss_nisplus_getntohost_r): Likewise.
48841         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48842         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48843         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48844         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48845         Likewise.
48846         * nis/nss_nisplus/nisplus-initgroups.c
48847         (_nss_nisplus_initgroups_dyn): Likewise.
48848         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48849         (_nss_nisplus_getnetbyaddr_r): Likewise.
48850         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48851         (_nss_nisplus_getprotobynumber_r): Likewise.
48852         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48853         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48854         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48855         Likewise.
48856         * nis/nss_nisplus/nisplus-service.c
48857         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48858         (_nss_nisplus_getservbyport_r): Likewise.
48859         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48860         (_nss_nisplus_getspnam_r): Likewise.
48861         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48862         Likewise.
48863         * nscd/aicache.c (addhstaiX): Likewise.
48864         * nscd/cache.c (cache_search, prune_cache): Likewise.
48865         * nscd/connections.c (register_traced_file, send_ro_fd)
48866         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48867         (main_loop_epoll): Likewise.
48868         * nscd/grpcache.c (addgrbyX): Likewise.
48869         * nscd/hstcache.c (addhstbyX): Likewise.
48870         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48871         * nscd/mem.c (gc, mempool_alloc): Likewise.
48872         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48873         (addinnetgrX): Likewise.
48874         * nscd/nscd-client.h (__nscd_acquire_maplock)
48875         (__nscd_drop_map_ref): Likewise.
48876         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48877         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48878         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48879         Likewise.
48880         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48882         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48883         (__nscd_get_map_ref): Likewise.
48884         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48885         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48886         Likewise.
48887         * nscd/pwdcache.c (addpwbyX): Likewise.
48888         * nscd/selinux.c (preserve_capabilities): Likewise.
48889         * nscd/servicescache.c (addservbyX): Likewise.
48890         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48891         * posix/fnmatch.c (fnmatch): Likewise.
48892         * posix/getopt.c (_getopt_internal_r): Likewise.
48893         * posix/glob.c (glob, glob_in_dir): Likewise.
48894         * posix/wordexp.c (exec_comm_child): Likewise.
48895         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48896         (getanswer_r, gaih_getanswer_slice): Likewise.
48897         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48898         * resolv/res_init.c: Likewise.
48899         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48900         * resolv/res_query.c (__libc_res_nquery): Likewise.
48901         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48902         Likewise.
48903         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48904         * stdio-common/perror.c (perror): Likewise.
48905         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48906         * stdio-common/tmpnam.c (tmpnam): Likewise.
48907         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48908         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48909         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48910         Likewise.
48911         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48912         * stdlib/putenv.c (putenv): Likewise.
48913         * stdlib/setenv.c (__add_to_environ): Likewise.
48914         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48915         * stdlib/strtol_l.c (INTERNAL): Likewise.
48916         * string/memmem.c (memmem): Likewise.
48917         * string/strerror.c (strerror): Likewise.
48918         * string/strnlen.c (__strnlen): Likewise.
48919         * string/test-memmem.c (simple_memmem): Likewise.
48920         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48921         * sunrpc/pm_getport.c (__get_socket): Likewise.
48922         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48923         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48924         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48925         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48926         Likewise.
48927         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48928         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48929         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48930         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48931         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48932         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48933         Likewise.
48934         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48935         Likewise.
48936         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48937         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48938         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48939         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48940         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48942         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48943         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48944         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48945         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48946         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48948         Likewise.
48949         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48950         Likewise.
48951         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48952         Likewise.
48953         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48955         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48957         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48958         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48959         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48960         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48962         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48963         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48965         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48966         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48968         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48969         Likewise.
48970         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48971         Likewise.
48972         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48973         Likewise.
48974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48975         Likewise.
48976         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48977         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48978         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48979         Likewise.
48980         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48981         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48982         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48983         * sysdeps/posix/sleep.c: Likewise.
48984         * sysdeps/posix/tempname.c: Likewise.
48985         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48986         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48987         Likewise.
48988         * sysdeps/powerpc/powerpc32/dl-machine.h
48989         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48990         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48992         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48993         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48994         Likewise.
48995         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48996         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48997         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48998         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48999         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49000         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49001         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49002         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49003         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49004         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49005         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49006         (elf_machine_lazy_rel): Likewise.
49007         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49008         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49009         (elf_machine_lazy_rel): Likewise.
49010         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49011         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49012         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49013         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49014         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49015         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49016         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49017         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49018         Likewise.
49019         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49020         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49021         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49022         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49023         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49024         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49025         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49026         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49027         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49028         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49029         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49030         Likewise.
49031         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49032         (__posix_fallocate64_l64): Likewise.
49033         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49034         (posix_fallocate): Likewise.
49035         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49036         Likewise.
49037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49038         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49039         (getifaddrs_internal): Likewise.
49040         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49041         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49042         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49043         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49044         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49045         (__posix_fallocate64_l64): Likewise.
49046         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49047         Likewise.
49048         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49049         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49050         (__get_clockfreq): Likewise.
49051         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49052         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49053         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49054         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49056         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49057         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49058         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49059         Likewise.
49060         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49061         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49062         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49063         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49064         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49065         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49066         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49067         Likewise.
49068         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49069         (posix_fallocate): Likewise.
49070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49071         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49072         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49073         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49074         (elf_machine_rela, elf_machine_rela_relative)
49075         (elf_machine_lazy_rel): Likewise.
49076         * time/asctime.c (asctime_internal): Likewise.
49077         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49078         * time/tzset.c (__tzset_parse_tz): Likewise.
49079         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49080         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49081         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49082         * wcsmbs/wcsmbsload.h: Likewise.
49084         [BZ #15894]
49085         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49087         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49088         (arena_get2): Remove THREAD_STATS conditionals.
49089         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49090         (__malloc_stats, int): Likewise.
49092 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49094         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49095         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49097         * manual/setjmp.texi: Fix typos/grammar errors.
49099         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49100         Only return early when n is <= 0.  Delete unused return statement.
49102         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49103         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49104         * debug/tst-longjmp_chk3.c: New file.
49106         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49107         (test_main): Replace code with set_fortify_handler call.
49108         * debug/test-strcpy_chk.c: Likewise.
49109         * debug/tst-chk1.c: Likewise.
49110         * debug/tst-longjmp_chk.c: Likewise.
49111         * test-skeleton.c: Include fcntl.h & paths.h
49112         (set_fortify_handler): Define.
49114         * debug/tst-longjmp_chk.c: Add header comment and include
49115         ../test-skeleton.c.
49116         (do_test): Mark static.
49117         (TEST_FUNCTION): Define.
49119         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49120         (IP_PMTUDISC_INTERFACE): Likewise.
49121         (IP_MULTICAST_IF): Likewise.
49122         (IP_MULTICAST_TTL): Likewise.
49123         (IP_MULTICAST_LOOP): Likewise.
49124         (IP_ADD_MEMBERSHIP): Likewise.
49125         (IP_DROP_MEMBERSHIP): Likewise.
49126         (IP_UNBLOCK_SOURCE): Likewise.
49127         (IP_BLOCK_SOURCE): Likewise.
49128         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49129         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49130         (IP_MSFILTER): Likewise.
49131         (MCAST_JOIN_GROUP): Likewise.
49132         (MCAST_BLOCK_SOURCE): Likewise.
49133         (MCAST_UNBLOCK_SOURCE): Likewise.
49134         (MCAST_LEAVE_GROUP): Likewise.
49135         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49136         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49137         (MCAST_MSFILTER): Likewise.
49138         (IP_MULTICAST_ALL): Likewise.
49139         (IP_UNICAST_IF): Likewise.
49141         * timezone/Makefile: Delete $(have-ksh) check.
49142         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49143         * timezone/tzselect.ksh: Add +x mode bits.
49145         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49146         (ANON_INODE_FS_MAGIC): Likewise.
49147         (BDEVFS_MAGIC): Likewise.
49148         (BINFMTFS_MAGIC): Likewise.
49149         (BTRFS_TEST_MAGIC): Likewise.
49150         (CRAMFS_MAGIC_WEND): Likewise.
49151         (DEBUGFS_MAGIC): Likewise.
49152         (ECRYPTFS_SUPER_MAGIC): Likewise.
49153         (EXT3_SUPER_MAGIC): Likewise.
49154         (EXT4_SUPER_MAGIC): Likewise.
49155         (FUTEXFS_SUPER_MAGIC): Likewise.
49156         (HOSTFS_SUPER_MAGIC): Likewise.
49157         (HUGETLBFS_MAGIC): Likewise.
49158         (MINIX3_SUPER_MAGIC): Likewise.
49159         (MTD_INODE_FS_MAGIC): Likewise.
49160         (NILFS_SUPER_MAGIC): Likewise.
49161         (OPENPROM_SUPER_MAGIC): Likewise.
49162         (PIPEFS_MAGIC): Likewise.
49163         (PSTOREFS_MAGIC): Likewise.
49164         (QNX6_SUPER_MAGIC): Likewise.
49165         (RAMFS_MAGIC): Likewise.
49166         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49167         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49168         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49169         (SECURITYFS_MAGIC): Likewise.
49170         (SELINUX_MAGIC): Likewise.
49171         (SMACK_MAGIC): Likewise.
49172         (SOCKFS_MAGIC): Likewise.
49173         (SQUASHFS_MAGIC): Likewise.
49174         (STACK_END_MAGIC): Likewise.
49175         (TMPFS_MAGIC): Likewise.
49176         (USBDEVICE_SUPER_MAGIC): Likewise.
49177         (V9FS_MAGIC): Likewise.
49178         (XENFS_SUPER_MAGIC): Likewise.
49179         (CRAMFS_MAGIC): Fix typo in comment.
49180         (EXT2_SUPER_MAGIC): Update comment.
49181         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49183 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49185         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49186         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49187         * sysdeps/unix/sysv/linux/arm: Move directory from
49188         ports/sysdeps/unix/sysv/linux/arm.
49189         * README: Update listing for arm-*-linux-gnueabi.
49191         * README: Remove mention of am33.
49193 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49195         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49196         than the comma operator, to avoid "rhs of comma has no effect"
49197         compiler warnings.
49198         (__sigfillset, __sigandset, __sigorset): Likewise.
49199         * include/signal.h (__sigemptyset): Likewise.
49200         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49202 2014-02-07  Allan McRae  <allan@archlinux.org>
49204         * version.h (RELEASE): Set to "development".
49205         (VERSION): Set to "2.19.90"
49206         * NEWS: Add 2.20 section.
49208 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49210         [BZ #16529]
49211         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49213 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49215         * manual/contrib.texi: Update entry for Carlos O'Donell,
49216         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49218 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49220         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49222         * sysdeps/unix/sysv/linux/kernel-features.h
49223         [__LINUX_KERNEL_VERSION >= 0x020621]
49224         (__ASSUME_PROC_PID_TASK_COMM): Define.
49226 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49228         [BZ #16398]
49229         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49230         conversion when destination buffer does not have enough space.
49231         * libio/tst-ftell-partial-wide.c: New test case.
49232         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49234         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49235         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49236         Leonard and Allan McRae.
49238 2014-02-04  David S. Miller  <davem@davemloft.net>
49240         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49241         32-bit.
49243 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49246         New file
49247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49248         New file
49249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49250         New file.
49251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49252         New file.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49254         New file.
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49256         New file.
49257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49258         New file.
49259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49260         New file.
49261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49262         New file.
49263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49264         New file.
49265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49266         New file.
49267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49268         New file.
49269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49270         New file.
49272 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49274         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49275         * shlib-versions: Likewise.
49277 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49280         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49281         (abilist-pattern): New variable, set to %-le.abilist.
49283         * Makerules (abilist-pattern): New variable.
49284         (vpath): Use $(abilist-pattern) in place of %.abilist.
49285         (check-abi-% pattern rule): Likewise.
49286         (check-abi, update-abi): Likewise.
49288 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49292 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49294         * manual/startup.texi: Add next, previous, and top entries for
49295         the `Program Arguments' and `Environment Variables' nodes.
49297 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49299         * manual/macros.texi: Add comments before MTASC-safety macros.
49301         * manual/users.texi: Document MTASC-safety properties.
49303         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49304         (pthread_getspecific, pthread_setspecific): Format with
49305         @deftypefun, and add @safety note.
49306         * manual/signal.texi: Move comments that analyze the above
49307         functions to their home place.
49309 2014-02-03  Allan McRae  <allan@archlinux.org>
49311         * po/sl.po: Update Slovenian translation from translation project.
49313 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49315         * manual/time.texi (timegm): Add missing blank after @c.
49316         Reported by Joseph Myers <joseph@codesourcery.com>.
49318 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49320         * manual/check-safety.sh: New.
49321         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49323         * manual/terminal.texi: Document MTASC-safety properties.
49325         * manual/filesys.texi: Document MTASC-safety properties.
49327         * manual/errno.texi: Document MTASC-safety properties.
49329         * manual/intro.texi: Document safety identifiers and
49330         conditionals.
49332         * manual/string.texi (wcstok): Fix prototype.
49333         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49335         * manual/time.texi: Document MTASC-safety properties.
49337         * manual/string.texi: Document MTASC-safety properties.
49339         * manual/threads.texi: Document MTASC-safety properties.
49341         * manual/stdio.texi: Document MTASC-safety properties.
49343         * manual/syslog.texi: Document MTASC-safety properties.
49345         * manual/sysinfo.texi: Document MTASC-safety properties.
49347         * manual/startup.texi: Document MTASC-safety properties.
49349         * manual/socket.texi: Document MTASC-safety properties.
49351         * manual/signal.texi: Document MTASC-safety properties.
49353 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49355         * manual/setjmp.texi: Document MTASC-safety properties.
49357         * manual/search.texi: Document MTASC-safety properties.
49359         * manual/resource.texi: Document MTASC-safety properties.
49361         * manual/process.texi: Document MTASC-safety properties.
49363         * manual/platform.texi: Document MTASC-safety properties.
49365         * manual/pipe.texi: Document MTASC-safety properties.
49367         * manual/pattern.texi: Document MTASC-safety properties.
49369         * manual/message.texi: Document MTASC-safety properties.
49371         [BZ #12751]
49372         * manual/memory.texi: Document MTASC-safety properties.
49374         * manual/math.texi: Document MTASC-safety properties.
49376         * manual/locale.texi: Document MTASC-safety properties.
49378         * manual/llio.texi: Document MTASC-safety properties.
49380         * manual/libdl.texi: New.
49382         * manual/lang.texi: Document MTASC-safety properties.
49384         * manual/job.texi: Document MTASC-safety properties.
49386         * manual/getopt.texi: Document MTASC-safety properties.
49388         * manual/ctype.texi: Document MTASC-safety properties.
49390 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49392         [BZ #16046]
49393         * csu/libc-tls.c (static_map): Remove variable.
49394         (__libc_setup_tls): Use main executable's link map for TLS data.
49395         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49396         casing for LM_ID_BASE and GL(dl_nns).
49397         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49398         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49399         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49400         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49401         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49402         member.
49403         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49404         l_phnum members.
49406 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49408         * manual/debug.texi: Document MTASC-safety properties.
49410 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49412         [BZ #16510]
49413         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49414         of __x86_64__ when disabling x87 inline functions.
49416 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49418         * manual/charset.texi: Document MTASC-safety properties.
49420         * manual/crypt.texi: Document MTASC-safety properties.
49422         * manual/conf.texi: Document MTASC-safety properties.
49424         * manual/arith.texi: Document MTASC-safety properties.
49426         * manual/argp.texi: Document MTASC-safety properties.
49428         * manual/macros.texi: Introduce macros to document multi
49429         thread, asynchronous signal and asynchronous cancellation
49430         safety properties.
49431         * manual/intro.texi: Introduce the properties themselves.
49433 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49435         * sysdeps/sh/sh4/Makefile: New file.
49437 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49439         * math/gen-libm-test.pl ($srcdir): New variable.
49440         ($auto_input): Use it.
49442 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49444         [BZ #16506]
49445         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49446         access beyond array bounds when parsing netgroups file.
49448         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49449         the old buffer before realloc.
49451 2014-01-27  Allan McRae  <allan@archlinux.org>
49453         * po/fr.po: Update French translation from translation project.
49455 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49457         * sysdeps/sh/libm-test-ulps: Regenerate.
49459 2014-01-24  David S. Miller  <davem@davemloft.net>
49461         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49463 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49465         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49466         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49468 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49470         [BZ #16474]
49471         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49472         string pointers after reallocation.
49474 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49476         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49477         __SH4A__ instead of __SH_FPU_ANY__.
49479 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49481         * sysdeps/sh/fpu_control.h: New file.
49482         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49483         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49484         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49485         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49486         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49487         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49488         * sysdeps/sh/sys/ucontext.h: Remove.
49489         * sysdeps/sh/sys: Remove directory.
49491 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49493         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49494         s390/sys/ucontext.h.
49495         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49496         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49498 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49500         [BZ #15605]
49501         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49503 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49505         [BZ#16431]
49506         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49507         Adjust the vDSO correctly for internal calls.
49508         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49510 2014-01-20  Allan McRae  <allan@archlinux.org>
49512         * po/ca.po: Update Catalan translation from translation project.
49514 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49516         * sysdeps/s390/sotruss-lib.c: New file.
49518 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49520         [BZ#16430]
49521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49522         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49523         local calls issues by not having a PLT stub required for IFUNC calls.
49524         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49526 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49528         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49529         * math/test-fpucw-static.c: Likewise.
49531 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49533         [BZ #16453]
49534         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49536 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49538         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49539         implementation for powerpc.
49541 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49543         [BZ #14782]
49544         * sysdeps/posix/system.c (__libc_system): Do not enable
49545         asynchronous cancellation.
49547 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49549         [BZ #16427]
49550         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49551         handling only for numbers special also in the IEEE case.
49553 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49555         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49557 2014-01-11  Allan McRae  <allan@archlinux.org>
49559         * po/bg.po: Update Bulgarian translation from translation project.
49561         * po/de.po: Update German translation from translation project.
49563 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49565         * sysdeps/generic/gcc-compat.h: New file.
49567 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49569         * benchtests/asin-inputs: Correct slow inputs.
49570         * benchtests/acos-inputs: Likewise.
49572 2014-01-10  Allan McRae  <allan@archlinux.org>
49574         * po:sv.po: Update Swedish translation from translation project.
49576         * po/vi.po: Update Vietnamese translation from translation project.
49578         * po/eo.po: Update Esperanto translation from translation project.
49580         * po/cs.po: Update Czech translation from translation project.
49582         * po/nl.po: Update Dutch translation from translation project.
49584         * po/pl.po: Update Polish translation from translation project.
49586         * po/ru.po: Update Russian translation from translation project.
49588         * po/uk.po: Update Ukrainian translation from translation project.
49590 2014-01-08  Brooks Moses  <bmoses@google.com>
49592         * elf/dl-load.c: Fix comment typo.
49594 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49596         * po/header.pot: Rename to...
49597         * po/pot.header: ... this.
49598         * po/Makefile: Use pot.header.
49600 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49601             Maxim Kuvyrkov  <maxim@kugelworks.com>
49603         [BZ #16394]
49604         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49605         SRC and DEST against LEN.
49607 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49609         [BZ #16414]
49610         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49611         implementation.
49612         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49614 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49618 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49620         [BZ #16408]
49621         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49622         for large positive arguments.
49624 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49626         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49628         * math/auto-libm-test-in: Mark various tests with
49629         xfail-rounding:ldbl-128ibm.
49630         * math/auto-libm-test-out: Regenerated.
49632         [BZ #16407]
49633         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49634         Increase overflow threshold.
49636 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49638         [BZ #14286]
49639         * stdio-common/vfprintf.c: Check for integer overflow.
49641 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49643         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49644         the first argument and return value of __tls_get_addr_internal.
49646 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49648         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49649         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49651 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49653         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49654         * sysdeps/s390/rtld-global-offsets.sym: New file.
49655         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49656         GLIBC_2.19 symbol.
49657         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49658         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49659         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49660         ... this.
49661         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49662         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49663         ... this.
49664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49665         Regenerate.
49666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49667         Regenerate.
49668         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49669         halfs of GPRs for high_gprs contexts.
49670         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49671         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49672         field.
49673         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49674         uc_flags field.
49675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49676         64 bit versions:
49677         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49678         for high GPRs (uc_high_gprs) and for future extensions
49679         (__reserved).
49680         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49681         for future extensions (__reserved).
49682         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49683         64 bit versions:
49684         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49685         SC_HIGHGPRS offset definition.
49686         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49687         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49689         * Versions.def: Add GLIBC_2.19 for libpthread.
49690         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49691         siglongjmp for libpthread with GLIBC_2.19 symver.
49692         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49693         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49694         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49695         * sysdeps/s390/__longjmp.c: New file.
49696         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49697         * sysdeps/s390/longjmp.c: New file.
49698         * sysdeps/s390/setjmp.S: New file.
49699         * sysdeps/s390/sigjmp.S: New file.
49700         * sysdeps/s390/v1-longjmp.c: New file.
49701         * sysdeps/s390/v1-setjmp.h: New file.
49702         * sysdeps/s390/v1-sigjmp.c: New file.
49703         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49704         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49705         GLIBC_2.19 version.
49706         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49707         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49708         versioned symbols for ____longjmp_chk.
49709         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49710         Likewise.
49711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49712         Regenerate.
49713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49714         Regenerate.
49715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49716         Regenerate.
49717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49718         Regenerate.
49719         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49720         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49721         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49722         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49723         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49724         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49725         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49726         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49727         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49728         * sysdeps/s390/rtld-__longjmp.c: New file.
49729         * sysdeps/s390/rtld-setjmp.S: New file.
49731 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49733         [BZ #16400]
49734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49735         Return -__logl (x) for small positive arguments without evaluating
49736         a polynomial.
49738 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49740         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49741         Rename to ...
49742         (__ptrace_peeksiginfo_args): ... this.
49743         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49744         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49745         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49747 2014-01-06  Allan McRae  <allan@archlinux.org>
49749         * inet/netinet/in.h: Fix typo in comment.
49751 2014-01-05  Andreas Jaeger  <aj@suse.de>
49753         * sysdeps/i386/fpu/libm-test-ulps: Update.
49755 2014-01-05  Allan McRae  <allan@archlinux.org>
49757         * po/libc.pot: Regenerated.
49759         * malloc/memusagestat.c: Fix gettext call formatting.
49761 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49763         * nscd/nscd.c: Improve usage() output.
49765 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49767         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49768         * sysdeps/unix/sysv/linux/configure: Regenerated.
49769         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49770         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49772 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49774         [BZ #16390]
49775         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49776         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49778 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49780         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49781         extra tokens at end of #undef directive.
49782         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49783         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49784         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49786 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49788         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49790         * math/auto-libm-test-in: Mark various tests with
49791         xfail-rounding:ldbl-128ibm.
49792         * math/auto-libm-test-out: Regenerated.
49794 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49796         [BZ #16386]
49797         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49798         numbers with subnormal high part when calculating exponent.
49800         [BZ #16385]
49801         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49802         fabs.
49804         [BZ #16384]
49805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49806         M_LN2l.
49807         (__ieee754_acoshl): Use __log1pl not __log1p.
49809 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49811         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49812         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49813         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49814         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49815         (reused_arena, arena_get2): Convert to GNU style.
49816         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49817         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49818         (memalign_check, __malloc_set_state): Likewise.
49819         * malloc/mallocbug.c (main): Likewise.
49820         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49821         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49822         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49823         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49824         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49825         (__posix_memalign, malloc_info): Likewise.
49826         * malloc/malloc.h: Likewise.
49827         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49828         (mallochook, memalignhook, reallochook, mabort): Likewise.
49829         * malloc/mcheck.h: Likewise.
49830         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49831         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49832         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49833         * malloc/morecore.c (__default_morecore): Likewise.
49834         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49835         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49836         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49837         (print_and_abort): Likewise.
49838         * malloc/obstack.h: Likewise.
49839         * malloc/set-freeres.c (__libc_freeres): Likewise.
49840         * malloc/tst-mallocstate.c (main): Likewise.
49841         * malloc/tst-mtrace.c (main): Likewise.
49842         * malloc/tst-realloc.c (do_test): Likewise.
49844 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49846         [BZ #16366]
49847         * nscd/netgroupcache.c (do_notfound): New function.
49848         (addgetnetgrentX): Use it.
49850         [BZ # 16365]
49851         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49852         NSS_STATUS_NOTFOUND.
49854 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49856         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49859 2014-01-01  Allan McRae  <allan@archlinux.org>
49861         * scripts/update-copyrights: Update configure input file suffix.
49863         * NEWS: Update copyright year.
49864         * catgets/gencat.c: Likewise.
49865         * csu/version.c: Likewise.
49866         * debug/catchsegv.sh: Likewise.
49867         * debug/pcprofiledump.c: Likewise.
49868         * debug/xtrace.sh: Likewise.
49869         * elf/ldconfig.c: Likewise.
49870         * elf/ldd.bash.in: Likewise.
49871         * elf/pldd.c: Likewise.
49872         * elf/sotruss.ksh: Likewise.
49873         * elf/sprof.c: Likewise.
49874         * iconv/iconv_prog.c: Likewise.
49875         * iconv/iconvconfig.c: Likewise.
49876         * locale/programs/locale.c: Likewise.
49877         * locale/programs/localedef.c: Likewise.
49878         * login/programs/pt_chown.c: Likewise.
49879         * malloc/memusage.sh: Likewise.
49880         * malloc/memusagestat.c: Likewise.
49881         * malloc/mtrace.pl: Likewise.
49882         * manual/libc.texinfo: Likewise.
49883         * nscd/nscd.c: Likewise.
49884         * nss/getent.c: Likewise.
49885         * nss/makedb.c: Likewise.
49886         * posix/getconf.c: Likewise.
49887         * scripts/test-installation.pl: Likewise.
49889         * All files with FSF copyright notices: Update copyright dates
49890         using scripts/update-copyrights.
49891         * intl/plural.c: Regenerated.
49892         * locale/programs/charmap-kw.h: Likewise.
49893         * locale/programs/locfile-kw.h: Likewise.
49895 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49897         * sysdeps/unix/sysv/linux/configure: Regenerated.
49898         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49899         the linux/fanotify.h header.
49900         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49901         HAVE_LINUX_FANOTIFY_H is defined.
49903 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49905         * benchtests/cos-inputs: New inputs.
49906         * benchtests/sin-inputs: Likewise.
49908         * benchtests/atan-inputs: New inputs. Fix name of multiple
49909         precision fallback inputs.
49911         * benchtests/atanh-inputs: New inputs.
49912         * benchtests/tanh-inputs: Likewise.
49914         * benchtests/acosh-inputs: New inputs.
49915         * benchtests/asinh-inputs: Likewise.
49917         * benchtests/cosh-inputs: New inputs.
49918         * benchtests/sinh-inputs: Likewise.
49920         * benchtests/acos-inputs: Add more inputs.
49921         * benchtests/asin-inputs: Likewise.
49923 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49925         [BZ #16375]
49926         * manual/arith.texi: Fix spelling.
49927         * manual/charset.texi: Likewise.
49928         * manual/errno.texi: Likewise.
49929         * manual/filesys.texi: Likewise.
49930         * manual/lang.texi: Likewise.
49931         * manual/llio.texi: Likewise.
49932         * manual/locale.texi: Likewise.
49933         * manual/message.texi: Likewise.
49934         * manual/resource.texi: Likewise.
49935         * manual/search.texi: Likewise.
49936         * manual/setjmp.texi: Likewise.
49937         * manual/stdio.texi: Likewise.
49938         * manual/string.texi: Likewise.
49939         * manual/sysinfo.texi: Likewise.
49940         * manual/time.texi: Likewise.
49942 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49944         * po/sl.po: New file.
49946 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49948         * .gitignore: Add core/.gdbinit/.gdb_history.
49950 2013-12-27  Allan McRae  <allan@archlinux.org>
49952         [BZ #16369]
49953         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49954         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49956 2013-12-24  Brooks Moses  <bmoses@google.com>
49958         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49959         all compilers that claim C++98 compliance, not just GCC.
49960         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49961         Likewise.
49963 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49965         * NEWS: Restore accidentally deleted bug-fix entries.
49967 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49968             Ondřej Bílka  <neleai@seznam.cz>
49970         [BZ #15073]
49971         * malloc/malloc.c (_int_free): Perform sanity check only if we
49972         have_lock.
49974 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49976         [BZ #12986]
49977         * manual/stdio.texi (String Input Conversions): Clarify that character
49978         classes are not supported.
49980 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49984 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49986         [BZ #16337]
49987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49988         Calculate results for small negative arguments directly rather
49989         than using reflection formula with special underflow handling.
49991         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49992         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49993         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49994         (fchflags): Likewise.
49995         (revoke): Likewise.
49996         (setlogin): Likewise.
49997         (sigaltstack): Likewise.
49998         (wait4): Likewise.
49999         (sigblock): Remove.
50000         (sigsetmask): Likewise.
50001         (wait3): Likewise.
50002         (waitpid): Likewise.
50003         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50004         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50005         file.
50006         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50007         * sysdeps/unix/bsd/Makefile: ... here.
50008         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50009         * sysdeps/unix/bsd/Versions: ... here.
50010         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50011         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50012         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50013         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50014         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50015         * sysdeps/unix/bsd/sigblock.c: ... here.
50016         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50017         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50018         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50019         * sysdeps/unix/bsd/sigvec.c: ... here.
50020         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50021         * sysdeps/unix/bsd/tcdrain.c: ... here.
50022         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50023         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50024         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50025         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50026         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50027         * sysdeps/unix/bsd/wait.c: ... here.
50028         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50029         * sysdeps/unix/bsd/wait3.c: ... here.
50030         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50031         * sysdeps/unix/bsd/waitpid.c: ... here.
50033 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50035         [BZ #16356]
50036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50037         round-to-nearest for [!USE_AS_EXPM1L].
50038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50039         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50040         more tests of exp and exp10.  Expect some exp10 tests to miss
50041         exceptions or fail in directed rounding modes.
50042         * math/auto-libm-test-out: Regenerated.
50043         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50044         (exp10_test_tonearest): New function.
50045         (exp10_towardzero_test_data): New array.
50046         (exp10_test_towardzero): New function.
50047         (exp10_downward_test_data): New array.
50048         (exp10_test_downward): New function.
50049         (exp10_upward_test_data): New array.
50050         (exp10_test_upward): New function.
50051         (main): Call the new functions.
50052         * sysdeps/i386/fpu/libm-test-ulps: Update.
50053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50055 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50057         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50058         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50059         * math/auto-libm-test-out: Regenerated.
50060         * math/libm-test.inc (acosh_test_data): Add more tests.
50061         (atanh_test_data): Likewise.
50062         (ceil_test_data): Likewise.
50063         (copysign_test_data): Likewise.
50064         * sysdeps/i386/fpu/libm-test-ulps: Update.
50065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50067         * timezone/checktab.awk: Update from tzcode 2013i.
50068         * timezone/private.h: Likewise.
50069         * timezone/scheck.c: Likewise.
50070         * timezone/tzfile.h: Likewise.
50071         * timezone/tzselect.ksh: Likewise.
50072         * timezone/zdump.c: Likewise.
50073         * timezone/zic.c: Likewise.
50075         * math/auto-libm-test-in: Add tests of cpow.
50076         * math/auto-libm-test-out: Regenerated.
50077         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50078         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50079         mpc_cc_c.
50080         (func_calc_desc): Add mpc_cc_c union field.
50081         (test_functions): Add cpow.
50082         (special_fill_2pi): New function.
50083         (special_real_inputs): Add 2pi.
50084         (calc_generic_results): Handle mpc_cc_c.
50085         * sysdeps/i386/fpu/libm-test-ulps: Update.
50086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50088         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50089         csqrt, ctan and ctanh.
50090         * math/auto-libm-test-out: Regenerated.
50091         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50092         (TEST_COND_x86): Likewise.
50093         (ccos_test_data): Use AUTO_TESTS_c_c.
50094         (ccosh_test_data): Likewise.
50095         (cexp_test_data): Likewise.
50096         (clog_test_data): Likewise.
50097         (csqrt_test_data): Likewise.
50098         (ctan_test_data): Likewise.
50099         (ctan_tonearest_test_data): Likewise.
50100         (ctan_towardzero_test_data): Likewise.
50101         (ctan_downward_test_data): Likewise.
50102         (ctan_upward_test_data): Likewise.
50103         (ctanh_test_data): Likewise.
50104         (ctanh_tonearest_test_data): Likewise.
50105         (ctanh_towardzero_test_data): Likewise.
50106         (ctanh_downward_test_data): Likewise.
50107         (ctanh_upward_test_data): Likewise.
50108         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50109         mpc_c_c.
50110         (func_calc_desc): Add mpc_c_c union field.
50111         (FUNC_mpc_c_c): New macro.
50112         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50113         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50114         ctanh.
50115         (special_fill_min_subnorm_p120): New function.
50116         (special_real_inputs): Add min_subnorm_p120.
50117         (calc_generic_results): Handle mpc_c_c.
50118         * sysdeps/i386/fpu/libm-test-ulps: Update.
50119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50121 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50123         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50124         (do_sin_slow): New functions.
50125         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50126         (cslow2, csloww1, csloww2): Use the new functions.
50128         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50129         Use M to change sign of result instead of X.  Assume X is
50130         positive.
50131         (csloww1): Likewise.
50132         (__sin): Adjust.
50133         (__cos): Adjust.
50135         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50136         arguments A and DA.
50137         (__sin): Adjust.
50138         (__cos): Likewise.
50140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50141         (__cos): Likewise.
50142         (sloww1): Don't adjust sign of DX.
50143         (csloww1): Likewise.
50144         (sloww2): Use X directly and don't adjust sign of DX.
50145         (csloww2): Likewise.
50147 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50149         * math/auto-libm-test-in: Add tests of cabs and carg.
50150         * math/auto-libm-test-out: Regenerated.
50151         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50152         (carg_test_data): Likewise.
50153         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50154         mpc_c_f.
50155         (func_calc_desc): Add mpc_c_f union field.
50156         (test_functions): Add cabs and carg.
50157         (calc_generic_results): Handle mpc_c_f.
50159         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50160         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50161         as a macro and a compat symbol.
50162         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50163         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50164         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50165         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50166         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50167         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50168         not use .hidden.
50169         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50170         Likewise.
50171         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50172         Likewise.
50173         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50174         Likewise.
50175         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50176         Likewise.
50177         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50178         Likewise.
50179         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50180         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50181         from GLIBC_2.3.2.
50183 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50187 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50189         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50190         trailing whitespace removed.
50191         * scripts/config.guess: Update to version 2013-11-29.
50192         * scripts/config.sub: Update to version 2013-10-01.
50194         * math/auto-libm-test-in: Add tests of sincos.
50195         * math/auto-libm-test-out: Regenerated.
50196         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50197         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50198         mpfr_f_11.
50199         (func_calc_desc): Add mpfr_f_11 union field.
50200         (test_functions): Add sincos.
50201         (calc_generic_results): Handle mpfr_f_11.
50202         * sysdeps/i386/fpu/libm-test-ulps: Update.
50203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50205 2013-12-19  Andreas Schwab  <schwab@suse.de>
50207         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50208         CALL_MCOUNT.
50209         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50210         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50211         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50213 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50215         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50216         * sysdeps/i386/fpu/libm-test-ulps: Update.
50217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50219         [BZ #16293]
50220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50221         round-to-nearest mode when using frndint.
50222         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50223         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50224         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50225         Likewise.
50226         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50227         sinh test to fail.
50228         * math/auto-libm-test-out: Regenerated.
50229         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50230         (TEST_COND_x86): Likewise.
50231         (expm1_tonearest_test_data): New array.
50232         (expm1_test_tonearest): New function.
50233         (expm1_towardzero_test_data): New array.
50234         (expm1_test_towardzero): New function.
50235         (expm1_downward_test_data): New array.
50236         (expm1_test_downward): New function.
50237         (expm1_upward_test_data): New array.
50238         (expm1_test_upward): New function.
50239         (main): Run the new test functions.
50240         * sysdeps/i386/fpu/libm-test-ulps: Update.
50241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50243         * include/features.h: Update comment documenting feature test
50244         macros.  Mention _DEFAULT_SOURCE in comment.
50245         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50246         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50247         _BSD_SOURCE and _SVID_SOURCE.
50248         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50249         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50250         !_SVID_SOURCE]: Likewise.
50251         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50252         (__USE_POSIX_IMPLICITLY): Define.
50253         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50254         (_POSIX_SOURCE): Undefine and redefine.
50255         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50256         (_POSIX_C_SOURCE): Likewise.
50257         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50258         (Feature Test Macros): Update documentation of default features.
50260 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50262         * benchtests/Makefile: Add bench-strtok.
50263         * benchtests/bench-strtok.c: New file: strtok benchtest.
50265 2013-12-19  Allan McRae  <allan@archlinux.org>
50267         * manual/install.texi: Suppress menu for plain text output.
50268         * INSTALL: Regenerated.
50270 2013-12-18  Brooks Moses  <bmoses@google.com>
50272         [BZ #15846]
50273         * misc/getauxval.c: Include errno.h.
50274         (__getauxval): Set errno to ENOENT if the requested type is not
50275         found.
50276         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50277         don't declare with __attribute_const__.
50278         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50279         * manual/startup.texi: Document that getauxval sets errno.
50281 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50283         * math/auto-libm-test-in: Add tests of jn and yn.
50284         * math/auto-libm-test-out: Regenerated.
50285         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50286         (yn_test_data): Likewise.
50287         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50288         mpfr_if_f.
50289         (func_calc_desc): Add mpfr_if_f union field.
50290         (FUNC_mpfr_if_f): New macro.
50291         (test_functions): Add jn and yn.
50292         (calc_generic_results): Assert type of second input for
50293         mpfr_ff_f.  Handle mpfr_if_f.
50294         (output_for_one_input_case): Disable all checking for arguments
50295         fitting floating-point types in case of an integer argument.
50296         * sysdeps/i386/fpu/libm-test-ulps: Update.
50297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50300         Don't expect fegetround reference in libm.so.
50302 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50304         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50305         $(config-cflags-nofma).
50307 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50309         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50310         * math/auto-libm-test-out: Regenerated.
50312         [BZ #16338]
50313         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50314         to determine exponent and adjust argument to have exponent of -1.
50315         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50316         log2.
50317         * math/auto-libm-test-out: Regenerated.
50318         * sysdeps/i386/fpu/libm-test-ulps: Update.
50319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50321 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50323         * manual/probes.texi: Remove cases when per-thread arenas are
50324         disabled.
50326 2013-12-18  Andreas Schwab  <schwab@suse.de>
50328         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50329         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50330         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50331         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50332         * sysdeps/i386/i686/multiarch/Makefile: Update.
50333         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50335 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50337         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50338         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50340 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50342         [BZ #15968]
50343         Support TZ transition times < 00:00:00.
50344         This is needed for version-3 tz-format files; it supports time
50345         stamps past 2037 for America/Godthab (the only entry in the tz
50346         database for which this change is relevant).
50347         * manual/time.texi (TZ Variable): Document transition times
50348         from -167:59:59 through -00:00:01.
50349         * time/tzset.c (tz_rule): Time of day is now signed.
50350         (__tzset_parse_tz): Parse negative time of day.
50352         Document TZ transition times >= 25:00:00.
50353         * manual/time.texi (TZ Variable): Document transition times from
50354         25:00:00 through 167:59:59.  These are already supported, and this
50355         support will help with version-3 tz-format files.
50357         * manual/time.texi (TZ Variable): Modernize North America example
50358         to reflect current (i.e., 2007-and-later) daylight saving rules.
50360         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50362 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50364         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50365         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50366         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50368         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50369         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50370         * sysdeps/unix/bsd/clock.c: Likewise.
50371         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50372         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50373         * sysdeps/unix/bsd/init-posix.c: Likewise.
50374         * sysdeps/unix/bsd/poll.c: Likewise.
50375         * sysdeps/unix/bsd/ptsname.c: Likewise.
50376         * sysdeps/unix/bsd/seekdir.c: Likewise.
50377         * sysdeps/unix/bsd/setegid.c: Likewise.
50378         * sysdeps/unix/bsd/seteuid.c: Likewise.
50379         * sysdeps/unix/bsd/setgid.c: Likewise.
50380         * sysdeps/unix/bsd/setrgid.c: Likewise.
50381         * sysdeps/unix/bsd/setruid.c: Likewise.
50382         * sysdeps/unix/bsd/setsid.c: Likewise.
50383         * sysdeps/unix/bsd/setuid.c: Likewise.
50384         * sysdeps/unix/bsd/sigaction.c: Likewise.
50385         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50386         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50387         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50388         * sysdeps/unix/bsd/telldir.c: Likewise.
50389         * sysdeps/unix/bsd/times.c: Likewise.
50390         * sysdeps/unix/bsd/usleep.c: Likewise.
50392         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50393         ($(objpfx)libbsd-compat.a): Remove rule.
50395         * include/features.h (__FAVOR_BSD): Do not define.
50396         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50397         features conflicting with POSIX.
50398         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50399         (_BSD_SOURCE): Remove description of not being a subset of other
50400         feature test macros.
50401         * manual/job.texi (getpgrp): Do not document BSD version.
50402         (getpgid): Do not document by reference to BSD getpgrp.
50403         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50404         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50405         * signal/signal.h [__FAVOR_BSD]: Likewise.
50406         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50407         instead of making contents conditional on [__FAVOR_BSD].
50408         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50410 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50414 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50416         [BZ #16314]
50417         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50418         values below 2**-450, not 2**-500.
50419         * math/auto-libm-test-in: Don't allow spurious underflow from
50420         hypot.
50421         * math/auto-libm-test-out: Regenerated.
50423         [BZ #16316]
50424         [BZ #16330]
50425         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50426         values of ha and hb and sort them after adjusting subnormal
50427         arguments.
50428         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50429         Likewise.
50430         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50431         values of ea and eb and sort them after adjusting subnormal
50432         arguments.
50433         * math/auto-libm-test-in: Do not expect some hypot tests of
50434         subnormals to fail.  Add more hypot tests.
50435         * math/auto-libm-test-out: Regenerated.
50437 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50439         [BZ #13304]
50440         * sysdeps/sh/s_fma.c: New file.
50441         * sysdeps/sh/s_fmaf.c: New file.
50442         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50443         version.
50444         * sysdeps/sh/Implies: Add sh/soft-fp.
50446 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50448         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50449         level of indirection to members `objname', `errstring', `malloced'.
50450         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50451         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50452         it as the __longjmp argument (just pass 1 instead).
50453         (_dl_catch_error): Initialize C with argument pointers and address of
50454         volatile local ERRCODE rather than copying values out of C at return.
50456 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50458         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50459         * math/auto-libm-test-out: Regenerated.
50460         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50461         (hypot_test_data): Likewise.
50462         (pow_test_data): Likewise.
50463         (pow_tonearest_test_data): Likewise.
50464         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50465         mpfr_ff_f.
50466         (func_calc_desc): Add mpfr_ff_f union field.
50467         (FUNC_mpfr_ff_f): New macro.
50468         (test_functions): Add atan2, hypot and pow.
50469         (special_fill_min): New function.
50470         (special_fill_minus_min): Likewise.
50471         (special_fill_min_subnorm): Likewise.
50472         (special_fill_minus_min_subnorm): Likewise.
50473         (special_real_inputs): Add min, -min, min_subnorm and
50474         -min_subnorm.
50475         (calc_generic_results): Handle mpfr_ff_f.
50476         * sysdeps/i386/fpu/libm-test-ulps: Update.
50477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50479 2013-12-16  Will Newton  <will.newton@linaro.org>
50481         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50482         (Aligned Memory Blocks): Add documentation for aligned_alloc
50483         and suggest it as an alternative to posix_memalign.
50484         (Hooks for Malloc): Document __memalign_hook is also called
50485         for aligned_alloc.  (Summary of Malloc): Add summary for
50486         aligned alloc.  Document __memalign_hook is also called
50487         for aligned_alloc.
50489 2013-12-16  Will Newton  <will.newton@linaro.org>
50491         * manual/memory.texi (Malloc Examples): Clarify default
50492         alignment documentation.  Suggest posix_memalign rather
50493         than memalign or valloc.
50494         (Aligned Memory Blocks): Remove suggestion to use memalign
50495         or valloc.  Remove obsolete comment about BSD.
50496         Document memalign errno values and mark the function obsolete.
50497         Document posix_memalign returned error codes.  Mark valloc
50498         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50499         called for posix_memalign and valloc.
50500         (Summary of Malloc): Add posix_memalign to function summary.
50501         __memalign_hook is also called for posix_memalign and valloc.
50503 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50505         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50506         TAYLOR_SIN.
50507         (__sin): Adjust.
50508         (__cos): Likewise.
50509         (sloww): Use mynumber union.  Expand ternary operator into
50510         if-else statements.
50511         (cslow): use mynumber union.
50513 2013-12-16  Allan McRae  <allan@archlinux.org>
50515         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50516         * configure: Regenerated.
50518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50520         [BZ #14120]
50521         * configure.ac: Added --enable-maintainer-mode. Check for
50522         autoconf when enabled.
50523         * configure: Regenerated.
50525         * nscd/nscd.service: New file.
50526         * nscd/nscd.tmpfiles: New file.
50528 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50530         [BZ #12100]
50531         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50532         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50533         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50534         (strstr): Add __strstr_sse2_unaligned ifunc.
50535         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50536         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50537         (strcasestr): Remove __strcasestr_sse42 ifunc.
50538         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50542 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50544         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50545         * sysdeps/sh/bits/fenv.h: ... here.
50546         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50548 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50550         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50553         hypotf multiarch implementations.
50554         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50556         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50557         multiarch hypot for PPC64.
50558         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50561         multiarch hypotf for PPC64.
50563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50564         modff multiarch implementations.
50565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50568         multiarch modf for PPC64.
50569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50572         multiarch modff for PPC64.
50574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50575         and logl multiarch implementations.
50576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50579         multiarch logb for PPC64.
50580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50583         multiarch logb for PPC64.
50584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50587         multiarch logb for PPC64.
50589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50590         isinff multiarch implementation.
50591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50592         file.
50593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50595         multiarch isinf for PPC64.
50596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50597         file.
50598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50599         multiarch isinff for PPC64.
50601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50602         finitef multiarch implementation.
50603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50604         file.
50605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50607         multiarch finite for PPC64.
50608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50609         file.
50610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50611         multiarch finitef for PPC64.
50613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50614         lrint multiarch implementation.
50615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50616         file.
50617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50619         multiarch llrint for PPC64.
50620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50621         multiarch lrint for PPC64.
50623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50624         copysignf multiarch implementation.
50625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50626         file.
50627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50628         file.
50629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50630         multiarch copysign for PPC64.
50631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50632         multiarch copysignf for PPC64.
50634         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50635         multiarch implementation.
50636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50637         file.
50638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50639         file.
50640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50641         file.
50642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50643         file.
50644         multiarch llround for PPC64.
50645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50646         multiarch trunc for PPC64.
50647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50648         multiarch truncf for PPC64.
50650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50651         multiarch implementation.
50652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50653         file.
50654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50655         file.
50656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50657         file.
50658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50659         file.
50660         multiarch llround for PPC64.
50661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50662         multiarch round for PPC64.
50663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50664         multiarch roundf for PPC64.
50666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50667         multiarch implementation.
50668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50669         file.
50670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50671         file.
50672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50673         file.
50674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50675         file.
50676         multiarch llround for PPC64.
50677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50678         multiarch floor for PPC64.
50679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50680         multiarch floorf for PPC64.
50682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50683         multiarch implementation.
50684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50685         file.
50686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50687         file.
50688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50689         file.
50690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50691         file.
50692         multiarch llround for PPC64.
50693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50694         multiarch ceil for PPC64.
50695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50696         multiarch ceilf for PPC64.
50698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50699         multiarch implementation.
50700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50701         file.
50702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50703         file.
50704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50705         file.
50706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50707         multiarch llround for PPC64.
50708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50709         multiarch lround for PPC64.
50711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50712         multiarch implementation.
50713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50716         file.
50717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50720         multiarch isnan for PPC64.
50721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50722         multiarch isnanf for PPC64.
50724         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50725         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50726         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50727         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50728         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50731         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50732         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50737         multiarch implementations.
50738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50739         (__libc_ifunc_impl_list): Likewise.
50740         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50742         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50743         multiarch stpcpy for PPC64.
50745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50746         multiarch implementations.
50747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50748         (__libc_ifunc_impl_list): Likewise.
50749         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50750         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50751         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50752         multiarch strcpy for PPC64.
50754         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50755         redefine function name.
50756         (_wordcopy_fwd_dest_aligned): Likewise.
50757         (_wordcopy_bwd_aligned): Likewise.
50758         (_wordcopy_bwd_dest_aligned): Likewise.
50759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50760         multiarch implementations.
50761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50762         (__libc_ifunc_impl_list): Likewise.
50763         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50764         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50765         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50767         multiarch wcscpy for PPC64.
50769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50770         multiarch implementations.
50771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50772         (__libc_ifunc_impl_list): Likewise.
50773         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50774         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50775         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50776         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50777         multiarch wcscpy for PPC64.
50779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50780         multiarch implementations.
50781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50782         (__libc_ifunc_impl_list): Likewise.
50783         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50784         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50785         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50786         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50787         multiarch wcsrchr for PPC64.
50789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50790         multiarch implementations.
50791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50792         (__libc_ifunc_impl_list): Likewise.
50793         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50794         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50795         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50796         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50797         multiarch wcschr for PPC64.
50799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50800         multiarch implementations.
50801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50802         (__libc_ifunc_impl_list): Likewise.
50803         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50804         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50805         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50806         multiarch strchrnul for PPC64.
50808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50809         implementations.
50810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50811         (__libc_ifunc_impl_list): Likewise.
50812         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50813         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50814         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50815         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50816         strchr for PPC64.
50818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50819         implementations.
50820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50821         (__libc_ifunc_impl_list): Likewise.
50822         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50824         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50825         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50826         strncmp for PPC64.
50828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50829         multiarch implementations.
50830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50831         (__libc_ifunc_impl_list): Likewise.
50832         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50833         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50834         strncasecmp for PPC64.
50835         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50836         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50837         multiarch strncasecmp_l for PPC64.
50839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50840         multiarch implementations.
50841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50842         (__libc_ifunc_impl_list): Likewise.
50843         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50845         multiarch strcasecmp for PPC64.
50846         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50847         file.
50848         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50849         multiarch strcasecmp_l for PPC64.
50851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50852         implementations.
50853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50854         (__libc_ifunc_impl_list): Likewise.
50855         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50856         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50857         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50858         strnlen for PPC64.
50860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50861         implementations.
50862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50863         (__libc_ifunc_impl_list): Likewise.
50864         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50865         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50866         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50867         strlen for PPC64.
50869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50870         implementations.
50871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50872         (__libc_ifunc_impl_list): Likewise.
50873         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50874         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50875         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50876         rawmemrchr for PPC64.
50878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50879         implementation.
50880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50881         (__libc_ifunc_impl_list): Likewise.
50882         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50883         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50884         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50885         memrchr for PPC64.
50887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50888         implementation.
50889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50890         (__libc_ifunc_impl_list): Likewise.
50891         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50892         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50893         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50894         memchr for PPC64.
50896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50897         implementation.
50898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50899         (__libc_ifunc_impl_list): Likewise.
50900         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50901         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50902         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50903         mempcpy for PPC64.
50905         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50906         avoid cretion of __bzero symbol.
50907         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50908         Likewise.
50909         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50910         Likewise.
50911         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50912         Likewise.
50913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50914         multiarch implementations.
50915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50916         (__libc_ifunc_impl_list): Likewise.
50917         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50918         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50919         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50920         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50921         bzero for PPC32.
50922         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50923         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50924         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50925         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50926         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50927         memset for PPC64.
50928         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50930         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50932         implementations.
50933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50934         (__libc_ifunc_impl_list): Likewise.
50935         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50936         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50937         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50938         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50939         memcmp for PPC64.
50941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50942         multiarch for POWER/PPC64.
50943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50944         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50945         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50947         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50948         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50950         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50951         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50952         memcpy for PPC64.
50954         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50955         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50956         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50957         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50958         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50959         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50960         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50961         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50962         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50963         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50964         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50965         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50966         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50967         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50968         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50977 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50979         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50981 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50983         * benchtests/Makefile (bench): Add exp2 and log2.
50984         (LDLIBS-bench-exp2): Add -lm.
50985         (LDLIBS-bench-log2): Likewise.
50986         * benchtests/exp2-inputs: New inputs file.
50987         * benchtests/log2-inputs: New inputs file.
50988         * benchtests/log-inputs: Add new inputs.
50989         * benchtests/tan-inputs: Likewise.
50991 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50993         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50994         definition...
50995         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50996         (csloww2): ... from here.
50998         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50999         instead of structures.
51000         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51001         (POLYNOMIAL): Likewise.
51002         (TAYLOR_SLOW): Likewise.
51003         (__sin): Likewise.
51004         (__cos): Likewise.
51005         (slow1): Likewise.
51006         (slow2): Likewise.
51007         (sloww): Likewise.
51008         (sloww1); Likewise.
51009         (sloww2): Likewise.
51010         (bsloww1): Likewise.
51011         (bsloww2): Likewise.
51012         (cslow2): Likewise.
51013         (csloww): Likewise.
51014         (csloww1): Likewise.
51015         (csloww2): Likewise.
51017 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51019         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51020         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51021         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51022         * malloc/hooks.c (realloc_check): Likewise.
51024         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51025         * malloc/arena.c: Remove PER_THREAD conditional.
51026         [!PER_THREAD]: Remove code.
51027         (ptmalloc_unlock_all2): Likewise.
51028         (ptmalloc_init): Likewise.
51029         (_int_new_arena): Likewise.
51030         (arena_get2): Likewise.
51031         * malloc/hooks.c (__malloc_get_state): Likewise.
51032         (__malloc_set_state): Likewise.
51033         * malloc/malloc.c: Likewise.
51034         (struct malloc_state): Likewise.
51035         (struct malloc_par): Likewise.
51036         (__libc_realloc): Likewise.
51037         (__libc_mallopt): Likewise.
51039 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51041         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51043 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51045         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51046         macro to a function.  Check for zero perturb_byte.
51047         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51049         * malloc/malloc.c: (force_reg): Remove.
51050         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51051         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51052         force_reg by atomic_forced_read.
51053         * malloc/arena.c (ptmalloc_init): Likewise.
51054         * malloc/hooks.c (top_check): Likewise.
51056 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51060 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51064 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51066         * math/auto-libm-test-in: Add tests of lgamma.
51067         * math/auto-libm-test-out: Regenerated.
51068         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51069         (M_LOG_2_SQRT_PIl): Likewise.
51070         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51071         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51072         mpfr_f_f1.
51073         (func_calc_desc): Add mpfr_f_f1 union field.
51074         (ARGS1): New macro.
51075         (ARGS2): Likewise.
51076         (ARGS3): Likewise.
51077         (ARGS4): Likewise.
51078         (RET1): Likewise.
51079         (RET2): Likewise.
51080         (CALC): Likewise.
51081         (FUNC): Likewise.
51082         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51083         (test_functions): Add lgamma.
51084         (calc_generic_results): Handle mpfr_f_f1.
51085         * sysdeps/i386/fpu/libm-test-ulps: Update.
51086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51090         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51091         __mpn_add_n for PowerPC64/POWER7.
51092         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51093         __mpn_sub_n for PowerPC64/POWER7.
51095         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51096         __mpn_addmul_1 for PowerPC64.
51097         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51098         __mpn_submul_1 for PowerPC64.
51099         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51100         for PowerPC64.
51101         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51102         for PowerPC64.
51104 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51106         [BZ #15089]
51107         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51109 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51111         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51113         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51114         add multiarch folders.
51115         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51116         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51117         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51118         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51119         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51120         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51121         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51122         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51123         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51124         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51125         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51134         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51136         New file.
51137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51138         New file.
51139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51140         multiarch __ieee754_hypot for PowerPC32.
51141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51142         New file.
51143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51144         New file.
51145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51146         multiarch __ieee754_hypotf for PowerPC32.
51148         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51149         long_double_symbol only if __logbl is defined.
51150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51151         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51152         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51153         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51155         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51156         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51157         path for implementation.
51158         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51161         logb, and logbl multiarch implementations for PowerPC32.
51162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51163         file.
51164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51165         file.
51166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51167         multiarch logb for PowerPC32.
51168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51169         file.
51170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51171         file.
51172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51173         multiarch logbf for PowerPC32.
51174         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51176         file.
51177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51178         multiarch logbl implementation for PowerPC32.
51180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51181         and modff multiarch implementations.
51182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51183         New file.
51184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51185         New file.
51186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51187         multiarch modf for PowerPC32.
51188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51189         New file.
51190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51191         New file.
51192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51193         multiarch modff for PowerPC32.
51195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51196         and lrintf multiarch implementations.
51197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51198         New file.
51199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51200         New file.
51201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51202         multiarch lrint for PowerPC32.
51203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51204         file: multiarch lrintf for PowerPC32.
51206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51207         and lroundf multiarch implementations.
51208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51209         New file.
51210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51211         New file.
51212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51213         New file.
51214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51215         multiarch lround for PowerPC32.
51216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51217         file: multiarch lroundf for PowerPC32.
51219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51220         copysign and copysignf multiarch implementations.
51221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51222         New file.
51223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51224         New file.
51225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51226         file: multiarch copysign for PowerPC32.
51227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51228         file: multiarch copysignf for PowerPC32.
51230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51231         and truncf multiarch implementations.
51232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51233         New file.
51234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51235         file.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51237         multiarch trunc for PowerPC32.
51238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51239         New file.
51240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51241         New file.
51242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51243         multiarch truncf for PowerPC32.
51245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51246         and roundf multiarch implementations.
51247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51248         New file.
51249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51250         file.
51251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51252         multiarch round for PowerPC32.
51253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51254         New file.
51255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51256         New file.
51257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51258         multiarch roundf for PowerPC32.
51260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51261         and floorf multiarch implementations.
51262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51263         New file.
51264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51265         file.
51266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51267         multiarch floor for PowerPC32.
51268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51269         New file.
51270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51271         New file.
51272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51273         multiarch floorf for PowerPC32.
51275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51276         and ceilf multiarch implementations.
51277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51278         New file.
51279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51280         file.
51281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51282         multiarch ceil for PowerPC32.
51283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51284         New file.
51285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51286         file.
51287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51288         multiarch ceilf for PowerPC32.
51290         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51291         is defined.
51292         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51293         FINITEF is defined.
51294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51295         and finitef multiarch implementations.
51296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51297         New file.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51299         file.
51300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51301         multiarch finite for PowerPC32.
51302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51303         New file.
51304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51305         file: multiarch finitef for PowerPC32.
51307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51308         and isinff multiarch implementations.
51309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51310         file.
51311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51312         file.
51313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51314         multiarch isinf for PowerPC32.
51315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51316         New file.
51317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51318         multiarch isinff for PowerPC32.
51320         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51321         alias when __isnan is defined.
51322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51323         and isnanf multiarch implementations.
51324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51325         file.
51326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51327         file.
51328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51329         file.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51331         file.
51332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51333         multiarch isnan for PowerPC32.
51334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51335         New file.
51336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51337         New file.
51338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51339         multiarch isnanf for PowerPC32.
51341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51342         and sqrtf multiarch implementations.
51343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51344         file.
51345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51346         file.
51347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51348         multiarch sqrt for PowerPC32.
51349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51350         file.
51351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51352         file.
51353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51354         multiarch sqrtf for PowerPC32.
51356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51357         and llroundf multiarch implementations.
51358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51359         New file.
51360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51361         New file.
51362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51363         New file.
51364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51365         file: multiarch llround for PowerPC32.
51366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51367         file: multiarch llroundf for PowerPC32.
51369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51370         multiarch PowerPC32 fpu implementations.
51371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51372         New file.
51373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51374         New file.
51375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51376         multiarch llrint for PowerPC32.
51377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51378         New file.
51379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51380         New file.
51381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51382         file.
51384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51386         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51387         file.
51388         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51389         file.
51390         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51391         file.
51392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51393         multiarch wordcopy for PPC32.
51394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51395         wordcopy objects.
51396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51397         (__libc_ifunc_impl_list): Likewise.
51398         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51399         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51400         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51401         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51402         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51403         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51405         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51407         file.
51408         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51409         file.
51410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51411         file.
51412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51413         multiarch wcscpy for PPC32.
51414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51415         multiarch objects.
51416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51417         (__libc_ifunc_impl_list): Likewise.
51418         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51419         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51420         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51421         sysdeps/powerpc/power6/wcscpy.c.
51423         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51425         file.
51426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51427         file.
51428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51429         file.
51430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51431         multiarch wcsrchr for PPC32.
51432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51433         multiarch objects.
51434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51435         (__libc_ifunc_impl_list): Likewise.
51436         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51437         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51438         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51439         sysdeps/powerpc/power6/wcsrchr.c.
51441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51442         file.
51443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51444         file.
51445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51447         multiarch wcschr for PPc32.
51448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51449         multiarch objects.
51450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51451         (__libc_ifunc_impl_list): Likewise.
51452         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51453         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51454         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51455         sysdeps/powerpc/power6/wcschr.c.
51457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51458         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51459         file.
51460         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51461         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51462         file: multiarch strchr for PPC32.
51463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51464         multiarch objects.
51465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51466         (__libc_ifunc_impl_list): Likewise.
51468         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51469         name.
51470         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51471         file.
51472         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51473         file.
51474         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51475         multiarch strchrnul for PPC32.
51476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51477         multiarch objects.
51478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51479         (__libc_ifunc_impl_list): Likewise.
51481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51482         file.
51483         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51484         multiarch strncasecmp for PPC32.
51485         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51486         file.
51487         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51488         multiarch strncasecmp_l for PPC32.
51489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51490         strncasecmp multiarch objects.
51491         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51492         (__libc_ifunc_impl_list): Likewise.
51494         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51495         file.
51496         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51497         multiarch strncasecmp for PPC32.
51498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51499         New file.
51500         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51501         multiarch strcasecmp_l for PPC32.
51502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51503         multiarch objects.
51504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51505         (__libc_ifunc_impl_list): Likewise.
51507         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51508         file.
51509         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51510         file.
51511         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51512         multiarch strncmp for PPC32.
51513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51514         multiarch objects.
51515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51516         (__libc_ifunc_impl_list): Likewise.
51518         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51519         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51520         file.
51521         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51522         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51524         multiarch objects.
51525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51526         (__libc_ifunc_impl_list): Likewise.
51528         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51529         file.
51530         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51531         file.
51532         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51534         multiarch objects.
51535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51536         (__libc_ifunc_impl_list): Likewise.
51538         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51539         file.
51540         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51541         file.
51542         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51543         multiarch rawmemchr for PPC32.
51544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51545         multiarch objects.
51546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51547         (__libc_ifunc_impl_list): Likewise.
51549         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51550         file.
51551         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51552         file.
51553         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51554         file: memrchr multiarch for PPC32.
51555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51556         multiarch objects.
51557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51558         (__libc_ifunc_impl_list): Likewise.
51560         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51562         file.
51563         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51565         multiarch memchr for PPC32.
51566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51567         multiarch objects.
51568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51569         (__libc_ifunc_impl_list): Likewise.
51571         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51572         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51573         file.
51574         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51575         file.
51576         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51577         file: multiarch mempcpy for PPC32.
51578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51579         multiarch objects.
51580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51581         (__libc_ifunc_impl_list): Likewise.
51583         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51585         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51586         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51587         multiarch bzero for PPC32.
51588         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51589         file.
51590         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51591         file.
51592         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51593         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51594         file: multiarch memset for PPC32.
51595         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51597         memset multiarch objects.
51598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51599         (__libc_ifunc_impl_list): Likewise.
51601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51602         file.
51603         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51604         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51605         memcmp for PPC32.
51606         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51608         multiarch objects.
51609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51610         (__libc_ifunc_impl_list): Likewise.
51612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51615         file.
51616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51617         file.
51618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51619         file.
51620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51621         multiarch memcpy for PPC32.
51622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51623         multiarch objects.
51624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51625         (__libc_ifunc_impl_list): Likewise.
51627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51628         support multiarch for POWER/PPC32.
51629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51630         Likewise.
51631         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51633         Implies file to make multiarch folder appers before the fpu and
51634         default folder for power4 configuration.
51636 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51638         * scripts/bench.pl: Append volatile keyword to type.
51640 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51642         * sysdeps/sh/sotruss-lib.c: New file.
51643         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51645 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51649 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51651         [BZ #6810]
51652         * math/w_tgamma.c: Include <errno.h>.
51653         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51654         * math/w_tgammaf.c: Include <errno.h>.
51655         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51656         * math/w_tgammal.c: Include <errno.h>.
51657         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51658         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51659         underflow.  Add more tgamma tests.
51660         * math/auto-libm-test-out: Regenerated.
51661         * sysdeps/i386/fpu/libm-test-ulps: Update.
51662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51664         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51665         sin, sinh, tan, tanh, tgamma, y0 and y1.
51666         * math/auto-libm-test-out: Regenerated.
51667         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51668         (TEST_COND_x86): Likewise.
51669         (M_E2l): Remove macro.
51670         (M_E3l): Likewise.
51671         (M_2_SQRT_PIl): Likewise.
51672         (M_SQRT_PIl): Likewise.
51673         (M_1_DIV_El): Likewise.
51674         (log_test_data): Use AUTO_TESTS_f_f.
51675         (log10_test_data): Likewise.
51676         (log1p_test_data): Likewise.
51677         (log2_test_data): Likewise.
51678         (sin_test_data): Likewise.
51679         (sin_tonearest_test_data): Likewise.
51680         (sin_towardzero_test_data): Likewise.
51681         (sin_downward_test_data): Likewise.
51682         (sin_upward_test_data): Likewise.
51683         (sinh_test_data): Likewise.
51684         (sinh_tonearest_test_data): Likewise.
51685         (sinh_towardzero_test_data): Likewise.
51686         (sinh_downward_test_data): Likewise.
51687         (sinh_upward_test_data): Likewise.
51688         (tan_test_data): Likewise.
51689         (tan_tonearest_test_data): Likewise.
51690         (tan_towardzero_test_data): Likewise.
51691         (tan_downward_test_data): Likewise.
51692         (tan_upward_test_data): Likewise.
51693         (tanh_test_data): Likewise.
51694         (tgamma_test_data): Likewise.
51695         (y0_test_data): Likewise.
51696         (y1_test_data): Likewise.
51697         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51698         (special_real_inputs): Add pi/4.
51699         * sysdeps/i386/fpu/libm-test-ulps: Update.
51700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51702 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51704         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51705         "longjmp_target" static probes.
51706         (__longjmp): Rename to __longjmp_symbol.
51707         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51708         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51709         on which longjmp to generate.
51710         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51711         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51712         probe.
51713         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51714         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51715         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51716         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51717         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51718         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51720         __longjmp_symbol based on which __longjmp to generate.
51721         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51722         probe.
51723         (setjmp): Rename to setjmp_symbol.
51724         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51725         (_setjmp): Rename to _setjmp_symbol.
51726         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51727         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51728         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51729         which setjmp to generate.
51730         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51731         "longjmp_target" static probes.
51733 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51735         * benchtests/README: Add note about output arguments.
51736         * benchtests/bench-sincos.c: Remove file.
51737         * benchtests/sincos-inputs: New file.
51738         * scripts/bench.pl: Identify output arguments and define
51739         static variables for them.
51741         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51743         [BZ #15941]
51744         * Makefile (INSTALL): Add install-plain.texi as the primary
51745         dependency.
51746         * manual/install-plain.texi: New file.
51747         * manual/install.texi: Include node directive only for
51748         non-plaintext output.
51750 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51752         * stdlib/longlong.h: Update from GCC.
51754         [BZ #6807]
51755         [BZ #15901]
51756         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51757         * math/w_j0f.c (y0f): Likewise.
51758         * math/w_j0l.c (__y0l): Likewise.
51759         * math/w_j1.c (y1): Likewise.
51760         * math/w_j1f.c (y1f): Likewise.
51761         * math/w_j1l.c (__y1l): Likewise.
51762         * math/w_jn.c (yn): Likewise.
51763         * math/w_jnf.c (ynf): Likewise.
51764         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51765         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51766         value for Bessel function domain errors outside _SVID_ mode.
51767         Adjust sign of return value for yn (negative integer, 0).
51768         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51769         by zero in return for negative x and set sign appropriately for
51770         negative n.
51771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51772         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51773         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51774         expectations in error cases.
51775         (y1_test_data): Likewise.
51776         (yn_test_data): Likewise.
51777         * sysdeps/i386/fpu/libm-test-ulps: Update.
51778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51780 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51782         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51783         "64" to "64-v1".  Add "64-v2".
51784         (abi-64-options): Rename to ...
51785         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51786         (abi-64-condition): Rename to ...
51787         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51788         (abi-64-ld-soname): Rename to ...
51789         (abi-64-v1-ld-soname): ... this.
51790         (abi-64-v2-options): Define.
51791         (abi-64-v2-condition): Likewise.
51792         (abi-64-v2-ld-soname): Likewise.
51793         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51794         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51799 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51800             Alan Modra  <amodra@gmail.com>
51802         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51803         New versions for use with the ELFv2 ABI.
51804         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51805         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51806         declaration.
51807         (struct La_ppc64v2_retval): Likewise.
51808         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51809         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51810         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51811         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51812         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51813         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51814         Do not save or restore CR.
51815         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51816         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51817         return values for ELFv2 ABI.  Fix location of FPR return registers.
51818         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51819         updated values for _CALL_ELF == 2.
51820         (La_regs, La_retval, int_retval): Likewise.
51822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51824         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51825         (FRAME_MIN_SIZE_PARM): Likewise.
51826         (FRAME_BACKCHAIN): Likewise.
51827         (FRAME_CR_SAVE): Likewise.
51828         (FRAME_LR_SAVE): Likewise.
51829         (FRAME_TOC_SAVE): Likewise.
51830         (FRAME_PARM_SAVE): Likewise.
51831         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51832         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51833         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51834         (call_mcount_parm_offset): New macro.
51835         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51836         (PROF): Use symbolic stack frame offsets.
51837         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51838         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51839         Redefine in terms of FRAME_MIN_SIZE.
51840         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51841         (_dl_profile_resolve): Likewise.  Update comment.
51842         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51843         symbols stack frame offsets.
51844         (__sigsetjmp): Likewise.
51845         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51846         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51847         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51848         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51851         (FRAME_BACKCHAIN): Remove.
51852         (FRAME_CR_SAVE): Likewise.
51853         (FRAME_LR_SAVE): Likewise.
51854         (FRAME_COMPILER_DW): Likewise.
51855         (FRAME_LINKER_DW): Likewise.
51856         (FRAME_TOC_SAVE): Likewise.
51857         (FRAME_PARM_SAVE): Likewise.
51858         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51859         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51860         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51862         (CHECK_SP): Use symbolic stack frame offsets.
51863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51864         zone" instead of caller's parameter save area for temp storage.
51865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51866         Likewise.  Also, use symbolic stack frame offsets.
51867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51868         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51869         our own stack frame instead of the caller's.
51870         (__socket): Use symbolic stack frame offsets.
51872 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51873             Alan Modra  <amodra@gmail.com>
51875         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51876         Define.
51877         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51878         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51879         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51880         New function.
51881         (elf_machine_fixup_plt): Call it.
51882         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51883         reloc arguments.
51884         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51885         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51886         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51887         r2 before calling target.
51889 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51890             Alan Modra  <amodra@gmail.com>
51892         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51893         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51894         versions of macros to support ELFv2 ABI.
51895         (LOCALENTRY): New macro.
51896         (ENTRY, EALIGN): Use it.
51897         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51898         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51899         fall through into ENTRY entry point.
51900         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51901         Only define if _CALL_ELF != 2.
51903         (elf_machine_matches_host): Verify ABI version matches.
51904         (RTLD_START): Use LOCALENTRY.
51905         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51906         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51907         (PLT_ENTRY_WORDS): New macro.
51908         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51909         (elf_machine_runtime_setup): Support ELFv2 ABI.
51910         (elf_machine_fixup_plt): Likewise.
51911         (elf_machine_plt_conflict): Likewise.
51912         (resolve_ifunc): Likewise.
51913         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51914         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51915         Likewise.
51916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51917         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51919         (makecontext): Support ELFv2 ABI.
51920         * elf/elf.h (EF_PPC64_ABI): Define.
51922 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51924         * sysdeps/powerpc/powerpc64/sysdep.h
51925         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51926         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51927         (ENTRY) [ASSEMBLER]: ... but instead here ...
51928         (EALIGN) [ASSEMBLER]: ... and here.
51929         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51930         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51931         (ENTRY_2) [!ASSEMBLER]: Use it.
51932         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51933         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51934         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51935         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51936         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51938         Use PPC64_LOAD_FUNCPTR.
51940         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51942 2013-12-04  Alan Modra  <amodra@gmail.com>
51944         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51945         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51946         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51947         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51950         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51951         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51952         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51953         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51954         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51956 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51959         (__makecontext): Fix incorrect CFI when backtracing out of
51960         context created via makecontext.
51961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51962         (__setcontext): Fix incorrect CFI during switch to new context.
51963         (__novec_setcontext): Likewise.
51965 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51967         [BZ #4772]
51968         * time/strptime_l.c (__strptime_internal): Allow modifiers
51969         in strptime.
51970         * time/tst-strptime.c (day_tests): Add testcase.
51972 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51974         * scripts/bench.pl: Skip over blank lines.
51976 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51978         [BZ #926]
51979         * manual/time.texi (Calendar Time): Clarify what timezone functions
51980         use.
51982 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51986 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51988         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51989         implementation.
51990         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51991         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51992         * debug/memset_chk.c (__memset_chk): Likewise.
51993         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51994         * debug/strncpy_chk.c: Likewise.
51996 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51998         [BZ #15268]
51999         [BZ #15425]
52000         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52001         (__ieee754_exp): For possibly underflowing results, check size of
52002         result and force underflow exception if required.
52003         * math/auto-libm-test-in: Add more tests of exp.
52004         * math/auto-libm-test-out: Regenerated.
52005         * sysdeps/i386/fpu/libm-test-ulps: Update.
52006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52008         [BZ #16283]
52009         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52010         * math/w_exp2f.c (__exp2f): Likewise.
52011         * math/w_exp2l.c (__exp2l): Likewise.
52012         * math/auto-libm-test-in: Do not allow missing errno on exp2
52013         underflow.
52014         * math/auto-libm-test-out: Regenerated.
52016 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52018         [BZ #16274]
52019         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52020         handle filename validation.
52021         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52022         (do_open): Delete.
52024 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #6786]
52027         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52028         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52029         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52030         <float.h>.
52031         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52032         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52033         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52035         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52036         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52037         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52038         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52039         Add more erfc tests.
52040         * math/auto-libm-test-out: Regenerated.
52041         * sysdeps/i386/fpu/libm-test-ulps: Update.
52042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52044         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52045         exp2, expm1, j0 and j1.
52046         * math/auto-libm-test-out: Regenerated.
52047         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52048         (erfc_test_data): Likewise.
52049         (exp_test_data): Likewise.
52050         (exp_tonearest_test_data): Likewise.
52051         (exp_towardzero_test_data): Likewise.
52052         (exp_downward_test_data): Likewise.
52053         (exp_upward_test_data): Likewise.
52054         (exp10_test_data): Likewise.
52055         (exp2_test_data): Likewise.
52056         (expm1_test_data): Likewise.
52057         (j0_test_data): Likewise.
52058         (j1_test_data): Likewise.
52059         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52060         (input_flag_type): Add flag_xfail_rounding.
52061         (input_flags): Add xfail-rounding.
52062         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52063         (output_for_one_input_case): Handle flag_xfail_rounding.
52064         * sysdeps/i386/fpu/libm-test-ulps: Update.
52065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52067 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52069         [BZ #16289]
52070         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52071         division by 0.
52073 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52075         [BZ #16195]
52076         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52077         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52078         (STAP_PROBE0): New macro.
52079         (STAP_PROBE1): Likewise.
52080         (STAP_PROBE2): Likewise.
52081         (STAP_PROBE3): Likewise.
52082         (STAP_PROBE4): Likewise.
52084 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52086         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52088 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52090         * benchtests/Makefile (bench): Add sqrt.
52091         (LDLIBS-bench-sqrt): New.
52092         * benchtests/sqrt-input: New.
52094 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52096         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52097         (GAIH_EAI): Likewise.
52098         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52099         (gaih_inet): Likewise.
52100         (getaddrinfo): Don't use GAIH_EAI.
52102         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52103         (struct gaih): Remove definition.
52105 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52107         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52108         Use HERRNOP directly.
52110 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52114 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52116         * math/gen-auto-libm-tests.c (test_functions): Add more
52117         single-argument functions.
52118         (special_fill_pi_2): New function.
52119         (special_fill_minus_pi_2): Likewise.
52120         (special_fill_pi_6): Likewise.
52121         (special_fill_minus_pi_6): Likewise.
52122         (special_fill_pi_3): Likewise.
52123         (special_fill_2pi_3): Likewise.
52124         (special_fill_e): Likewise.
52125         (special_fill_1_e): Likewise.
52126         (special_fill_e_minus_1): Likewise.
52127         (special_real_inputs): Add more special inputs.
52128         (output_for_one_input_case): Do not require ERANGE on underflow to
52129         zero if round-to-nearest result does not underflow to zero, unless
52130         exact results required.
52131         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52132         atan, atanh, cbrt, cos and cosh.
52133         * math/auto-libm-test-out: Regenerated.
52134         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52135         (acos_tonearest_test_data): Likewise.
52136         (acos_towardzero_test_data): Likewise.
52137         (acos_downward_test_data): Likewise.
52138         (acos_upward_test_data): Likewise.
52139         (acosh_test_data): Likewise.
52140         (asin_test_data): Likewise.
52141         (asin_tonearest_test_data): Likewise.
52142         (asin_towardzero_test_data): Likewise.
52143         (asin_upward_test_data): Likewise.
52144         (asinh_test_data): Likewise.
52145         (atan_test_data): Likewise.
52146         (atanh_test_data): Likewise.
52147         (cbrt_test_data): Likewise.
52148         (cos_test_data): Likewise.
52149         (cos_tonearest_test_data): Likewise.
52150         (cos_towardzero_test_data): Likewise.
52151         (cos_downward_test_data): Likewise.
52152         (cos_upward_test_data): Likewise.
52153         (cosh_test_data): Likewise.
52154         (cosh_tonearest_test_data): Likewise.
52155         (cosh_towardzero_test_data): Likewise.
52156         (cosh_downward_test_data): Likewise.
52157         (cosh_upward_test_data): Likewise.
52158         * sysdeps/i386/fpu/libm-test-ulps: Update.
52159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52161 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52163         [BZ #6787]
52164         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52165         * math/w_exp10f.c (__exp10f): Likewise.
52166         * math/w_exp10l.c (__exp10l): Likewise.
52167         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52168         errno settings in existing tests.
52170         [BZ #14032]
52171         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52172         precision control set to double precision.
52173         * sysdeps/i386/fpu/w_sqrt.c: New file.
52174         * math/auto-libm-test-in: Add more tests.
52175         * math/auto-libm-test-out: Update.
52177         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52178         (sqrt_test_tonearest): New function.
52179         (sqrt_towardzero_test_data): New variable.
52180         (sqrt_test_towardzero): New function.
52181         (sqrt_downward_test_data): New variable.
52182         (sqrt_test_downward): New function.
52183         (sqrt_upward_test_data): New variable.
52184         (sqrt_test_upward): New function.
52185         (main): Call the new functions.
52187         * math/gen-auto-libm-tests.c: New file.
52188         * math/auto-libm-test-in: Likewise.
52189         * math/auto-libm-test-out: New generated file.
52190         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52191         variables.
52192         (%beautify): Add generated representations of zero.
52193         (top level): Set $auto_input and call parse_auto_input.
52194         (beautify): Remove trailing "f" from hex float constants.
52195         (parse_args): Handle XFAIL_TEST.
52196         (convert_condition): New function.
52197         (or_value): Likewise.
52198         (or_cond_value): Likewise.
52199         (generate_testfile): Handle AUTO_TESTS_* lines.
52200         (parse_auto_input): New function.
52201         * math/libm-test.inc (XFAIL_TEST): New macro.
52202         (ERRNO_UNCHANGED): Update value.
52203         (ERRNO_EDOM): Likewise.
52204         (ERRNO_ERANGE): Likewise.
52205         (IGNORE_RESULT): Likewise.
52206         (TEST_COND_flt_32): New macro.
52207         (TEST_COND_dbl_64): Likewise.
52208         (TEST_COND_ldbl_96_intel): Likewise.
52209         (TEST_COND_ldbl_96_m68k): Likewise.
52210         (TEST_COND_ldbl_128): Likewise.
52211         (TEST_COND_ldbl_128ibm): Likewise.
52212         (TEST_COND_long32): Likewise.
52213         (TEST_COND_long64): Likewise.
52214         (TEST_COND_before_rounding): Likewise.
52215         (TEST_COND_after_rounding): Likewise.
52216         (enable_test): Handle XFAIL_TEST flag.
52217         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52218         with finite results.
52219         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52220         auto-libm-test-out.
52222 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52223             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52225         [BZ #16214]
52226         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52227         __tls_get_addr_internal instead of __tls_get_offset in order to
52228         avoid GOT pointer dependency.  Make rtld export
52229         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52230         __tls_get_addr since we are a __tls_get_offset platform.
52231         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52232         GOT pointer being set up before.
52233         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52235 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52237         * manual/math.texi (Errors in Math Functions): Document accuracy
52238         goals.
52240         [BZ #15004]
52241         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52242         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52245         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52246         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52247         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52250         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52251         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52252         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52253         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52255         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52258         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52259         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52260         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52261         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52262         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52263         Likewise.
52264         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52265         Likewise.
52266         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52267         Likewise.
52268         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52269         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52270         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52271         atomic-feupdateenv and flt-rounds.
52272         * sysdeps/powerpc/nofpu/Versions (libc): Add
52273         __atomic_feholdexcept, __atomic_feclearexcept,
52274         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52275         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52276         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52277         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52278         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52279         here.
52280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52281         Update.
52283         * manual/arith.texi (FP Exceptions): Document that exceptions may
52284         not be raised when matherr is used.
52285         (Math Error Reporting): Document overflow in directed rounding
52286         modes.  Document that errno may not be set when finite values are
52287         returned on overflow.  Document intent to set errno on underflow
52288         only for underflow to zero.
52290         [BZ #16271]
52291         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52292         round-to-nearest then adjust result for other rounding modes.
52293         * include/fenv.h (fegetround): Use libm_hidden_proto.
52294         * math/fegetround.c (fegetround): Use libm_hidden_def.
52295         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52296         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52297         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52298         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52299         Likewise.
52300         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52301         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52302         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52303         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52305 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52307         [BZ #16077]
52308         * nss/Versions (libnss_files): Add
52309         _nss_files_gethostbyname3_r.
52310         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52311         New function.
52312         (HOST_DB_LOOKUP): Remove macro.
52313         (_nss_files_gethostbyname_r): Implement function without the
52314         HOST_DB_LOOKUP macro.
52315         (_nss_files_gethostbyname2_r): Likewise.
52317 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52319         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52321 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52323         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52324         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52325         warning.
52327 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52329         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52330         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52331         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52332         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52333         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52334         __fe_nomask_env_priv and attribute_hidden.
52335         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52336         (libc_feupdateenv_test_ppc): Likewise.
52337         (libc_feresetround_ppc): Likewise.
52338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52339         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52340         compat_symbol macro.
52341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52342         (__fe_nomask_env): Likewise.
52343         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52345 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52347         * string/Makefile: Remove ifunc tests.
52348         * string/test-string.h: Define TEST_IFUNC.
52349         * string/test-bcopy-ifunc.c: Remove.
52350         * string/test-bzero-ifunc.c: Likewise.
52351         * string/test-memccpy-ifunc.c: Likewise.
52352         * string/test-memchr-ifunc.c: Likewise.
52353         * string/test-memcmp-ifunc.c: Likewise.
52354         * string/test-memcpy-ifunc.c: Likewise.
52355         * string/test-memmem-ifunc.c: Likewise.
52356         * string/test-memmove-ifunc.c: Likewise.
52357         * string/test-mempcpy-ifunc.c: Likewise.
52358         * string/test-memrchr-ifunc.c: Likewise.
52359         * string/test-memset-ifunc.c: Likewise.
52360         * string/test-rawmemchr-ifunc.c: Likewise.
52361         * string/test-stpcpy-ifunc.c: Likewise.
52362         * string/test-stpncpy-ifunc.c: Likewise.
52363         * string/test-strcasecmp-ifunc.c: Likewise.
52364         * string/test-strcasestr-ifunc.c: Likewise.
52365         * string/test-strcat-ifunc.c: Likewise.
52366         * string/test-strchr-ifunc.c: Likewise.
52367         * string/test-strchrnul-ifunc.c: Likewise.
52368         * string/test-strcmp-ifunc.c: Likewise.
52369         * string/test-strcpy-ifunc.c: Likewise.
52370         * string/test-strcspn-ifunc.c: Likewise.
52371         * string/test-strlen-ifunc.c: Likewise.
52372         * string/test-strncasecmp-ifunc.c: Likewise.
52373         * string/test-strncat-ifunc.c: Likewise.
52374         * string/test-strncmp-ifunc.c: Likewise.
52375         * string/test-strncpy-ifunc.c: Likewise.
52376         * string/test-strnlen-ifunc.c: Likewise.
52377         * string/test-strpbrk-ifunc.c: Likewise.
52378         * string/test-strrchr-ifunc.c: Likewise.
52379         * string/test-strspn-ifunc.c: Likewise.
52380         * string/test-strstr-ifunc.c: Likewise.
52382 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52384         * benchtests/Makefile: Remove ifunc tests.
52385         * benchtests/bench-string.h: Define TEST_IFUNC.
52386         * benchtests/bench-bcopy-ifunc.c: Remove.
52387         * benchtests/bench-bzero-ifunc.c: Likewise.
52388         * benchtests/bench-memccpy-ifunc.c: Likewise.
52389         * benchtests/bench-memchr-ifunc.c: Likewise.
52390         * benchtests/bench-memcmp-ifunc.c: Likewise.
52391         * benchtests/bench-memcpy-ifunc.c: Likewise.
52392         * benchtests/bench-memmem-ifunc.c: Likewise.
52393         * benchtests/bench-memmove-ifunc.c: Likewise.
52394         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52395         * benchtests/bench-memrchr-ifunc.c: Likewise.
52396         * benchtests/bench-memset-ifunc.c: Likewise.
52397         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52398         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52399         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52400         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52401         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52402         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52403         * benchtests/bench-strcat-ifunc.c: Likewise.
52404         * benchtests/bench-strchr-ifunc.c: Likewise.
52405         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52406         * benchtests/bench-strcmp-ifunc.c: Likewise.
52407         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52408         * benchtests/bench-strcpy-ifunc.c: Likewise.
52409         * benchtests/bench-strcspn-ifunc.c: Likewise.
52410         * benchtests/bench-strlen-ifunc.c: Likewise.
52411         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52412         * benchtests/bench-strncat-ifunc.c: Likewise.
52413         * benchtests/bench-strncmp-ifunc.c: Likewise.
52414         * benchtests/bench-strncpy-ifunc.c: Likewise.
52415         * benchtests/bench-strnlen-ifunc.c: Likewise.
52416         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52417         * benchtests/bench-strrchr-ifunc.c: Likewise.
52418         * benchtests/bench-strsep-ifunc.c: Likewise.
52419         * benchtests/bench-strspn-ifunc.c: Likewise.
52420         * benchtests/bench-strstr-ifunc.c: Likewise.
52422 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52424         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52426 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52428         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52429         * rt/aio.h: Likewise.
52430         * sysdeps/gnu/bits/utmp.h: Likewise.
52431         * sysdeps/gnu/bits/utmpx.h: Likewise.
52432         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52433         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52434         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52435         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52436         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52437         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52438         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52439         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52440         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52441         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52442         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52443         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52444         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52446         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52447         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52448         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52449         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52450         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52451         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52452         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52453         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52454         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52455         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52456         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52457         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52458         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52459         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52460         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52461         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52462         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52463         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52464         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52465         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52466         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52467         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52468         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52469         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52470         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52471         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52472         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52473         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52475 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52477         [BZ #16245]
52478         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52479         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52481 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52483         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52484         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52485         Likewise.
52487 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52489         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52490         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52491         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52492         (__fesetround): Remove define.
52493         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52494         rounding and exceptions handling.
52495         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52496         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52497         (__fe_nomask_env): Likewise.
52498         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52499         __fegetround instead of fegetround.
52500         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52501         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52503 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52505         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52506         it's there.
52508         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52510 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52512         [BZ #11157]
52513         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52514         (encrypt_r): Likewise.
52515         * malloc/obstack.h (obstack_free): Likewise.
52516         * posix/unistd.h (encrypt): Likewise.
52518 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52520         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52521         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52522         DL_CALL_DT_FINI() that call the functions directly.
52523         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52524         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52525         * elf/dl-fini.c: Likewise.
52527 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52529         * malloc/hooks.c (memalign_check): Add alignment rounding.
52530         * malloc/malloc.c (_mid_memalign): New function.
52531         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52532         Implement by calling _mid_memalign.
52533         * manual/probes.texi (Memory Allocation Probes): Remove
52534         memory_valloc_retry and memory_pvalloc_retry.
52536 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52538         * locale/programs/locarchive.c (open_archive): Add const
52539         qualifier to ARCHIVEFNAME and copy default fname to
52540         DEFAULT_FNAME.
52542         [BZ #15601]
52543         * libio/tst-widetext.input: Rename Oriya to Odia.
52544         * locale/iso-639.def: Likewise.
52546         * manual/probes.texi (Mathematical Function Probes): Add
52547         documentation for sin, cos, asin and acos probes.
52548         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52549         (__sin32): Add slowasin probe.
52550         (__cos32): Add slowacos probe.
52551         (__mpsin): Add slowsin probe.
52552         (__mpcos): Add slowcos probe.
52554 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52556         [BZ #15483]
52557         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52558         thread-local __sim_exceptions_thread and global
52559         __sim_exceptions_global.
52560         (__sim_disabled_exceptions): Change to thread-local
52561         __sim_disabled_exceptions_thread and global
52562         __sim_disabled_exceptions_global.
52563         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52564         and global __sim_round_mode_global.
52565         (__simulate_exceptions): Use thread-local floating-point state and
52566         set global state from it as needed.
52567         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52568         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52569         __sim_round_mode_thread.
52570         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52571         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52572         and global __sim_exceptions_global.
52573         (__sim_disabled_exceptions): Change to thread-local
52574         __sim_disabled_exceptions_thread and global
52575         __sim_disabled_exceptions_global.
52576         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52577         and global __sim_round_mode_global.
52578         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52579         (SIM_SET_GLOBAL): Likewise.
52580         * sysdeps/powerpc/soft-fp/sfp-machine.h
52581         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52582         __sim_round_mode_thread.
52583         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52584         __sim_disabled_exceptions_thread.
52585         (__sim_exceptions): Change to __sim_exceptions_thread.
52586         (__sim_disabled_exceptions): Change to
52587         __sim_disabled_exceptions_thread.
52588         (__sim_round_mode): Change to __sim_round_mode_thread.
52589         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52590         thread-local floating-point state and set global state from it as
52591         needed.
52592         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52593         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52594         (__sim_disabled_exceptions): Remove extern declaration.
52595         (feenableexcept): Use thread-local floating-point state and set
52596         global state from it as needed.
52597         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52598         extern declaration.
52599         (__sim_disabled_exceptions): Likewise.
52600         (__sim_round_mode): Likewise.
52601         (__fegetenv): Use thread-local floating-point state.
52602         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52603         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52604         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52605         floating-point state and set global state from it as needed.
52606         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52607         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52608         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52609         Likewise.
52610         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52611         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52612         Likewise.
52613         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52614         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52615         Use __sim_round_mode_thread.
52616         * math/test-fenv-tls.c: New file.
52617         * math/Makefile (tests): Add test-fenv-tls.
52618         ($(objpfx)test-fenv-tls): Depend on
52619         $(common-objpfx)nptl/libpthread.so.
52621 2013-11-19  Andreas Schwab  <schwab@suse.de>
52623         * locale/programs/locale.c (show_info): Decode wordarray elements.
52624         * locale/categories.def (LC_MONETARY): Add element for
52625         _NL_MONETARY_CRNCYSTR.
52626         * locale/C-monetary.c (conversion_rate): New variable.
52627         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52628         element.
52630 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52632         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52633         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52635 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52637         * elf/Makefile (tst-auxv): New test.
52638         * elf/tst-auxv.c: New
52639         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52641 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52643         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52644         (hidden_proto): Caller changed.
52645         (hidden_tls_proto): New macro.
52646         (libc_hidden_tls_proto): Likewise.
52647         (rtld_hidden_tls_proto): Likewise.
52648         (libm_hidden_tls_proto): Likewise.
52649         (libresolv_hidden_tls_proto): Likewise.
52650         (librt_hidden_tls_proto): Likewise.
52651         (libdl_hidden_tls_proto): Likewise.
52652         (libnss_files_hidden_tls_proto): Likewise.
52653         (libnsl_hidden_tls_proto): Likewise.
52654         (libnss_nisplus_hidden_tls_proto): Likewise.
52655         (libutil_hidden_tls_proto): Likewise.
52657 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52659         [BZ #10253]
52660         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52661         (decompose_rpath): Defer expansion to fillin_rpath.
52662         (_dl_init_paths): Pass linkmap to fillin_rpath.
52664 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52666         * benchtests/Makefile: Add strsep.
52667         * benchtests/bench-strsep.c: New file: strsep benchtest.
52668         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52670 2013-11-18  Andreas Schwab  <schwab@suse.de>
52672         * locale/programs/locale.c (show_info) [case byte]: Check for
52673         '\377' instead of '\177'.
52674         * locale/C-monetary.c (not_available): Always use "\377".
52675         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52676         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52677         detect unavailable sign_posn locale elements.
52678         * locale/localeconv.c (__localeconv): For grouping and
52679         mon_grouping handle "\177" and "\377" like no grouping.
52680         (INT_ELEM): New macro.  Use it to set all numeric members.
52681         * locale/programs/ld-monetary.c (monetary_read)
52682         <tok_mon_grouping>: Normalize single -1 to the empty string.
52683         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52684         Likewise.
52686 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52688         [BZ #16055]
52689         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52690         when we match (nil).
52691         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52693 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52695         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52696         (NO_TEST_INLINE): Update value.
52697         (ERRNO_UNCHANGED): Likewise.
52698         (ERRNO_EDOM): Likewise.
52699         (ERRNO_ERANGE): Likewise.
52700         (IGNORE_RESULT): Likewise.
52701         (check_float_internal): Check signs of NaN results if
52702         TEST_NAN_SIGN used.
52703         (check_complex): Pass TEST_NAN_SIGN flag through to second
52704         check_float_internal call.
52705         (copysign_test_data): Add tests with quiet NaNs as second
52706         argument.  Use TEST_NAN_SIGN.
52707         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52708         TEST_NAN_SIGN.
52709         (signbit_test_data): Add tests of quiet NaN argument.
52710         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52712         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52713         $ignore_result.
52714         (parse_args): Handle function results specified as IGNORE.
52715         * math/libm-test.inc (IGNORE_RESULT): New macro.
52716         (check_float_internal): Do not check numerical result if flag
52717         IGNORE_RESULT set.
52718         (check_complex): Pass through IGNORE_RESULT to second
52719         check_float_internal call.
52720         (check_int): Do not check numerical result if flag IGNORE_RESULT
52721         set.
52722         (check_long): Likewise.
52723         (check_bool): Likewise.
52724         (check_longlong): Likewise.
52725         (lrint_test_data): Add tests of infinite and NaN arguments.
52726         (lrint_tonearest_test_data): Likewise.
52727         (lrint_towardzero_test_data): Likewise.
52728         (lrint_downward_test_data): Likewise.
52729         (lrint_upward_test_data): Likewise.
52730         (llrint_test_data): Likewise.
52731         (llrint_tonearest_test_data): Likewise.
52732         (llrint_towardzero_test_data): Likewise.
52733         (llrint_downward_test_data): Likewise.
52734         (llrint_upward_test_data): Likewise.
52735         (lround_test_data): Likewise.
52736         (llround_test_data): Likewise.
52738         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52739         (ERRNO_UNCHANGED): Update value.
52740         (ERRNO_EDOM): Likewise.
52741         (ERRNO_ERANGE): Likewise.
52742         (NO_TEST_INLINE_FLOAT): New macro.
52743         (NO_TEST_INLINE_DOUBLE): Likewise.
52744         (enable_test): New function.
52745         (RUN_TEST_f_f): Check enable_test before running test.
52746         (RUN_TEST_2_f): Likewise.
52747         (RUN_TEST_fff_f): Likewise.
52748         (RUN_TEST_c_f): Likewise.
52749         (RUN_TEST_f_f1): Likewise.
52750         (RUN_TEST_fF_f1): Likewise.
52751         (RUN_TEST_fI_f1): Likewise.
52752         (RUN_TEST_ffI_f1): Likewise.
52753         (RUN_TEST_c_c): Likewise.
52754         (RUN_TEST_cc_c): Likewise.
52755         (RUN_TEST_f_i): Likewise.
52756         (RUN_TEST_f_i_tg): Likewise.
52757         (RUN_TEST_ff_i_tg): Likewise.
52758         (RUN_TEST_f_b): Likewise.
52759         (RUN_TEST_f_b_tg): Likewise.
52760         (RUN_TEST_f_l): Likewise.
52761         (RUN_TEST_f_L): Likewise.
52762         (RUN_TEST_fFF_11): Likewise.
52763         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52764         conditionals.
52765         (cosh_test_data): Likewise.
52766         (exp_test_data): Likewise.
52767         (expm1_test_data): Likewise.
52768         (hypot_test_data): Likewise.
52769         (pow_test_data): Likewise.
52770         (sinh_test_data): Likewise.
52771         (tanh_test_data): Likewise.
52772         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52773         flags argument.
52775         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52776         tests with quiet NaN input and output.
52777         (acosh_test_data): Likewise.
52778         (asin_test_data): Likewise.
52779         (asinh_test_data): Likewise.
52780         (atan_test_data): Likewise.
52781         (atanh_test_data): Likewise.
52782         (atan2_test_data): Likewise.
52783         (cbrt_test_data): Likewise.
52784         (cos_test_data): Likewise.
52785         (cosh_test_data): Likewise.
52786         (erf_test_data): Likewise.
52787         (erfc_test_data): Likewise.
52788         (exp_test_data): Likewise.
52789         (exp10_test_data): Likewise.
52790         (exp2_test_data): Likewise.
52791         (expm1_test_data): Likewise.
52792         (hypot_test_data): Likewise.
52793         (j0_test_data): Likewise.
52794         (j1_test_data): Likewise.
52795         (jn_test_data): Likewise.
52796         (lgamma_test_data): Likewise.
52797         (log_test_data): Likewise.
52798         (log10_test_data): Likewise.
52799         (log1p_test_data): Likewise.
52800         (log2_test_data): Likewise.
52801         (pow_test_data): Likewise.
52802         (scalb_test_data): Likewise.
52803         (sin_test_data): Likewise.
52804         (sincos_test_data): Likewise.
52805         (sinh_test_data): Likewise.
52806         (tan_test_data): Likewise.
52807         (tanh_test_data): Likewise.
52808         (tgamma_test_data): Likewise.
52809         (y0_test_data): Likewise.
52810         (y1_test_data): Likewise.
52811         (yn_test_data): Likewise.
52813         [BZ #16167]
52814         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52815         argument being NaN and avoid computations with second argument in
52816         that case.
52817         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52818         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52819         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52821 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52823         * locale/iso-639.def: Add Chitwani Tharu (the).
52825 2013-11-14  Andreas Schwab  <schwab@suse.de>
52827         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52828         word instead of empty string.
52830 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52833         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52835         (__fe_nomask_env): Likewise.
52837 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52839         * benchtests/bench-timing.h: Include time.h.
52841 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52843         [BZ #15997]
52844         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52845         to 3.4.0 for x32.
52846         * sysdeps/unix/sysv/linux/configure: Regenerated.
52848 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52850         [BZ #16151]
52851         * stdlib/strtod_l.c (round_and_return): Do not consider
52852         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52853         exponent one less than half the least subnormal exponent.
52854         * stdlib/test-strtod-round-data: Add more tests.
52855         * stdlib/tst-strtod-round.c (tests): Regenerated.
52857 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52859         [BZ #14143]
52860         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52861         (__fe_mask_env): Likewise.
52862         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52863         libm_hidden_proto and add function prototype.
52864         (__fe_mask_env): Add function prototype.
52865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52866         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52868         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52870         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52872 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52874         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52875         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52877 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52879         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52880         of htab_find_slot().
52882 2013-11-11  David S. Miller  <davem@davemloft.net>
52884         [BZ #16150]
52885         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52886         symbol in the non-vis3 case in static builds.
52887         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52888         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52889         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52890         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52892 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52894         [BZ #387]
52895         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52896         it is empty.
52898 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52900         * benchtests/Makefile: Add bench-strtod.
52901         * benchtests/bench-strtod.c: New file: strtod benchtest
52903 2013-11-11  Andreas Schwab  <schwab@suse.de>
52905         [BZ #16153]
52906         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52907         terminating NUL in key length.
52909 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52912         Add artificial ODP entry for vDSO symbol for PPC64.
52913         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52914         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52916 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52918         [BZ #15374]
52919         * nss/getent.c (services_keys): Recognize services starting with digit.
52921 2013-11-06  David S. Miller  <davem@davemloft.net>
52923         [BZ #15985]
52924         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52925         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52927 2013-11-06  Will Newton  <will.newton@linaro.org>
52929         * manual/memory.texi (Malloc Examples): Remove register
52930         keyword from examples.
52932 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52934         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52936 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52938         [BZ #6981]
52939         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52940         depending on [__GCC_IEC_559 > 0].
52941         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52942         depending on [__GCC_IEC_559_COMPLEX > 0].
52944 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52946         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52947         to iso-639.def.
52949 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52951         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52953 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52955         [BZ #16112]
52956         * malloc/malloc (malloc_info): Do not handle first bin as
52957         special case.
52959 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52961         * locale/iso-639.def: Add Central Nahuatl (nhn).
52963 2013-11-01  Bruno Haible  <bruno@clisp.org>
52965         [BZ #7003]
52966         * manual/math.texi (BSD Random): Specify range upper bound as
52967         in POSIX.
52969 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52971         * locale/iso-639.def: Add Meadow Mari (mhr).
52973 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52975         [BZ #14752], [BZ #15763]
52976         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52977         Validate name.
52978         * rt/tst_shm.c: Add test for escaping directory.
52980 2013-10-31  Andreas Schwab  <schwab@suse.de>
52982         [BZ #15917]
52983         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52984         followed by 'x' as part of digit sequence.
52985         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52987 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52989         [BZ #16037]
52990         * configure.ac: allow GNU Make 4.0 and greater.
52991         * configure: Regenerated.
52993 2013-10-30  Will Newton  <will.newton@linaro.org>
52995         [BZ #16038]
52996         * malloc/hooks.c (memalign_check): Limit alignment to the
52997         maximum representable power of two.
52998         * malloc/malloc.c (__libc_memalign): Likewise.
52999         * malloc/tst-memalign.c (do_test): Add test for very
53000         large alignment values.
53001         * malloc/tst-posix_memalign.c (do_test): Likewise.
53003 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53005         [BZ #11087]
53006         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53007         (munmap_chunk): Likewise.
53008         (mremap_chunk): Likewise.
53010 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53012         [BZ #15799]
53013         * stdlib/div.c (div): Remove obsolete code.
53014         * stdlib/ldiv.c (ldiv): Likewise.
53015         * stdlib/lldiv.c (lldiv): Likewise.
53017 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53019         [BZ #16071]
53020         * nss/nss_files/files-XXX.c (get_contents_ret): New
53021         enumerator.
53022         (get_contents): New function.
53023         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53025 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53027         * configure.in: Moved to ...
53028         * configure.ac: ... here. Change reference to configure.in
53029         to configure.ac.
53030         * sysdeps/arm/preconfigure.ac: ... here.
53031         configure.in to configure.ac.
53032         * sysdeps/gnu/configure.in: Moved to ...
53033         * sysdeps/gnu/configure.ac: ... here.
53034         * sysdeps/i386/configure.in: Moved to ...
53035         * sysdeps/i386/configure.ac: ... here.
53036         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53037         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53038         * sysdeps/mach/configure.in: Moved to ...
53039         * sysdeps/mach/configure.ac: ... here.
53040         * sysdeps/mach/hurd/configure.in: Moved to ...
53041         * sysdeps/mach/hurd/configure.ac: ... here.
53042         * sysdeps/powerpc/configure.in: Moved to ...
53043         * sysdeps/powerpc/configure.ac: ... here.
53044         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53045         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53046         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53047         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53048         * sysdeps/s390/s390-32/configure.in: Moved to ...
53049         * sysdeps/s390/s390-32/configure.ac: ... here.
53050         * sysdeps/s390/s390-64/configure.in: Moved to ...
53051         * sysdeps/s390/s390-64/configure.ac: ... here.
53052         * sysdeps/sh/configure.in: Moved to ...
53053         * sysdeps/sh/configure.ac: ... here.
53054         * sysdeps/sparc/configure.in: Moved to ...
53055         * sysdeps/sparc/configure.ac: ... here.
53056         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53057         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53058         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53059         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53060         * sysdeps/x86_64/configure.in: Moved to ...
53061         * sysdeps/x86_64/configure.ac: ... here.
53062         * sysdeps/x86_64/preconfigure.in: Moved to ...
53063         * sysdeps/x86_64/preconfigure.ac: ... here.
53064         * aclocal.m4: Change reference to configure.in to configure.ac.
53065         * config.h.in: Likewise.
53066         * manual/install.texi: Likewise.
53067         * manual/maint.texi: Likewise.
53068         * Makefile: Likewise.
53069         * malloc/Makefile: Likewise.
53070         * nscd/Makefile: Likewise.
53071         * Makeconfig: Change reference to configure.in and
53072         preconfigure.in to configure.ac and preconfigure.ac
53073         respectively.
53074         * INSTALL: Regenerated.
53075         * configure: Likewise.
53076         * sysdeps/gnu/configure: Likewise.
53077         * sysdeps/i386/configure: Likewise.
53078         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53079         * sysdeps/mach/configure: Likewise.
53080         * sysdeps/mach/hurd/configure: Likewise.
53081         * sysdeps/powerpc/configure: Likewise.
53082         * sysdeps/powerpc/powerpc32/configure: Likewise.
53083         * sysdeps/powerpc/powerpc64/configure: Likewise.
53084         * sysdeps/s390/s390-32/configure: Likewise.
53085         * sysdeps/s390/s390-64/configure: Likewise.
53086         * sysdeps/sh/configure: Likewise.
53087         * sysdeps/sparc/configure: Likewise.
53088         * sysdeps/unix/sysv/linux/configure: Likewise.
53089         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53090         * sysdeps/x86_64/configure: Likewise.
53091         * sysdeps/x86_64/preconfigure: Likewise.
53093 2013-10-29  Andreas Schwab  <schwab@suse.de>
53095         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53097 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53099         * benchtests/pow-inputs: Add new inputs.
53101         * benchtests/exp-inputs: Add new inputs.
53103         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53104         conditional check for return value.
53105         (__cos32): Likewise.
53107 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53109         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53110         to provide a boost for large inputs with word alignment.
53111         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53112         implementation based on optimized PPC64 strcpy.
53113         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53114         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53115         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53116         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53118 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53120         [BZ #2801]
53121         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53123 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53125         [BZ #14876]
53126         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53127         * time/tst-strptime.c (day_tests): Add testcase.
53129 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53131         [BZ #14029]
53132         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53134 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53136         [BZ #16074]
53137         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53138         MAP_FAILED on error.
53140 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53142         [BZ #16072]
53143         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53144         heap for large requests.
53146 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53148         [BZ #9954]
53149         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53150         result if the result has no associated interface.
53151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53152         interface for all 127.X.Y.Z addresses.
53154 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53156         * locale/iso-639.def: Add Ligurian (lij)
53158 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53160         [BZ #15825]
53161         * sunrpc/rpc_main.c: Document rpcgen -5.
53163 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53165         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53167 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53169         [BZ #10278]
53170         * posix/glob.c: Match only directories when trailing slash is present.
53171         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53172         (main): Add testcase.
53174 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53176         [BZ #15670]
53177         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53179 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53181         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53182         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53183         AUTH_DES and cindex for FIPS 140-2.
53184         (DES Encryption): Add cindex FIPS 46-3.
53186         * locale/locarchive.h (struct locarhandle): Add fname.
53187         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53188         if an optional argument was specified to --list-archive,
53189         otherwise NULL.
53190         * locale/programs/locarchive.c (show_archive_content): Take new
53191         argument fname and pass it via ah.fname to open_archive.
53192         * locale/programs/localedef.h: Update decl.
53193         (open_archive): If AH->fname is non-null, open that file
53194         rather than the default file name, and don't ignore ENOENT.
53195         (create_archive): Set AH.fname to NULL.
53196         (delete_locales_from_archive): Likewise.
53197         (add_locales_to_archive): Likewise.
53198         * locale/programs/locfile.c (write_all_categories): Likewise.
53200 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53201             Aldy Hernandez  <aldyh@redhat.com>
53203         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53204         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53205         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53206         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53207         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53208         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53209         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53210         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53211         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53212         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53213         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53214         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53215         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53216         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53217         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53218         Likewise.
53219         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53220         Likewise.
53221         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53222         Likewise.
53223         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53224         Likewise.
53225         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53226         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53227         Likewise.
53228         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53229         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53230         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53231         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53232         Likewise.
53233         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53234         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53235         * sysdeps/powerpc/preconfigure: Likewise.
53236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53237         Likewise.
53238         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53239         Replace contents of file by #include of <fenv_libc.h>.
53240         * sysdeps/powerpc/soft-fp/sfp-machine.h
53241         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53242         and <sys/prctl.h>.
53243         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53246         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53252         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53253         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53256         Allow copysignl PLT reference to be missing.
53258 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53259             Joseph Myers  <joseph@codesourcery.com
53261         [BZ #15948]
53262         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53263         single character.
53264         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53266 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53268         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53269         * elf/tst-tls1.c: Likewise.
53270         * elf/tst-tls10.h: Likewise.
53271         * elf/tst-tls14.c: Likewise.
53272         * elf/tst-tls2.c: Likewise.
53273         * elf/tst-tls3.c: Likewise.
53274         * elf/tst-tls4.c: Likewise.
53275         * elf/tst-tls5.c: Likewise.
53276         * elf/tst-tls6.c: Likewise.
53277         * elf/tst-tls7.c: Likewise.
53278         * elf/tst-tls8.c: Likewise.
53279         * elf/tst-tls9.c: Likewise.
53280         * elf/tst-tlsmod1.c: Likewise.
53281         * elf/tst-tlsmod13.c: Likewise.
53282         * elf/tst-tlsmod13a.c: Likewise.
53283         * elf/tst-tlsmod14a.c: Likewise.
53284         * elf/tst-tlsmod16a.c: Likewise.
53285         * elf/tst-tlsmod16b.c: Likewise.
53286         * elf/tst-tlsmod2.c: Likewise.
53287         * elf/tst-tlsmod3.c: Likewise.
53288         * elf/tst-tlsmod4.c: Likewise.
53289         * elf/tst-tlsmod5.c: Likewise.
53290         * elf/tst-tlsmod6.c: Likewise.
53292 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53294         [BZ #12486]
53295         * malloc/malloc.c: remove checks for statistics.
53297 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53299         [BZ #15277]
53300         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53301         * inet/tst-network.c: Add testcase.
53303 2013-10-17  Andreas Schwab  <schwab@suse.de>
53305         [BZ #15218]
53306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53307         to determine canonical name.
53309 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53311         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53312         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53314         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53316         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53317         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53318         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53319         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53320         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53321         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53322         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53323         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53324         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53325         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53326         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53327         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53328         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53329         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53330         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53334         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53335         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53336         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53337         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53338         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53339         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53340         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53341         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53343         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53344         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53345         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53348         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53349         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53351         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53358         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53359         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53360         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53361         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53362         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53363         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53364         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53365         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53366         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53368         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53370 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53372         [BZ #16041]
53373         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53374         make result into a quiet NaN.
53376 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53378         * soft-fp/adddf3.c: Fix horizontal whitespace.
53379         * soft-fp/addsf3.c: Likewise.
53380         * soft-fp/addtf3.c: Likewise.
53381         * soft-fp/divdf3.c: Likewise.
53382         * soft-fp/divsf3.c: Likewise.
53383         * soft-fp/divtf3.c: Likewise.
53384         * soft-fp/double.h: Likewise.
53385         * soft-fp/eqdf2.c: Likewise.
53386         * soft-fp/eqsf2.c: Likewise.
53387         * soft-fp/eqtf2.c: Likewise.
53388         * soft-fp/extenddftf2.c: Likewise.
53389         * soft-fp/extended.h: Likewise.
53390         * soft-fp/extendsfdf2.c: Likewise.
53391         * soft-fp/extendsftf2.c: Likewise.
53392         * soft-fp/extendxftf2.c: Likewise.
53393         * soft-fp/fixdfdi.c: Likewise.
53394         * soft-fp/fixdfsi.c: Likewise.
53395         * soft-fp/fixdfti.c: Likewise.
53396         * soft-fp/fixsfdi.c: Likewise.
53397         * soft-fp/fixsfsi.c: Likewise.
53398         * soft-fp/fixsfti.c: Likewise.
53399         * soft-fp/fixtfdi.c: Likewise.
53400         * soft-fp/fixtfsi.c: Likewise.
53401         * soft-fp/fixtfti.c: Likewise.
53402         * soft-fp/fixunsdfdi.c: Likewise.
53403         * soft-fp/fixunsdfsi.c: Likewise.
53404         * soft-fp/fixunsdfti.c: Likewise.
53405         * soft-fp/fixunssfdi.c: Likewise.
53406         * soft-fp/fixunssfsi.c: Likewise.
53407         * soft-fp/fixunssfti.c: Likewise.
53408         * soft-fp/fixunstfdi.c: Likewise.
53409         * soft-fp/fixunstfsi.c: Likewise.
53410         * soft-fp/fixunstfti.c: Likewise.
53411         * soft-fp/floatdidf.c: Likewise.
53412         * soft-fp/floatdisf.c: Likewise.
53413         * soft-fp/floatditf.c: Likewise.
53414         * soft-fp/floatsidf.c: Likewise.
53415         * soft-fp/floatsisf.c: Likewise.
53416         * soft-fp/floatsitf.c: Likewise.
53417         * soft-fp/floattidf.c: Likewise.
53418         * soft-fp/floattisf.c: Likewise.
53419         * soft-fp/floattitf.c: Likewise.
53420         * soft-fp/floatundidf.c: Likewise.
53421         * soft-fp/floatundisf.c: Likewise.
53422         * soft-fp/floatunditf.c: Likewise.
53423         * soft-fp/floatunsidf.c: Likewise.
53424         * soft-fp/floatunsisf.c: Likewise.
53425         * soft-fp/floatunsitf.c: Likewise.
53426         * soft-fp/floatuntidf.c: Likewise.
53427         * soft-fp/floatuntisf.c: Likewise.
53428         * soft-fp/floatuntitf.c: Likewise.
53429         * soft-fp/fmadf4.c: Likewise.
53430         * soft-fp/fmasf4.c: Likewise.
53431         * soft-fp/fmatf4.c: Likewise.
53432         * soft-fp/gedf2.c: Likewise.
53433         * soft-fp/gesf2.c: Likewise.
53434         * soft-fp/getf2.c: Likewise.
53435         * soft-fp/ledf2.c: Likewise.
53436         * soft-fp/lesf2.c: Likewise.
53437         * soft-fp/letf2.c: Likewise.
53438         * soft-fp/muldf3.c: Likewise.
53439         * soft-fp/mulsf3.c: Likewise.
53440         * soft-fp/multf3.c: Likewise.
53441         * soft-fp/negdf2.c: Likewise.
53442         * soft-fp/negsf2.c: Likewise.
53443         * soft-fp/negtf2.c: Likewise.
53444         * soft-fp/op-1.h: Likewise.
53445         * soft-fp/op-2.h: Likewise.
53446         * soft-fp/op-4.h: Likewise.
53447         * soft-fp/op-8.h: Likewise.
53448         * soft-fp/op-common.h: Likewise.
53449         * soft-fp/quad.h: Likewise.
53450         * soft-fp/single.h: Likewise.
53451         * soft-fp/soft-fp.h: Likewise.
53452         * soft-fp/sqrtdf2.c: Likewise.
53453         * soft-fp/sqrtsf2.c: Likewise.
53454         * soft-fp/sqrttf2.c: Likewise.
53455         * soft-fp/subdf3.c: Likewise.
53456         * soft-fp/subsf3.c: Likewise.
53457         * soft-fp/subtf3.c: Likewise.
53458         * soft-fp/truncdfsf2.c: Likewise.
53459         * soft-fp/trunctfdf2.c: Likewise.
53460         * soft-fp/trunctfsf2.c: Likewise.
53461         * soft-fp/trunctfxf2.c: Likewise.
53462         * soft-fp/unorddf2.c: Likewise.
53463         * soft-fp/unordsf2.c: Likewise.
53464         * soft-fp/unordtf2.c: Likewise.
53466 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53468         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53469         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53471 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53473         * elf/dl-libc.c: Clear initfini list after freeing.
53475 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53477         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53478         * soft-fp/addsf3.c: Likewise.
53479         * soft-fp/addtf3.c: Likewise.
53480         * soft-fp/divdf3.c: Likewise.
53481         * soft-fp/divsf3.c: Likewise.
53482         * soft-fp/divtf3.c: Likewise.
53483         * soft-fp/double.h: Likewise.
53484         * soft-fp/eqdf2.c: Likewise.
53485         * soft-fp/eqsf2.c: Likewise.
53486         * soft-fp/eqtf2.c: Likewise.
53487         * soft-fp/extenddftf2.c: Likewise.
53488         * soft-fp/extended.h: Likewise.
53489         * soft-fp/extendsfdf2.c: Likewise.
53490         * soft-fp/extendsftf2.c: Likewise.
53491         * soft-fp/extendxftf2.c: Likewise.
53492         * soft-fp/fixdfdi.c: Likewise.
53493         * soft-fp/fixdfsi.c: Likewise.
53494         * soft-fp/fixdfti.c: Likewise.
53495         * soft-fp/fixsfdi.c: Likewise.
53496         * soft-fp/fixsfsi.c: Likewise.
53497         * soft-fp/fixsfti.c: Likewise.
53498         * soft-fp/fixtfdi.c: Likewise.
53499         * soft-fp/fixtfsi.c: Likewise.
53500         * soft-fp/fixtfti.c: Likewise.
53501         * soft-fp/fixunsdfdi.c: Likewise.
53502         * soft-fp/fixunsdfsi.c: Likewise.
53503         * soft-fp/fixunsdfti.c: Likewise.
53504         * soft-fp/fixunssfdi.c: Likewise.
53505         * soft-fp/fixunssfsi.c: Likewise.
53506         * soft-fp/fixunssfti.c: Likewise.
53507         * soft-fp/fixunstfdi.c: Likewise.
53508         * soft-fp/fixunstfsi.c: Likewise.
53509         * soft-fp/fixunstfti.c: Likewise.
53510         * soft-fp/floatdidf.c: Likewise.
53511         * soft-fp/floatdisf.c: Likewise.
53512         * soft-fp/floatditf.c: Likewise.
53513         * soft-fp/floatsidf.c: Likewise.
53514         * soft-fp/floatsisf.c: Likewise.
53515         * soft-fp/floatsitf.c: Likewise.
53516         * soft-fp/floattidf.c: Likewise.
53517         * soft-fp/floattisf.c: Likewise.
53518         * soft-fp/floattitf.c: Likewise.
53519         * soft-fp/floatundidf.c: Likewise.
53520         * soft-fp/floatundisf.c: Likewise.
53521         * soft-fp/floatunsidf.c: Likewise.
53522         * soft-fp/floatunsisf.c: Likewise.
53523         * soft-fp/floatuntidf.c: Likewise.
53524         * soft-fp/floatuntisf.c: Likewise.
53525         * soft-fp/floatuntitf.c: Likewise.
53526         * soft-fp/fmadf4.c: Likewise.
53527         * soft-fp/fmasf4.c: Likewise.
53528         * soft-fp/fmatf4.c: Likewise.
53529         * soft-fp/gedf2.c: Likewise.
53530         * soft-fp/gesf2.c: Likewise.
53531         * soft-fp/getf2.c: Likewise.
53532         * soft-fp/ledf2.c: Likewise.
53533         * soft-fp/lesf2.c: Likewise.
53534         * soft-fp/letf2.c: Likewise.
53535         * soft-fp/muldf3.c: Likewise.
53536         * soft-fp/mulsf3.c: Likewise.
53537         * soft-fp/multf3.c: Likewise.
53538         * soft-fp/negdf2.c: Likewise.
53539         * soft-fp/negsf2.c: Likewise.
53540         * soft-fp/negtf2.c: Likewise.
53541         * soft-fp/op-1.h: Likewise.
53542         * soft-fp/op-2.h: Likewise.
53543         * soft-fp/op-4.h: Likewise.
53544         * soft-fp/op-8.h: Likewise.
53545         * soft-fp/op-common.h: Likewise.
53546         * soft-fp/quad.h: Likewise.
53547         * soft-fp/single.h: Likewise.
53548         * soft-fp/soft-fp.h: Likewise.
53549         * soft-fp/sqrtdf2.c: Likewise.
53550         * soft-fp/sqrtsf2.c: Likewise.
53551         * soft-fp/sqrttf2.c: Likewise.
53552         * soft-fp/subdf3.c: Likewise.
53553         * soft-fp/subsf3.c: Likewise.
53554         * soft-fp/subtf3.c: Likewise.
53555         * soft-fp/truncdfsf2.c: Likewise.
53556         * soft-fp/trunctfdf2.c: Likewise.
53557         * soft-fp/trunctfsf2.c: Likewise.
53558         * soft-fp/trunctfxf2.c: Likewise.
53559         * soft-fp/unorddf2.c: Likewise.
53560         * soft-fp/unordsf2.c: Likewise.
53561         * soft-fp/unordtf2.c: Likewise.
53563 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53565         [BZ #15672]
53566         * misc/error.c (error_tail): Fix possible buffer overflow.
53568 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53570         [BZ #13028]
53571         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53572         address.
53574 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53576         [BZ #832]
53577         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53578         testing pipefail option.
53580 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53582         * soft-fp/double.h: Indent preprocessor directives inside #if.
53583         * soft-fp/extended.h: Likewise.
53584         * soft-fp/op-2.h: Likewise.
53585         * soft-fp/op-4.h: Likewise.
53586         * soft-fp/op-common.h: Likewise.
53587         * soft-fp/quad.h: Likewise.
53588         * soft-fp/single.h: Likewise.
53589         * soft-fp/soft-fp.h: Likewise.
53591 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53593         * iconv/iconv_prog.c: Fix typos.
53594         * stdio-common/psiginfo-data.h: Likewise.
53596 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53598         [BZ #15764]
53599         * locale/setlocale.c: Fix typo.
53601 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53603         [BZ #16036]
53604         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53605         signaling NaN arguments.
53606         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53607         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53609         [BZ #14910]
53610         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53611         unordered operands.
53612         * soft-fp/gesf2.c (__gesf2): Likewise.
53613         * soft-fp/getf2.c (__getf2): Likewise.
53614         * soft-fp/ledf2.c (__ledf2): Likewise.
53615         * soft-fp/lesf2.c (__lesf2): Likewise.
53616         * soft-fp/letf2.c (__letf2): Likewise.
53618         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53619         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53620         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53621         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53622         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53623         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53624         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53625         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53626         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53627         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53628         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53629         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53630         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53631         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53632         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53633         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53634         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53635         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53636         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53637         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53638         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53639         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53640         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53641         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53642         * soft-fp/floattidf.c (__floattidf): Likewise.
53643         * soft-fp/floattisf.c (__floattisf): Likewise.
53644         * soft-fp/floattitf.c (__floattitf): Likewise.
53645         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53646         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53647         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53648         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53649         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53650         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53651         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53652         * soft-fp/gesf2.c (__gesf2): Likewise.
53653         * soft-fp/getf2.c (__getf2): Likewise.
53654         * soft-fp/ledf2.c (__ledf2): Likewise.
53655         * soft-fp/lesf2.c (__lesf2): Likewise.
53656         * soft-fp/letf2.c (__letf2): Likewise.
53658         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53659         Undefine and redefine.
53660         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53661         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53662         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53663         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53664         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53665         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53666         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53667         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53668         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53669         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53670         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53671         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53672         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53673         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53674         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53676         [BZ #16032]
53677         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53678         without decrementing exponent if mantissa >= that for the
53679         denominator, not >.
53680         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53681         denominator, not >.  Decrement exponent in < case instead of
53682         incrementing in >= case.
53683         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53684         without decrementing exponent if mantissa >= that for the
53685         denominator, not >.
53687         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53688         computing saturated result for unsigned overflow.
53690 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53691             Jeff Law  <law@redhat.com>
53693         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53694         (atan2Mp): Add systemtap probe marker.
53695         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53696         (__ieee754_log): Add systemtap probe marker.
53697         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53698         (atanMp): Add systemtap probe marker.
53699         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53700         (tanMp): Add systemtap probe marker.
53701         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53702         (__slowexp): Add systemtap probe marker.
53703         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53704         (__slowpow): Add systemtap probe marker.
53705         * manual/probes.texi: Document probes.
53707 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53709         [BZ #15362]
53710         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53711         written.
53712         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53713         written.
53714         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53715         written to buffer but not flushed.
53716         * libio/iofwrite_u.c:  Likewise.
53717         * libio/iopadn.c:  Return bytes returned even if EOF was
53718         encountered.
53719         * libio/iowpadn.c:  Likewise.
53720         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53721         if _IO_padn does not write the whole buffer.
53722         [!COMPILE_WPRINTF] (PAD): Likewise.
53724 2013-10-10  David S. Miller  <davem@davemloft.net>
53726         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53727         directory block.
53729 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53731         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53732         instead of FSF address.
53733         * soft-fp/fixdfti.c: Likewise.
53734         * soft-fp/fixsfti.c: Likewise.
53735         * soft-fp/fixtfti.c: Likewise.
53736         * soft-fp/fixunsdfti.c: Likewise.
53737         * soft-fp/fixunssfti.c: Likewise.
53738         * soft-fp/fixunstfti.c: Likewise.
53739         * soft-fp/floattidf.c: Likewise.
53740         * soft-fp/floattisf.c: Likewise.
53741         * soft-fp/floattitf.c: Likewise.
53742         * soft-fp/floatuntidf.c: Likewise.
53743         * soft-fp/floatuntisf.c: Likewise.
53744         * soft-fp/floatuntitf.c: Likewise.
53745         * soft-fp/trunctfxf2.c: Likewise.
53747         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53748         * soft-fp/fixdfti.c: Likewise.
53749         * soft-fp/fixsfti.c: Likewise.
53750         * soft-fp/fixtfti.c: Likewise.
53751         * soft-fp/fixunsdfti.c: Likewise.
53752         * soft-fp/fixunssfti.c: Likewise.
53753         * soft-fp/fixunstfti.c: Likewise.
53754         * soft-fp/floattidf.c: Likewise.
53755         * soft-fp/floattisf.c: Likewise.
53756         * soft-fp/floattitf.c: Likewise.
53757         * soft-fp/floatuntidf.c: Likewise.
53758         * soft-fp/floatuntisf.c: Likewise.
53759         * soft-fp/floatuntitf.c: Likewise.
53760         * soft-fp/trunctfxf2.c: Likewise.
53762 2013-10-10  David S. Miller  <davem@davemloft.net>
53764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53766 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53768         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53769         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53770         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53771         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53772         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53773         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53774         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53776         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53777         for NaNs before doing comparisons on argument.
53778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53779         Likewise.
53781 2013-10-10  Will Newton  <will.newton@linaro.org>
53783         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53784         passed to _int_memalign does not overflow.
53786 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53788         * scripts/bench.pl: Add include-sources directive.
53789         * benchtests/README: Update documentation.
53791 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53793         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53794         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53795         instead of FP_INIT_ROUNDMODE.
53796         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53797         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53799         [BZ #16034]
53800         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53801         copy class of input value.
53802         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53803         not handle exceptions.
53804         * soft-fp/negsf2.c (__negsf2): Likewise.
53805         * soft-fp/negtf2.c (__negtf2): Likewise.
53806         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53808 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53810         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53811         semicolon.  From Linux kernel.
53813 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53815         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53817 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53819         [BZ #156]
53820         * manual/socket.texi: Added statement about buffer
53821         for gethostbyname2_r.
53823 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53825         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53826         Use .p2align directive instead, throughout.
53827         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53828         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53829         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53830         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53831         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53832         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53833         * sysdeps/x86_64/strchr.S: Likewise.
53834         * sysdeps/x86_64/strrchr.S: Likewise.
53836 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53838         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53840         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53842         * sysdeps/generic/math_private.h (__mpsin1): Remove
53843         declaration.
53844         (__mpcos1): Likewise.
53845         (__mpsin): New argument __range_reduce.
53846         (__mpcos): Likewise.
53847         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53848         (slow): Use __mpsin and __mpcos.
53849         (slow1): Likewise.
53850         (slow2): Likewise.
53851         (sloww): Likewise.
53852         (sloww1): Likewise.
53853         (sloww2): Likewise.
53854         (bsloww): Likewise.
53855         (bsloww1): Likewise.
53856         (bsloww2): Likewise.
53857         (cslow2): Likewise.
53858         (csloww): Likewise.
53859         (csloww1): Likewise.
53860         (csloww2): Likewise.
53861         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53862         range_reduce.  Merge in __mpsin1.
53863         (__mpcos): Likewise.
53864         (__mpsin1): Remove.
53865         (__mpcos1): Likewise.
53867 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53869         * locale/loadlocale.c (_nl_intern_locale_data): Use
53870         LOCFILE_ALIGNED_P.
53871         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53872         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53873         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53874         obstack data is appropriately aligned.
53875         (obstack_int32_grow_fast): Likewise.
53876         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53877         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53878         (add_locale_uint32_array): Likewise.
53880 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53882         * benchtests/Makefile: Remove ARGLIST and RET variables.
53883         ($(objpfx)bench-%.c): Pass only function name to the script.
53884         * benchtests/README: Update documentation.
53885         * benchtests/acos-inputs: Add new directives.
53886         * benchtests/acosh-inputs: Likewise.
53887         * benchtests/asin-inputs: Likewise.
53888         * benchtests/asinh-inputs: Likewise.
53889         * benchtests/atan-inputs: Likewise.
53890         * benchtests/atanh-inputs: Likewise.
53891         * benchtests/cos-inputs: Likewise.
53892         * benchtests/cosh-inputs: Likewise.
53893         * benchtests/exp-inputs: Likewise.
53894         * benchtests/log-inputs: Likewise.
53895         * benchtests/pow-inputs: Likewise.
53896         * benchtests/rint-inputs: Likewise.
53897         * benchtests/sin-inputs: Likewise.
53898         * benchtests/sinh-inputs: Likewise.
53899         * benchtests/tan-inputs: Likewise.
53900         * benchtests/tanh-inputs: Likewise.
53901         * scripts/bench.pl: Add support for new directives.
53903 2013-10-07  Alan Modra  <amodra@gmail.com>
53905         * README: Fix careless merge.
53907 2013-10-05  Alan Modra  <amodra@gmail.com>
53909         * NEWS: Mention powerpc64le support and bugs fixed.
53910         * README: Both big-endian and little-endian powerpc64 supported.
53912 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53914         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53915         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53916         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53917         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53919 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53921         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53922         match prototype.
53924 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53926         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53927         Move -mhard-float appending from
53928         ports/sysdeps/powerpc/powerpc32/Makefile.
53929         [$(with-fp) = yes] (ASFLAGS): Likewise.
53930         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53931         * sysdeps/powerpc/nofpu: Move directory from
53932         ports/sysdeps/powerpc/nofpu.
53933         * sysdeps/powerpc/soft-fp: Move directory from
53934         ports/sysdeps/powerpc/soft-fp.
53935         * sysdeps/powerpc/powerpc32/405: Move directory from
53936         ports/sysdeps/powerpc/powerpc32/405.
53937         * sysdeps/powerpc/powerpc32/440: Move directory from
53938         ports/sysdeps/powerpc/powerpc32/440.
53939         * sysdeps/powerpc/powerpc32/464: Move directory from
53940         ports/sysdeps/powerpc/powerpc32/464.
53941         * sysdeps/powerpc/powerpc32/476: Move directory from
53942         ports/sysdeps/powerpc/powerpc32/476.
53943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53944         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53946         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53948         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53950         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53952         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53953         * README: Update for powerpc-*-linux-gnu software floating point
53954         support in libc.
53956         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53957         case to powerpc/powerpc32*.
53958         * sysdeps/unix/sysv/linux/configure: Regenerated.
53960         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53961         (_FPU_MASK_OM): Define as 0x04.
53962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53964         0x00c10080.
53965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53966         0x0000003c.
53967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53970         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53971         getcontext_e500.
53972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53973         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53974         setcontext_e500.
53975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53976         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53977         and setcontext_e500.
53979 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53981         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53983 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53985         * manual/threads.texi (Default Thread Attributes): Fix typo.
53987 2013-10-04  Will Newton  <will.newton@linaro.org>
53989         * malloc/Makefile: Add tst-memalign.
53990         * malloc/tst-memalign.c: New file.
53992         * malloc/tst-posix_memalign.c: Add comments.
53993         (do_test): Add comments and call free on all potentially
53994         allocated pointers. Add space after cast.
53996         * malloc/tst-pvalloc.c: Add comments.
53997         (do_test): Add comments and call free on all potentially
53998         allocated pointers. Remove duplicate check for NULL pointer.
53999         Add space after cast.
54001         * malloc/tst-valloc.c: Add comments.
54002         (do_test): Add comments and call free on all potentially
54003         allocated pointers. Remove duplicate check for NULL pointer.
54004         Add space after cast.
54006 2013-10-04  Alan Modra  <amodra@gmail.com>
54008         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54009         Use stdint types in rather than __attribute__((mode())).
54010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54012 2013-10-04  Alan Modra  <amodra@gmail.com>
54014         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54015         Correct handling of unaligned relocs for little-endian.
54016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54018 2013-10-04  Alan Modra  <amodra@gmail.com>
54020         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54021         * configure: Regenerate.
54022         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54023         * shlib-versions: Likewise.
54025 2013-10-04  Alan Modra  <amodra@gmail.com>
54027         * string/tester.c (test_memrchr): Increment reported test cycle.
54029 2013-10-04  Alan Modra  <amodra@gmail.com>
54031         * string/test-memcpy.c (do_one_test): When reporting errors, print
54032         string address and don't overrun end of string.
54034 2013-10-04  Alan Modra  <amodra@gmail.com>
54036         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54037         insrdi.  Make better use of reg selection to speed exit slightly.
54038         Schedule entry path a little better.  Remove useless "are we done"
54039         checks on entry to main loop.  Handle wrapping around zero address.
54040         Correct main loop count.  Handle single left-over word from main
54041         loop inline rather than by using loop_small.  Remove extra word
54042         case in loop_small caused by wrong loop count.  Add little-endian
54043         support.
54044         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54045         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54046         cache hint.
54047         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54048         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54049         support.  Avoid rlwimi.
54050         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54052 2013-10-04  Alan Modra  <amodra@gmail.com>
54054         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54055         insrdi.  Formatting.
54056         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54057         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54058         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54059         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54060         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54061         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54063 2013-10-04  Alan Modra  <amodra@gmail.com>
54065         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54066         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54067         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54068         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54069         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54070         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54071         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54072         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54073         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54074         use of regs.  Use power7 mtocrf.  Tidy function tails.
54076 2013-10-04  Alan Modra  <amodra@gmail.com>
54078         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54079         Formatting.  Consistently use rXXX register defines or rN defines.
54080         Use early exit labels that avoid restoring unused non-volatile regs.
54081         Make cr field use more consistent with rWORDn compares.  Rename
54082         regs used as shift registers for unaligned loop, using rN defines
54083         for short lifetime/multiple use regs.
54084         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54085         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54086         addi 1,1,64 to pop stack frame.  Simplify return value code.
54087         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54089 2013-10-04  Alan Modra  <amodra@gmail.com>
54091         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54092         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54093         rather than rlwimi.
54094         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54095         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54096         little-endian support.  Correct typos.
54097         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54098         rather than rlwimi.
54099         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54100         in loop and entry code to keep "and." results.
54101         (strchr): Add little-endian support.  Comment.  Move cntlzd
54102         earlier in tail.
54103         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54105 2013-10-04  Alan Modra  <amodra@gmail.com>
54107         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54108         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54109         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54110         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54112 2013-10-04  Alan Modra  <amodra@gmail.com>
54114         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54115         (rTMP): Define as r11.
54116         (strcmp): Add little-endian support.  Optimise tail.
54117         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54118         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54119         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54120         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54121         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54122         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54125 2013-10-04  Alan Modra  <amodra@gmail.com>
54127         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54128         little-endian support.  Remove unnecessary "are we done" tests.
54129         Handle "s" wrapping around zero and extremely large "size".
54130         Correct main loop count.  Handle single left-over word from main
54131         loop inline rather than by using small_loop.  Correct comments.
54132         Delete "zero" tail, use "end_max" instead.
54133         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54135 2013-10-04  Alan Modra  <amodra@gmail.com>
54137         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54138         support.  Don't branch over align.
54139         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54140         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54141         support.  Rearrange tmp reg use to suit.  Comment.
54142         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54144 2013-10-04  Alan Modra  <amodra@gmail.com>
54146         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54148 2013-10-04  Alan Modra  <amodra@gmail.com>
54150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54151         conditional form of branch and link when obtaining pc.
54152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54154 2013-10-04  Alan Modra  <amodra@gmail.com>
54156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54157         HIWORD/LOWORD.
54158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54161 2013-10-04  Alan Modra  <amodra@gmail.com>
54163         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54164         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54165         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54166         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54167         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54168         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54169         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54170         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54171         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54172         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54174 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54175             Alistair Popple <alistair@ozlabs.au.ibm.com>
54176             Alan Modra <amodra@gmail.com>
54178         [BZ #15723]
54179         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54180         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54181         _dl_hwcap access for little-endian.
54182         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54183         destroy vmx regs when saving unaligned.
54184         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54185         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54186         destroy vmx regs when saving unaligned.
54188 2013-10-04  Alan Modra  <amodra@gmail.com>
54190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54191         Don't use a union to pack hi/low value.
54193 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54195         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54196         for little-endian.
54197         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54198         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54199         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54200         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54201         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54203 2013-10-04  Alan Modra  <amodra@gmail.com>
54205         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54206         constants to usual value for .cst8 section, and remove redundant
54207         high address load.
54208         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54209         constant for 0x1p52.  Load little-endian words of double from
54210         correct stack offsets.
54212 2013-10-04  Alan Modra  <amodra@gmail.com>
54214         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54215         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54216         words of double from correct stack offsets.
54217         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54218         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54220         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54221         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54222         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54223         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54224         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54225         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54226         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54227         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54228         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54229         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54230         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54231         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54232         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54233         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54235 2013-10-04  Alan Modra  <amodra@gmail.com>
54237         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54238         64-bit int/double union.
54239         (_FPU_SETCW): Likewise.
54240         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54241         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54243 2013-10-04  Alan Modra  <amodra@gmail.com>
54245         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54246         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54248 2013-10-04  Alan Modra  <amodra@gmail.com>
54250         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54251         use vector int constants.
54252         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54254 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54256         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54257         array with long long.
54258         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54259         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54260         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54261         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54262         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54263         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54264         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54265         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54266         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54267         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54268         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54269         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54270         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54272 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54274         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54275         (__signbit): Likewise.  Correct for little-endian.
54276         (__signbitl): Call __signbit.
54277         (lrint): Correct for little-endian.
54278         (lrintf): Call lrint.
54280 2013-10-04  Alan Modra  <amodra@gmail.com>
54282         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54283         union 32-bit int array member with 64-bit int array.
54284         (t515, tm256): Double rather than long double.
54285         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54287 2013-10-04  Alan Modra  <amodra@gmail.com>
54289         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54290         Delete.
54291         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54293         version of math_ldbl.h.
54295 2013-10-04  Alan Modra  <amodra@gmail.com>
54297         [BZ #15734], [BZ #15735]
54298         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54299         all uses of ieee875 long double macros and unions.  Simplify test
54300         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54301         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54302         normalize after ldbl_extract_mantissa, and don't add hidden bit
54303         already handled.  Don't treat low word of ieee854 mantissa like
54304         low word of IBM long double and mask off bit when testing for
54305         zero.
54306         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54307         all uses of ieee875 long double macros and unions.  Simplify tests
54308         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54309         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54310         two1022, instead use their values.  Recognise that tests for large
54311         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54312         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54313         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54314         test for 0.0L and nan.  Correct negation.
54315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54316         ieee875 long double macros and unions.  Correct output for large
54317         magnitude x.  Correct absolute value calculation.
54318         (__erfcl): Likewise.
54319         * math/libm-test.inc: Add tests for errors discovered in IBM long
54320         double versions of fmodl, remainderl, erfl and erfcl.
54322 2013-10-04  Alan Modra  <amodra@gmail.com>
54324         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54325         all uses of ieee854 long double macros and unions.  Simplify tests
54326         for long doubles that are fully specified by the high double.
54327         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54328         Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54330         Remove dead code too.
54331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54332         (__ieee754_ynl): Likewise.
54333         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54335         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54336         Remove dead code too.
54337         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54338         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54339         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54340         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54341         Simplify.
54342         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54343         Simplify.
54344         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54347         Comment on variable precision.
54348         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54349         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54350         Likewise.
54351         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54352         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54353         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54354         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54355         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54357 2013-10-04  Alan Modra  <amodra@gmail.com>
54359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54361         all uses of ieee854 long double macros and unions.
54362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54368         Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54370         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54375         Simplify sign and nan test too.
54376         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54380         Likewise.
54381         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54383         Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54391 2013-10-04  Alan Modra  <amodra@gmail.com>
54393         * stdio-common/printf_size.c (__printf_size): Don't use
54394         union ieee854_long_double in fpnum union.
54395         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54396         signbit macro to retrieve sign from long double.
54397         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54398         retrieve sign from long double.
54399         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54400         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54401         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54402         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54403         * math/test-misc.c (main): Don't use union ieee854_long_double.
54405 2013-10-04  Alan Modra  <amodra@gmail.com>
54407         [BZ #15680]
54408         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54409         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54410         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54411         calculation.  Remove unnecessary test for denormal exponent.
54412         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54413         Correct handling of denormals.  Avoid undefined shift behaviour.
54414         Correct normalisation of low mantissa when low double is denormal.
54415         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54416         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54417         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54418         Correct normalisation of low mantissa.  Test for overflow of high
54419         mantissa and normalise.
54420         (ldbl_nearbyint): Use more readable constant for two52.
54421         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54422         (__mpn_construct_long_double): Fix test for overflow of high
54423         mantissa and correct normalisation.  Avoid undefined shift.
54425 2013-10-04  Alan Modra  <amodra@gmail.com>
54427         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54428         (union ibm_extended_long_double): Define as an array of ieee754_double.
54429         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54430         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54431         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54432         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54433         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54435         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54436         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54439         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54441 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54443         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54444         page size instead of calling getpagesize.
54446         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54447         (LOCFILE_ALIGN_MASK): Likewise.
54448         (LOCFILE_ALIGN_UP): Likewise.
54449         (LOCFILE_ALIGNED_P): Likewise.
54450         * locale/programs/ld-collate.c (collate_output): Use the new
54451         macros instead of __alignof__ (int32_t).
54452         * locale/weight.h (findidx): Likewise.
54454 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54456         [BZ #431]
54457         * manual/string.texi: Fix strncat and wcsncat.
54459 2013-10-03  Brooks Moses  <bmoses@google.com>
54461         [BZ #15915]
54462         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54463         * Makerules: ...here, and adjust associated comments.
54465 2013-10-02  Will Newton  <will.newton@linaro.org>
54467         * malloc/Makefile: Add tst-pvalloc.
54468         * malloc/tst-pvalloc.c: New file.
54470 2013-10-02  Will Newton  <will.newton@linaro.org>
54472         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54473         improve test coverage.
54475 2013-10-02  Will Newton  <will.newton@linaro.org>
54477         * malloc/Makefile: Add tst-posix_memalign.
54478         * malloc/tst-posix_memalign.c: New file.
54480 2013-10-01  Eric Blake  <eblake@redhat.com>
54482         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54483         Use __THROWNL rather than __THROW on static functions.
54485 2013-09-30  Petr Machata  <pmachata@redhat.com>
54487         * elf/elf.h (R_AARCH64_ABS16): New macro.
54488         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54489         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54490         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54491         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54492         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54493         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54494         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54495         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54496         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54497         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54498         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54499         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54500         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54501         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54502         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54503         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54504         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54505         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54506         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54507         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54508         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54509         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54510         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54511         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54512         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54513         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54514         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54515         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54516         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54517         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54518         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54519         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54520         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54521         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54522         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54523         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54524         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54525         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54526         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54527         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54528         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54529         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54530         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54531         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54532         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54533         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54534         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54535         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54536         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54537         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54538         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54539         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54540         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54541         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54542         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54543         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54544         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54545         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54546         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54547         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54548         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54549         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54550         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54551         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54552         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54553         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54554         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54555         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54556         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54557         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54558         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54559         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54560         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54561         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54562         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54563         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54564         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54565         (R_AARCH64_TLSDESC_LDR): Likewise.
54566         (R_AARCH64_TLSDESC_ADD): Likewise.
54567         (R_AARCH64_TLSDESC_CALL): Likewise.
54569 2013-09-30  Andreas Schwab  <schwab@suse.de>
54571         [BZ #15048]
54572         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54573         the nss database lookup.
54574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54577 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54579         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54581 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54584         ${Bash-specific parameter/pattern/string} parameter expansion.
54585         * sysdeps/unix/make-syscalls.sh: Likewise.
54587 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54589         * sysdeps/sh/stackguard-macros.h: New file.
54591 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54595         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54596         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54597         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54598         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54600 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54602         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54603         Fix thread ID register.
54605 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54607         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54608         [POSIX || UNIX98]: Require rather than permitting all symbols from
54609         <time.h>.
54610         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54611         element of struct sched_param.
54612         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54613         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54614         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54615         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54616         constant.
54618 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54620         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54621         argument calculation.
54623 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54625         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54626         Expect macro.
54627         [POSIX] (pthread_attr_t): Do not require type.
54628         [POSIX] (pthread_cond_t): Likewise.
54629         [POSIX] (pthread_condattr_t): Likewise.
54630         [POSIX] (pthread_key_t): Likewise.
54631         [POSIX] (pthread_mutex_t): Likewise.
54632         [POSIX] (pthread_mutexattr_t): Likewise.
54633         [POSIX] (pthread_once_t): Likewise.
54634         [POSIX] (pthread_t): Likewise.
54635         [POSIX-based standards] (pthread_atfork): Expect function.
54637 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54638             Richard Sandiford  <richard@codesourcery.com>
54640         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54641         (swap_endianness_p): New extern variable.
54642         (set_big_endian): New inline function.
54643         (maybe_swap_uint32): Likewise.
54644         (maybe_swap_uint32_array): Likewise.
54645         (maybe_swap_uint32_obstack): Likewise.
54646         * locale/programs/locfile.c: Include <stdbool.h>.
54647         (swap_endianness_p): New variable.
54648         (add_locale_uint32): Call maybe_swap_uint32.
54649         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54650         (write_locale_data): Call maybe_swap_uint32_array.
54651         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54652         maybe_swap_uint32.
54653         (obstack_int32_grow_fast): Likewise.
54654         (output_weightwc): Call maybe_swap_uint32_obstack.
54655         (collate_output): Likewise.
54656         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54657         (OPT_LITTLE_ENDIAN): Likewise.
54658         (options): Add --little-endian and --big-endian options.
54659         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54660         * locale/programs/locarchive.c: Include "locfile.h".
54661         (GET): New macro.
54662         (SET): Likewise.
54663         (INC): Likewise.
54664         (create_archive): Use the new macros to access fields of
54665         structures directly mapped from or written to locale archives.
54666         (oldlocrecentcmp): Likewise.
54667         (enlarge_archive): Likewise.
54668         (insert_name): Likewise.
54669         (add_alias): Likewise.
54670         (add_locale): Likewise.
54671         (delete_locales_from_archive): Likewise.
54672         (show_archive_content): Likewise.
54673         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54674         locale data.
54676 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54678         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54679         http://www.gnu.org/doc/freemanuals.texi.
54680         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54682 2013-09-24  Will Newton  <will.newton@linaro.org>
54684         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54685         macro.
54687 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54689         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54690         unsigned char.
54692 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54694         * manual/threads.texi (POSIX Threads): Fix a typo.
54696 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54698         [BZ #14547]
54699         * string/tst-strcoll-overflow.c: New test case.
54700         * string/Makefile (xtests): Add tst-strcoll-overflow.
54701         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54702         cache if string sizes may cause integer overflow.
54704         [BZ #14547]
54705         * string/strcoll_l.c (coll_seq): New members rule, idx,
54706         save_idx and back_us.
54707         (get_next_seq_nocache): New function.
54708         (do_compare_nocache): New function.
54709         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54710         when malloc fails.
54712 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54714         [BZ #15754]
54715         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54716         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54717         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54719         [BZ #15754]
54720         * elf/Makefile (tests): Add tst-ptrguard1.
54721         (tests-static): Add tst-ptrguard1-static.
54722         (tst-ptrguard1-ARGS): Define.
54723         (tst-ptrguard1-static-ARGS): Define.
54724         * elf/tst-ptrguard1.c: New file.
54725         * elf/tst-ptrguard1-static.c: New file.
54726         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54727         * sysdeps/i386/stackguard-macros.h: Likewise.
54728         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54729         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54730         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54731         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54732         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54733         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54735 2013-09-23  Hector Marco  <hecmargi@upv.es>
54736             Ismael Ripoll  <iripoll@disca.upv.es>
54737             Carlos O'Donell  <carlos@redhat.com>
54739         [BZ #15754]
54740         * sysdeps/generic/stackguard-macros.h: Define
54741         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54742         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54743         Define __pointer_chk_guard_local.
54744         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54745         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54747 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54749         [BZ #15859]
54750         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54752 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54754         * include/string.h (__ffs): Declare as hidden.
54755         * string/ffs.c (__ffs): Define as hidden.
54756         * sysdeps/i386/ffs.c (__ffs): Likewise.
54757         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54758         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54759         * sysdeps/s390/ffs.c (__ffs): Likewise.
54760         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54762 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54764         * NEWS: Mention malloc probes.
54766         * malloc/arena.c (new_heap): New memory_heap_new probe.
54767         (grow_heap): New memory_heap_more probe.
54768         (shrink_heap): New memory_heap_less probe.
54769         (heap_trim): New memory_heap_free probe.
54770         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54771         (systrim): New memory_sbrk_less probe.
54772         * manual/probes.texi: Document them.
54774         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54775         * manual/probes.texi: Document it.
54777         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54778         (__libc_realloc): Add memory_realloc_retry probe.
54779         (__libc_memalign): Add memory_memalign_retry probe.
54780         (__libc_valloc): Add memory_valloc_retry probe.
54781         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54782         (__libc_calloc): Add memory_calloc_retry probe.
54783         * manual/probes.texi: Document them.
54785         * malloc/arena.c (get_free_list): Add probe
54786         memory_arena_reuse_free_list.
54787         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54788         and memory_arena_reuse.
54789         (arena_get2) [!PER_THREAD]: Likewise.
54790         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54791         memory_arena_reuse_realloc.
54792         * manual/probes.texi: Document them.
54794         * malloc/malloc.c (__libc_free): Add
54795         memory_mallopt_free_dyn_thresholds probe.
54796         (__libc_mallopt): Add multiple memory_mallopt probes.
54797         * manual/probes.texi: Document them.
54799         * malloc/malloc.c: Include stap-probe.h.
54800         (__libc_mallopt): Add memory_mallopt probe.
54801         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54802         * manual/probes.texi: New.
54803         * manual/Makefile (chapters): Add probes.
54804         * manual/threads.texi: Set next node.
54806 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54808         [BZ #15963, #13985]
54809         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54810         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54811         Add `Chinese' to `nan' entry name.
54813 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54815         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54816         (POLYNOMIAL): Likewise.
54817         (TAYLOR_SINCOS): Likewise.
54818         (TAYLOR_SLOW): Likewise.
54819         (__sin): Use TAYLOR_SINCOS.
54820         (__cos): Likewise.
54821         (slow): Use TAYLOR_SLOW.
54822         (sloww): Likewise.
54823         (bsloww): Likewise.
54824         (csloww): Likewise.
54826 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54828         * stdlib/strtod_l.c: Fix buffer overrun.
54830 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54832         * benchtests/Makefile (bench): Add sincos.
54833         * benchtests/bench-sincos.c: New file.
54835         * math/libm-test.inc (cos_test_data): New test inputs.
54836         (sin_test_data): Likewise.
54838         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54839         macro.
54840         (__sin): Use it.
54841         (__cos): Likewise.
54842         (slow1): Likewise.
54843         (slow2): Likewise.
54844         (sloww1): Likewise.
54845         (sloww2): Likewise.
54846         (bsloww1): Likewise.
54847         (bsloww2): Likewise.
54848         (cslow2): Likewise.
54849         (csloww1): Likewise.
54850         (csloww2): Likewise.
54852         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54853         function.
54854         (__sin): Use it.
54855         (__cos): Likewise.
54857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54858         gotos.
54859         (__cos): Likewise.
54861 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54863         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54864         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54865         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54866         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54867         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54868         * elf/cache.c (print_entry): Handle the new cache flags.
54870 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54871             Aldy Hernandez  <aldyh@redhat.com>
54873         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54874         Change condition to [_SOFT_FLOAT].
54875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54887         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54890         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54891         declaration.
54893 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54895         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54896         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54897         (__longjmp): Use LOAD_GP to load saved GPRs.
54898         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54899         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54900         (__sigsetjmp): Use SAVE_GP to save GPRs.
54902         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54903         Do not append -msoft-float.
54904         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54906 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54908         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54910 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54912         [BZ #15966]
54913         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54914         (_FPU_GETCW): Use initial "__" on variable and field names but not
54915         on macro parameter name.
54916         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54917         parentheses around reference to macro parameter.
54919 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54921         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54922         prototype.
54923         (ctype_startup): Use uint32_t in cast and sizeof for
54924         ctype->charnames.
54926 2013-09-11  Jia Liu  <proljc@gmail.com>
54928         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54929         __daddr_t_defined.
54930         [__FreeBSD__]: Likewise.
54932 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54935         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54936         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54937         (strchr): Remove __strchr_sse42 ifunc selection.
54938         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54939         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54941 2013-09-11  Will Newton  <will.newton@linaro.org>
54943         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54944         parameter to RES. Remove hardcoded 1000 value.
54945         * benchtests/bench-skeleton.c (main): Pass RES parameter
54946         to TIMING_INIT and multiply result by 1000.
54948 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54952 2013-09-11  Andreas Schwab  <schwab@suse.de>
54954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54955         if not defined.
54956         (O_TMPFILE) [__USE_GNU]: Define.
54957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54958         Define.
54960 2013-09-11  Will Newton  <will.newton@linaro.org>
54962         [BZ #15857]
54963         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54964         does not overflow.
54966 2013-09-11  Will Newton  <will.newton@linaro.org>
54968         [BZ #15856]
54969         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54970         does not overflow.
54972 2013-09-11  Will Newton  <will.newton@linaro.org>
54974         [BZ #15855]
54975         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54976         does not overflow.
54978 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54980         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54981         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54983         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54984         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54986 2013-09-10  Allan McRae  <allan@archlinux.org>
54988         [BZ #15748]
54989         * manual/arith.texi (Parsing of Floats): Clarify
54990         cross-reference.
54992         [BZ #15849]
54993         * manual/install.texi (Running make install): Mention
54994         --enable-pt-chown.
54995         * INSTALL: Regenerated.
54997 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54999         * csu/init-first.c (_init): Remove the !SHARED condition around
55000         FPU control word initialization.
55001         * elf/dl-support.c (_dl_fpu_control): New variable.
55002         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55003         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55004         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55005         * math/test-fpucw-static.c: New file.
55006         * math/test-fpucw-ieee.c: New file.
55007         * math/test-fpucw-ieee-static.c: New file.
55008         * math/Makefile (tests): Add `test-fpucw-ieee' and
55009         `$(tests-static)'.
55010         (tests-static): New variable.
55011         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55012         dependency to...
55013         [($(build-shared),yes)]
55014         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55015         ... this.
55016         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55017         New dependency.
55019 2013-09-09  Allan McRae  <allan@archlinux.org>
55021         [BZ #15939]
55022         * manual/string.texi (Collation Functions): Fix typo in
55023         strcoll example.
55024         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55026         [BZ #15893]
55027         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55029         [BZ #15892]
55030         * libio/memstream.c (open_memstream): Fix memory leak.
55031         * libio/wmemstream.c (open_wmemstream): Likewise.
55033         [BZ #15895]
55034         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55036 2013-09-09  Will Newton  <will.newton@linaro.org>
55038         * malloc/Makefile: Add tst-realloc to tests.
55039         * malloc/tst-realloc.c: New file.
55041 2013-09-09  Allan McRae  <allan@archlinux.org>
55043         [BZ #15844]
55044         * COPYING: Update from GNU website to fix FSF address.
55045         * COPYING.LIB: Likewise.
55047 2013-09-06  David S. Miller  <davem@davemloft.net>
55049         * po/zh_TW.po: Update Chinese (traditional) translation from
55050         translation project.
55052 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55053             Joseph Myers  <joseph@codesourcery.com>
55055         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55056         "localeinfo.h".
55057         (obstack_chunk_alloc): New macro.
55058         (obstack_chunk_free): Likewise.
55059         (record_offset): New function.
55060         (init_locale_data): Likewise.
55061         (align_locale_data): Likewise.
55062         (add_locale_empty): Likewise.
55063         (add_locale_raw_data): Likewise.
55064         (add_locale_raw_obstack): Likewise.
55065         (add_locale_string): Likewise.
55066         (add_locale_wstring): Likewise.
55067         (add_locale_uint32): Likewise.
55068         (add_locale_uint32_array): Likewise.
55069         (add_locale_char): Likewise.
55070         (start_locale_structure): Likewise.
55071         (end_locale_structure): Likewise.
55072         (start_locale_prelude): Likewise.
55073         (end_locale_prelude): Likewise.
55074         (write_locale_data): Take locale_file structure rather than an
55075         iovec.
55076         * locale/programs/locfile.h: Include "obstack.h".
55077         (struct locale_file): Change to store locale file contents instead
55078         of header.
55079         (init_locale_data): New prototype.
55080         (align_locale_data): Likewise.
55081         (add_locale_empty): Likewise.
55082         (add_locale_raw_data): Likewise.
55083         (add_locale_raw_obstack): Likewise.
55084         (add_locale_string): Likewise.
55085         (add_locale_wstring): Likewise.
55086         (add_locale_uint32): Likewise.
55087         (add_locale_uint32_array): Likewise.
55088         (add_locale_char): Likewise.
55089         (start_locale_structure): Likewise.
55090         (end_locale_structure): Likewise.
55091         (start_locale_prelude): Likewise.
55092         (end_locale_prelude): Likewise.
55093         (write_locale_data): Update prototype.
55094         * locale/programs/3level.h (struct TABLE): Remove result field.
55095         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55096         Use new locale_file interface.
55097         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55098         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55099         * locale/programs/ld-address.c (address_output): Use new
55100         locale_file interface.
55101         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55102         NO_ADD_LOCALE.
55103         (collate_finish): Don't call collseq_table_finalize.
55104         (collate_output): Use new locale_file interface.
55105         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55106         in file.
55107         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55108         (TABLE): Move defines earlier in file.
55109         (ELEMENT): Likewise.
55110         (DEFAULT): Likewise.
55111         (wctrans_table_add): Move macro and inline function earlier in
55112         file.
55113         (struct wctype_table): Move type earlier in file.
55114         (add_locale_wctype_table): New static prototype.
55115         (struct locale_ctype_t): Use logical types instead of struct iovec
55116         pointers for members.
55117         (ctype_output): Use new locale_file interface.
55118         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55119         new locale_file interface.
55120         (allocate_arrays): Update for use of new locale_file interface.
55121         * locale/programs/ld-identification.c (identification_output): Use
55122         new locale_file interface.
55123         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55124         * locale/programs/ld-messages.c (messages_output): Likewise.
55125         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55126         * locale/programs/ld-name.c (name_output): Likewise.
55127         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55128         * locale/programs/ld-paper.c (paper_output): Likewise.
55129         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55130         * locale/programs/ld-time.c (time_output): Likewise.
55132 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55134         * benchtests/Makefile: Add memrchr benchmark.
55135         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55136         benchmark as memrchr.
55137         * benchtests/bench-memrchr-ifunc.c: New file.
55138         * benchtests/bench-memrchr.c: New file.
55140 2013-09-06   Will Newton  <will.newton@linaro.org>
55142         * benchtests/Makefile (string-bench): Add memcpy.
55144 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55145             Cong Wang  <amwang@redhat.com>
55147         [BZ #15850]
55148         * sysdeps/unix/sysv/linux/bits/in.h
55149         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55150         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55151         before __USE_KERNEL_IPV6_DEFS uses.
55152         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55153         IPPROTO_BEETPH.
55154         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55155         sockaddr_in6, or ipv6_mreq.
55157 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55159         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55160         memory access for final bytes in some large inputs.
55161         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55163 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55165         * string/test-memrchr.c: New file.
55166         * string/test-memrchr-ifunc.c: New file.
55167         * string/Makefile: Add new memrchr testcase.
55169 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55171         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55172         fanotify_init returns EPERM.
55174 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55176         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55177         errors.
55178         (top level): Treat second token from macro or constant entries for
55179         allowed headers as allowed.
55180         * include/complex.h: Condition internal declarations on
55181         [!_ISOMAC].
55182         * include/fenv.h: Condition include of <stdbool.h> and internal
55183         declarations on [!_ISOMAC].
55185 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55187         [BZ #15923]
55188         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55190 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55192         * configure.in (--enable-versioning): Remove configure option.
55193         (libc_cv_asm_symver_directive): Remove configure test.
55194         (libc_cv_ld_version_script_option): Likewise.
55195         (VERSIONING): Remove variable and AC_SUBST.
55196         (DO_VERSIONING): Remove AC_DEFINE.
55197         * configure: Regenerated.
55198         * config.h.in (DO_VERSIONING): Remove macro.
55199         * Makerules [$(versioning) = yes]: Change conditionals to
55200         [$(build-shared) = yes].
55201         * config.make.in (versioning): Remove variable.
55202         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55203         [$(build-shared) = yes].
55204         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55205         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55206         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55207         [$(build-shared) = yes].
55208         * extra-lib.mk [$(versioning) = yes]: Likewise.
55209         * hurd/Makefile [$(versioning) = yes]: Likewise.
55210         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55211         [SHARED].
55212         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55213         [SHARED].
55214         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55215         [SHARED && !NO_HIDDEN].
55216         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55217         [SHARED].
55218         [SHARED && DO_VERSIONING]: Likewise..
55219         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55220         [$(build-shared) = yes].
55221         * manual/install.texi (--disable-versioning): Remove
55222         documentation.
55223         * INSTALL: Regenerated.
55224         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55225         to [SHARED].
55226         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55227         [$(build-shared) = yes].
55228         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55229         * sysdeps/i386/i686/multiarch/strstr-c.c
55230         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55231         [SHARED && !NO_HIDDEN].
55232         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55233         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55234         * sysdeps/powerpc/powerpc32/dl-machine.c
55235         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55236         * sysdeps/powerpc/powerpc32/sysdep.h
55237         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55238         to [SHARED && PIC && !NO_HIDDEN].
55239         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55240         conditional to [SHARED].
55242 2013-09-04   Will Newton  <will.newton@linaro.org>
55244         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55245         * benchtests/bench-string.h: Include bench-timing.h instead
55246         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55247         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55248         call to HP_TIMING_DIFF_INIT.
55249         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55250         instead of hp-timing.h macros.
55251         * benchtests/bench-memchr.c: Likewise.
55252         * benchtests/bench-memcmp.c: Likewise.
55253         * benchtests/bench-memcpy.c: Likewise.
55254         * benchtests/bench-memmem.c: Likewise.
55255         * benchtests/bench-memmove.c: Likewise.
55256         * benchtests/bench-memset.c: Likewise.
55257         * benchtests/bench-rawmemchr.c: Likewise.
55258         * benchtests/bench-strcasecmp.c: Likewise.
55259         * benchtests/bench-strcasestr.c: Likewise.
55260         * benchtests/bench-strcat.c: Likewise.
55261         * benchtests/bench-strchr.c: Likewise.
55262         * benchtests/bench-strcmp.c: Likewise.
55263         * benchtests/bench-strcpy.c: Likewise.
55264         * benchtests/bench-strcpy_chk.c: Likewise.
55265         * benchtests/bench-strlen.c: Likewise.
55266         * benchtests/bench-strncasecmp.c: Likewise.
55267         * benchtests/bench-strncat.c: Likewise.
55268         * benchtests/bench-strncmp.c: Likewise.
55269         * benchtests/bench-strncpy.c: Likewise.
55270         * benchtests/bench-strnlen.c: Likewise.
55271         * benchtests/bench-strpbrk.c: Likewise.
55272         * benchtests/bench-strrchr.c: Likewise.
55273         * benchtests/bench-strspn.c: Likewise.
55274         * benchtests/bench-strstr.c: Likewise.
55276 2013-09-04  Will Newton  <will.newton@linaro.org>
55278         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55280 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55282         [BZ #15427]
55283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55284         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55285         * math/libm-test.inc (lgamma_test_data): Add more tests.
55286         * sysdeps/i386/fpu/libm-test-ulps: Update.
55287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55289 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55291         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55293         Add ifunc.
55294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55295         Add strcmp-sse2-unaligned
55296         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55298 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55300         * Versions.def (libc): Add GLIBC_2.19.
55302 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55304         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55305         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55307 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55309         [BZ #14155]
55310         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55311         intermediate calculations in recurrence.
55312         (__ieee754_ynf): Likewise.
55313         * math/libm-test.inc (jn_test_data): Do not allow spurious
55314         underflow exception.  Add more tests.
55315         (yn_test_data): Add more tests.
55316         * sysdeps/i386/fpu/libm-test-ulps: Update.
55317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55319 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55323 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55325         * csu/init-first.c: Fix then/than typos.
55326         * locale/programs/ld-collate.c: Likewise.
55327         * locale/programs/linereader.h: Likewise.
55328         * manual/charset.texi: Likewise.
55329         * manual/filesys.texi: Likewise.
55330         * manual/stdio.texi: Likewise.
55331         * manual/string.texi: Likewise.
55332         * stdlib/fmtmsg.c: Likewise.
55333         * sysdeps/i386/stpncpy.S: Likewise.
55334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55335         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55336         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55337         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55339 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55341         * elf/dl-open.c: Fix typos.
55342         * iconvdata/gbbig5.c: Likewise.
55343         * iconvdata/iso-2022-jp.c: Likewise.
55344         * iconv/gconv_int.h: Likewise.
55345         * iconv/loop.c: Likewise.
55346         * nis/rpcsvc/nis.h: Likewise.
55347         * resolv/ns_name.c: Likewise.
55348         * stdio-common/vfscanf.c: Likewise.
55349         * streams/stropts.h: Likewise.
55350         * sunrpc/rpc_thread.c: Likewise.
55351         * sysdeps/i386/strpbrk.S: Likewise.
55352         * sysdeps/ieee754/k_standard.c: Likewise.
55353         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55355         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55356         * sysdeps/mach/hurd/profil.c: Likewise.
55357         * sysdeps/s390/dl-procinfo.h: Likewise.
55358         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55359         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55360         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55361         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55362         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55364 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55366         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55369 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55371         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55372         aix specific files.
55373         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55374         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55375         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55376         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55377         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55378         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55379         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55380         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55382 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55383             Roland McGrath  <roland@hack.frob.com>
55385         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55386         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55388 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55390         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55391         __executable_start symbol instead of _start.
55393 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55395         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55396         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55397         Move macros to...
55398         * sysdeps/gnu/ldsodefs.h: ... this new file.
55400         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55401         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55402         instead of ELFOSABI_LINUX.
55404         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55405         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55406         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55407         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55408         Likewise.
55409         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55410         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55411         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55412         Likewise.
55413         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55414         (ibm_extended_long_double): Add ieee_nan member.
55415         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55416         (do_test): New function.
55418         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55419         TEST_TRUNC.
55420         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55421         functions, renamed from truncdfsf_test, trunctfsf_test,
55422         trunctfdf_test.
55423         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55424         functions.
55425         (do_test): Run all these.
55427 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55429         * argp/argp-help.c: Fix typos.
55430         * argp/argp-parse.c: Likewise.
55431         * debug/backtracesyms.c: Likewise.
55432         * elf/elf.h: Likewise.
55433         * malloc/malloc.c: Likewise.
55434         * nis/nis_print.c: Likewise.
55435         * resolv/res_comp.c: Likewise.
55436         * stdlib/stdlib.h: Likewise.
55437         * sunrpc/clnt_tcp.c: Likewise.
55438         * sunrpc/clnt_udp.c: Likewise.
55439         * sunrpc/clnt_unix.c: Likewise.
55440         * sysdeps/unix/bsd/ptsname.c: Likewise.
55441         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55444         Likewise.
55445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55446         Likewise.
55447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55448         Likewise.
55449         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55451 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55453         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55456 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55458         [BZ #15897]
55459         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55460         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55461         ($(objpfx)bug-dl-leaf): New rule.
55462         ($(objpfx)bug-dl-leaf.so): Likewise.
55463         ($(objpfx)bug-dl-leaf.out): Likewise.
55464         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55465         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55466         * dlfcn/bug-dl-leaf.c: New test.
55467         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55468         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55469         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55470         (dlclose): Likewise.
55471         (dlmopen): Likewise.
55473 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55475         * include/netdb.h [!_ISOMAC]:
55476         Don't include <tls.h>.
55477         (h_errno, __libc_h_errno): Move declaration and macros out of
55478         [_LIBC_REENTRANT].
55480         * include/resolv.h [_RESOLV_H_]:
55481         Don't include <tls.h>.
55482         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55483         * resolv/res_libc.c: Don't include <tls.h>.
55484         (_res): Use __attribute__ ((nocommon)) in place of
55485         __attribute__ ((section (".bss"))).
55487         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55488         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55490         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55492         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55493         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55495         * resolv/res_mkquery.c: Include <sys/time.h>.
55497         * inet/ifreq.c: Moved to ...
55498         * sysdeps/unix/ifreq.c: ... here.
55499         * inet/ifreq.c: New file, true stub version.
55501         * socket/sa_len.c: New file.
55502         * socket/Makefile (aux): Add it.
55503         * sysdeps/unix/sysv/linux/Makefile
55504         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55505         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55506         and #include <socket/sa_len.c>.
55507         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55508         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55510         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55511         * bits/socket.h: ... here.
55513         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55514         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55515         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55517 2013-08-27  Andreas Schwab  <schwab@suse.de>
55519         [BZ #15736]
55520         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55521         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55522         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55523         * string/test-strcasecmp.c (test_main): Run tests in several
55524         locales.
55525         * string/test-strncasecmp.c (test_main): Likewise.
55527         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55528         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55529         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55531         (__strncasecmp_ssse3) [PIC]: Likewise.
55533 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55535         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55537         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55538         instead of explicitly declaring xdecrypt.
55539         * nis/nss_nis/nis-publickey.c: Likewise.
55541 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55543         [BZ #15890]
55544         * nscd/aicache.c: Include res_hconf.h.
55545         (addhstaiX): Initialize res_hconf.
55547 2013-08-26  Andreas Schwab  <schwab@suse.de>
55549         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55550         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55552 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55554         * nscd/aicache.c (addhstaiX): Fix indentation.
55556 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55558         * configure.ac: Quote $build_pt_chown test.
55559         * configure: Regenerated.
55561 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55563         [BZ #15532]
55564         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55565         * math/s_cexpf.c (__cexpf): Likewise.
55566         * math/s_cexpl.c (__cexpl): Likewise.
55567         * math/libm-test.inc (cexp_test_data): Correct expected return
55568         value for NaN + i0.  Add another test.
55570 2013-08-22  David S. Miller  <davem@davemloft.net>
55572         * po/ca.po: Update Catalan translation from translation project.
55573         * po/uk.po: Add Ukrainian translations from translation project.
55575 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55577         [BZ #15797]
55578         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55579         is infinite, not alongside NaN test.
55580         * math/s_fdimf.c (__fdimf): Likewise.
55581         * math/s_fdiml.c (__fdiml): Likewise.
55582         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55583         errno is unchanged.
55585 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55587         * argp/argp-help.c: Fix typos.
55588         * crypt/speeds.c: Likewise.
55589         * csu/check_fds.c: Likewise.
55590         * elf/dl-load.c: Likewise.
55591         * elf/dl-open.c: Likewise.
55592         * elf/reldep3.c: Likewise.
55593         * elf/reldep.c: Likewise.
55594         * elf/sprof.c: Likewise.
55595         * iconv/iconv_charmap.c: Likewise.
55596         * iconv/skeleton.c: Likewise.
55597         * iconv/strtab.c: Likewise.
55598         * io/lockf64.c: Likewise.
55599         * libio/libioP.h: Likewise.
55600         * resolv/gai_notify.c: Likewise.
55601         * resolv/ns_name.c: Likewise.
55602         * resolv/ns_samedomain.c: Likewise.
55603         * resolv/res_send.c: Likewise.
55604         * stdlib/random.c: Likewise.
55605         * sunrpc/rpc/xdr.h: Likewise.
55606         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55607         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55608         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55609         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55610         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55611         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55613         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55614         * sysdeps/mach/hurd/check_fds.c: Likewise.
55615         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55616         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55617         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55618         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55619         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55620         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55621         * sysdeps/pthread/aio_notify.c: Likewise.
55622         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55623         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55624         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55625         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55626         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55628 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55630         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55631         version if bit_Slow_SSE4_2 is set.
55632         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55633         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55635 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55637         [BZ #15867]
55638         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55639         trampoline stack frame information.
55640         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55641         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55642         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55643         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55644         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55645         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55646         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55647         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55648         sa_flags value.
55649         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55650         interrupting a syscall and set with option SA_SIGINFO.
55652 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55654         [BZ #15531]
55655         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55656         argument is infinite.
55657         * math/s_cprojf.c (__cprojf): Likewise.
55658         * math/s_cprojl.c (__cprojl): Likewise.
55659         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55660         * math/libm-test.inc (cproj_test_data): Add more tests.
55662         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55664         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55665         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55666         size.  Use __ffs to determine corresponding shift.
55668 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55669             Roland McGrath  <roland@hack.frob.com>
55671         * Makefile (INSTALL): Remove trailing blank lines from output of
55672         makeinfo.
55674 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55676         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55677         Align 32 bit compat elf_greg to 8 bytes.
55679 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55681         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55683 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55685         * string/strcoll_l.c (coll_seq): New structure.
55686         (get_next_seq_cached): New function.
55687         (get_next_seq): New function.
55688         (do_compare): New function.
55689         (STRCOLL): Use GNU style definition.  Simplify implementation
55690         by using get_next_seq, get_next_seq_cached and do_compare.
55692 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55694         [BZ #14699]
55695         CVE-2013-4237
55696         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55697         member.
55698         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55699         member.
55700         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55701         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55702         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55703         conditional.
55704         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55705         GETDENTS_64BIT_ALIGNED.
55706         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55707         * manual/filesys.texi (Reading/Closing Directory): Document
55708         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55709         strongly.
55710         * manual/conf.texi (Limits for Files): Add portability note to
55711         NAME_MAX, PATH_MAX.
55712         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55714 2013-08-13  Andreas Schwab  <schwab@suse.de>
55716         [BZ #15749]
55717         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55718         of fabs.
55719         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55720         LDBL_MAX_EXP >= 16384]: Add tests for it.
55722 2013-08-12  David S. Miller  <davem@davemloft.net>
55724         * version.h (RELEASE): Set to "development".
55725         (VERSION): Set to "2.18.90".
55726         * NEWS: Add 2.19 section.
55728 2013-08-03  David S. Miller  <davem@davemloft.net>
55730         * po/ko.po: Update Korean translation from translation project.
55732 2013-08-01  David S. Miller  <davem@davemloft.net>
55734         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55735         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55736         Bilka.
55738 2013-07-30  David S. Miller  <davem@davemloft.net>
55740         * po/fr.po: Update French translation from translation project.
55742 2013-07-28  David S. Miller  <davem@davemloft.net>
55744         * po/cs.po: Update Czech translation from translation project.
55746         * po/sv.po: Update Swedish translation from translation project.
55748 2013-07-27  David S. Miller  <davem@davemloft.net>
55750         * po/eo.po: Update Esperanto translation from translation project.
55752         * po/vi.po: Update Vietnamese translation from translation project.
55754         * po/de.po: Update German translation from translation project.
55756 2013-07-26  David S. Miller  <davem@davemloft.net>
55758         * po/bg.po: Update Bulgarian translation from translation project.
55760         * po/nl.po: Update Dutch translation from translation project.
55761         * po/pl.po: Update Polish translation from translation project.
55762         * po/ru.po: Update Russian translation from translation project.
55764 2013-07-24  David S. Miller  <davem@davemloft.net>
55766         * po/libc.pot: Update.
55768 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55770         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55771         variable page size.
55772         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55773         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55774         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55776 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55778         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55780 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55781             Andreas Schwab  <schwab@suse.de>
55782             Roland McGrath  <roland@hack.frob.com>
55783             Joseph Myers  <joseph@codesourcery.com>
55784             Carlos O'Donell  <carlos@redhat.com>
55786         [BZ #15755]
55787         * config.h.in: Define HAVE_PT_CHOWN.
55788         * config.make.in (build-pt-chown): New variable.
55789         * configure.in (--enable-pt_chown): New configure option.
55790         * configure: Regenerate.
55791         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55792         build-pt-chown is enabled.
55793         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55794         pt_chown to fix pty ownership.
55795         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55796         CLOSE_ALL_FDS.
55797         * manual/install.texi (Configuring and compiling): Mention
55798         --enable-pt_chown. Add @findex for grantpt.
55799         * INSTALL: Regenerate.
55801 2013-07-20  David S. Miller  <davem@davemloft.net>
55803         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55804         difference between 32-bit and 64-bit.
55806 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55808         [BZ #15711]
55809         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55810         Avoid system header dependency with -ffreestanding.
55811         ($(objpfx)bits/syscall%d): Likewise.
55813 2013-07-13  David S. Miller  <davem@davemloft.net>
55815         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55816         underflows from atanl/atan2l due to bug 15319.
55817         (casinh_test_data): Likewise.
55819 2013-07-07  David S. Miller  <davem@davemloft.net>
55821         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55823 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55825         * sysdeps/i386/fpu/libm-test-ulps: Update.
55826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55828 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55830         * configure.in (--enable-lock-elision): Fix message text.
55831         * INSTALL: Regenerate.
55832         * configure: Regenerate.
55834 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55838 2013-07-03  Andreas Jaeger  <aj@suse.de>
55840         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55841         define.
55842         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55843         (ptrace_peeksiginfo_args): Add.
55844         (__ptrace_peeksiginfo_flags): Add.
55845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55846         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55849 2013-07-03  Allan McRae  <allan@archlinux.org>
55851         * sysdeps/i386/fpu/libm-test-ulps: Update.
55853 2013-07-02  David S. Miller  <davem@davemloft.net>
55855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55857 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55861 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55863         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55866 2013-07-02  Andi Kleen <ak@linux.intel.com>
55868         * config.h.in (ENABLE_LOCK_ELISION): Add.
55869         * configure.in (--enable-lock-elision): Add option.
55870         * manual/install.texi: Document --enable lock elision.
55871         * configure: Regenerate
55872         * INSTALL: Regenerate.
55874 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55876         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55877         SSE4.2 strcasecmp for libc.a.
55878         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55880 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55882         [BZ #13304]
55883         * soft-fp/op-common.h (_FP_FMA): New macro.
55884         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55885         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55886         (_FP_MUL_MEAT_1_imm): ... here.
55887         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55888         (_FP_MUL_MEAT_1_wide): ... here.
55889         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55890         (_FP_MUL_MEAT_1_hard): ... here.
55891         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55892         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55893         (_FP_MUL_MEAT_2_wide): ... here.
55894         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55895         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55896         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55897         (_FP_MUL_MEAT_2_gmp): ... here.
55898         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55899         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55900         (_FP_MUL_MEAT_4_wide): ... here.
55901         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55902         (_FP_MUL_MEAT_4_gmp): ... here.
55903         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55904         (_FP_WFRACBITS_DW_S): Likewise.
55905         (_FP_WFRACXBITS_DW_S): Likewise.
55906         (_FP_HIGHBIT_DW_S): Likewise.
55907         (FP_FMA_S): Likewise.
55908         (_FP_FRAC_HIGH_DW_S): Likewise.
55909         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55910         (_FP_WFRACBITS_DW_D): Likewise.
55911         (_FP_WFRACXBITS_DW_D): Likewise.
55912         (_FP_HIGHBIT_DW_D): Likewise.
55913         (FP_FMA_D): Likewise.
55914         (_FP_FRAC_HIGH_DW_D): Likewise.
55915         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55916         (_FP_WFRACBITS_DW_E): Likewise.
55917         (_FP_WFRACXBITS_DW_E): Likewise.
55918         (_FP_HIGHBIT_DW_E): Likewise.
55919         (FP_FMA_E): Likewise.
55920         (_FP_FRAC_HIGH_DW_E): Likewise.
55921         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55922         (_FP_WFRACBITS_DW_Q): Likewise.
55923         (_FP_WFRACXBITS_DW_Q): Likewise.
55924         (_FP_HIGHBIT_DW_Q): Likewise.
55925         (FP_FMA_Q): Likewise.
55926         (_FP_FRAC_HIGH_DW_Q): Likewise.
55927         * soft-fp/fmasf4.c: New file.
55928         * soft-fp/fmadf4.c: Likewise.
55929         * soft-fp/fmatf4.c: Likewise.
55931 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55934         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55935         Silvermont.
55936         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55937         macro.
55938         (index_Slow_SSE4_2): Likewise.
55939         (index_Prefer_PMINUB_for_stringop): Likewise.
55940         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55941         bit_Slow_SSE4_2 is set.
55942         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55943         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55945 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55947         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55948         rtld_global._dl_hwcap2.
55949         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55950         POWER8.
55951         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55952         POWER8 feature descriptions defined in _dl_hwcap2.
55953         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55954         string handling for POWER8 feature bits.
55955         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55956         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55957         _dl_powerpc_cap_flags.
55958         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55959         * sysdeps/powerpc/rtld-global-offsets.sym
55960         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55961         _dl_hwcap2 in the rtld_global_ro structure.
55963 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55965         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55966         hardware capabilities in support of AT_HWCAP2.
55967         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55968         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55969         GLRO(dl_hwcap2).
55970         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55971         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55972         explicitly the unknown a_type display mechanism is used.
55973         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55974         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55975         struct member.
55976         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55977         to macro prototype for AT_HWCAP2 support.
55978         * sysdeps/i386/dl-procinfo.h: Likewise.
55979         * sysdeps/s390/dl-procinfo.h: Likewise.
55980         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55981         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55982         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55983         return -1 for unknown a_type display fallback.
55984         * sysdeps/sparc/dl-procinfo.h: Likewise.
55985         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55986         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55988 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55990         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55991         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55993 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55995         [BZ #12492]
55996         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55997         mprotect making __stack_prot writable.
55999 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56000             Joseph Myers  <joseph@codesourcery.com>
56002         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56003         as being properly aligned.
56005 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56007         * dlfcn/modstatic5.c: New file.
56008         * dlfcn/tststatic5.c: New file.
56009         * dlfcn/Makefile (tests): Add tststatic5.
56010         (tests-static): Likewise.
56011         (modules-names): Add modstatic5.
56012         (tststatic5-ENV): New variable.
56013         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56015         [BZ #15022]
56016         * elf/dl-support.c (_dl_main_map): New variable.
56017         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56018         (_dl_nns, _dl_load_adds): Set to 1.
56019         (_dl_initial_searchlist): Refer to _dl_main_map.
56020         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56021         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56022         call to _dl_get_origin.
56023         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56024         around call_map.
56025         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56026         * dlfcn/modstatic3.c: New file.
56027         * dlfcn/tststatic3.c: New file.
56028         * dlfcn/tststatic4.c: New file.
56029         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56030         (tests-static): Likewise.
56031         (modules-names): Add modstatic3.
56032         (tststatic3-ENV, tststatic4-ENV): New variables.
56033         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56034         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56036 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56038         * configure.in (CC): Require GCC version 4.4 or later.
56039         * configure: Regenerated.
56040         * manual/install.texi (Tools for Compilation): Update GCC version
56041         requirement.
56042         * INSTALL: Regenerated.
56044 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56046         [BZ #15674]
56047         * string/test-memcmp.c (check2): New.
56048         (main): Call check2.
56050         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56052 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56054         [BZ #15022]
56055         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56056         over to...
56057         (dl_open_worker) [!SHARED]: ... here.
56059 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56061         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56063 2013-06-25  Richard Henderson  <rth@redhat.com>
56065         * locale/programs/locarchive.c: Include <libc-internal.h>
56067 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56069         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56070         trailing whitespace removed.
56072 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56074         [BZ #10283]
56075         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56076         * locale/programs/locarchive.c: Include libc-mmap.h.
56077         (prepare_address_space): Take two new outputs (the mmap base and len).
56078         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56079         values.
56080         (create_archive): Declare new mmap base and len values for
56081         prepare_address_space, and store the result in ah.
56082         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56083         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56084         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56085         Declare new mmap base and len values for
56086         prepare_address_space, and store the result in new_ah.
56087         (open_archive): Declare new mmap base and len values for
56088         prepare_address_space, and store the result in ah.
56089         (close_archive): If ah->mmap_base is not NULL, use that and
56090         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56091         * sysdeps/generic/libc-mmap.h: New file.
56093 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56095         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56096         (ALIGN_UP): Likewise.
56097         (PTR_ALIGN_DOWN): Likewise.
56098         (PTR_ALIGN_UP): Likewise.
56100 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56102         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56103         entry mapped to PPC_PLATFORM_POWER8.
56104         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56105         POWER8.
56106         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56107         (_dl_string_platform): Add case for exporting platform position for
56108         POWER8.
56109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56110         search path to sysdeps/powerpc/powerpc32/power8 directory.
56111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56112         search path to sysdeps/powerpc/powerpc64/power8 directory.
56113         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56114         power7 directories.
56115         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56116         power7 directories.
56118 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56120         * INSTALL: Regenerate.
56122         * nscd/connections.c (nscd_init): Fix comment.
56124 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56126         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56128         [BZ #15667]
56129         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56130         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56132 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56134         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56135         DL_DST_REQ_STATIC.
56136         (DL_DST_REQ_STATIC): Remove macro.
56138 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56140         [BZ #7006]
56141         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56142         with a shift of 0 bits.
56144 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56146         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56147         $(tststatic-ENV).
56149 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56151         [BZ #15655]
56152         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56154 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56156         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56157         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56158         accepts -fno-tree-loop-distribute-patterns.
56159         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56160         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56161         recursive call.
56162         * string/memset.c (memset): Likewise.
56163         * string/test-memmove.c (simple_memmove): Disable loop transformation
56164         to library calls.
56165         * string/test-memset.c (simple_memset): Likewise.
56166         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56167         * benchtests/bench-memset.c (simple_memset): Likewise.
56168         * configure: Regenerated.
56170 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56172         * math/test-misc.c (main): Ignore fesetround failure when failures
56173         of subsequent rounding tests would be ignored.
56175         [BZ #15654]
56176         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56177         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56178         * math/fegetenv.c (__fegetenv): Return 0.
56179         * math/fegetexcept.c (fegetexcept): Return 0.
56180         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56181         FE_TONEAREST.
56182         * math/feholdexcpt.c (feholdexcept): Return 0.
56183         * math/fesetenv.c (__fesetenv): Return 0.
56184         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56185         argument FE_TONEAREST.
56186         * math/feupdateenv.c (__feupdateenv): Return 0.
56187         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56189 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56191         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56192         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56193         ($(objpfx)rtld-%.os rules): Use them.
56195 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56197         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56198         fields.
56200 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56202         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56203         length of target pattern, then descending length of dependency pattern.
56204         * configure.in (AWK): Require gawk 3.1.2 or newer.
56205         * manual/install.texi (Tools for Compilation): Say that we do.
56206         * configure: Regenerated.
56208         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56209         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56210         * scripts/sysd-rules.awk: ... this new script.
56211         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56212         than a glob-style pattern.
56214 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56216         * math/test-misc.c (main): Do not treat incorrectly rounded
56217         conversions as failure unless ROUNDING_TESTS passes.
56219 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56221         [BZ #15631]
56222         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56223         restore exception state around main square root computation, then
56224         check for inexactness explicitly.
56226         * math/libm-test.inc (fma_test_data): Add another test.
56228 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56230         * manual/threads.texi (Non-POSIX Extensions): New document
56231         node.  Document pthread_getattr_default_np and
56232         pthread_setattr_default_np.
56234         * Versions.def (libpthread): Add GLIBC_2.18.
56235         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56237         Likewise.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56239         Likewise.
56240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56241         Likewise.
56242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56243         Likewise.
56244         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56245         Likewise.
56246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56247         Likewise.
56248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56249         Likewise.
56250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56251         Likewise.
56252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56253         Likewise.
56255 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56258         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56260 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56261             H.J. Lu  <hjl.tools@gmail.com>
56263         [BZ #15627]
56264         * sysdeps/x86_64/rtld-memset.c: Remove file.
56265         * sysdeps/x86_64/rtld-memset.S: New file.
56267 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56269         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56270         (test_in_one_mode): Take arguments for whether the rounding mode
56271         is supported for each floating-point type.
56272         (do_test): Pass new arguments to test_in_one_mode using
56273         ROUNDING_TESTS.
56275 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56277         * posix/tst-waitid.c (do_test): Distinguish different instances of
56278         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56279         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56280         before entering the kernel for waitpid.
56282 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56284         * NEWS: Fix note on clock function precision.  Text by Roland
56285         McGrath.
56287 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56289         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56290         it into place only when and if the sanity check passes.
56292 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56294         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56295         output for whether conversion result is exact.  Take argument
56296         indicating whether type is IBM long double.
56297         (round_for_all): Change need_exact field to ibm_ld.
56298         * stdlib/tst-strtod-round.c (struct exactness): New type.
56299         (struct test): Change bool ld_ok field to struct exactness exact.
56300         (TEST): Update all definitions for change to field.
56301         (tests): Regenerate array contents.
56302         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56303         field value.  Check for IBM long double here.
56304         (do_test): Update calls to test_in_one_mode.
56306 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56308         [BZ #12515]
56309         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56310         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56312 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56314         [BZ #15605]
56315         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56316         generated by the compiler on loop optimizations.
56317         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56318         general definitions.
56320 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56322         * math/bug-nextafter.c: Include <math-tests.h>.
56323         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56324         the relevant type.
56325         * math/bug-nexttoward.c: Include <math-tests.h>.
56326         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56327         the relevant type.
56328         * math/test-misc.c: Include <math-tests.h>.
56329         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56330         the relevant type.
56332 2013-06-12  Andreas Jaeger  <aj@suse.de>
56334         * po/ia.po: Update Interlingua translation from translation
56335         project.
56337 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56339         * include/fenv.h: Include stdbool.h.
56340         (struct rm_ctx): New structure.
56341         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56342         Define macro.
56343         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56344         (SET_RESTORE_ROUNDF): Likewise.
56345         (SET_RESTORE_ROUNDL): Likewise.
56346         (SET_RESTORE_ROUND_NOEX): Likewise.
56347         (SET_RESTORE_ROUND_NOEXF): Likewise.
56348         (SET_RESTORE_ROUND_NOEXL): Likewise.
56349         (SET_RESTORE_ROUND_53BIT): Likewise.
56350         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56351         (libc_feresetround_noexf_ctx): Likewise.
56352         (libc_feresetround_noexl_ctx): Likewise.
56353         (libc_feholdsetround_53bit_ctx): Likewise.
56354         (libc_feresetround_53bit_ctx): Likewise.
56355         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56356         (libc_feholdexcept_setround_sse_ctx): New function.
56357         (libc_fesetenv_sse_ctx): Likewise.
56358         (libc_feupdateenv_sse_ctx): Likewise.
56359         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56360         (libc_feholdexcept_setround_387_ctx): Likewise.
56361         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56362         (libc_feholdsetround_387_prec_ctx): Likewise.
56363         (libc_feholdsetround_387_ctx): Likewise.
56364         (libc_feholdsetround_387_53bit_ctx): Likewise.
56365         (libc_feholdsetround_sse_ctx): Likewise.
56366         (libc_feresetround_sse_ctx): Likewise.
56367         (libc_feresetround_387_ctx): Likewise.
56368         (libc_feupdateenv_387_ctx): Likewise.
56369         (libc_feholdexcept_setroundf_ctx): Define macro.
56370         (libc_fesetenvf_ctx): Likewise.
56371         (libc_feupdateenvf_ctx): Likewise.
56372         (libc_feholdsetroundf_ctx): Likewise.
56373         (libc_feresetroundf_ctx): Likewise.
56374         (libc_feholdexcept_setround_ctx): Likewise.
56375         (libc_fesetenv_ctx): Likewise.
56376         (libc_feupdateenv_ctx): Likewise.
56377         (libc_feholdsetround_ctx): Likewise.
56378         (libc_feresetround_ctx): Likewise.
56379         (libc_feholdexcept_setroundl_ctx): Likewise.
56380         (libc_feupdateenvl_ctx): Likewise.
56381         (libc_feholdsetroundl_ctx): Likewise.
56382         (libc_feresetroundl_ctx): Likewise.
56383         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56384         (libc_feresetround_53bit_ctx): Likewise.
56386 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56388         * locale/iso-639.def: Convert to UTF-8.
56390 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56392         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56393         (EXCEPTION_TESTS_double): Likewise.
56394         (EXCEPTION_TESTS_long_double): Likewise.
56395         (EXCEPTION_TESTS): Likewise.
56396         * math/libm-test.inc (test_exceptions): Only test exceptions if
56397         EXCEPTION_TESTS (FLOAT).
56399 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56401         * benchtests/Makefile (string-bench): Add strcpy_chk and
56402         stpcpy_chk.
56403         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56404         * benchtests/bench-stpcpy_chk.c: New file.
56405         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56406         * benchtests/bench-strcpy_chk.c: New file.
56407         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56408         code.
56409         (do_test): Likewise.
56411 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56414         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56415         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56416         with tabs where appropriate.
56417         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56418         dl-procinfo.h.
56419         [PPC_PLATFORM_PPC440]: Likewise.
56420         [PPC_PLATFORM_PPC464]: Likewise.
56421         [PPC_PLATFORM_PPC476]: Likewise.
56422         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56423         ppc464, and ppc476 platform strings merging from ports/
56424         dl-procinfo.h.
56426 2013-06-11  Andreas Schwab  <schwab@suse.de>
56428         [BZ #14991]
56429         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56430         (from_ucs4_idx): Regenerate.
56431         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56432         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56433         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56434         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56435         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56436         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56437         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56438         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56439         from FROM_LOOP and TO_LOOP specific macros.
56440         (BODY): Handle combining characters.
56441         * iconvdata/BIG5HKSCS.irreversible: Update.
56442         * iconvdata/BIG5HKSCS.precomposed: New file.
56443         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56444         characters.
56445         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56447 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56449         * include/sys/time.h: Fix indentation and add copyright header.
56451         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56452         (do_test): Likewise.
56453         * string/test-memchr.c (do_one_test): Likewise.
56454         (do_test): Likewise.
56455         * string/test-memcmp.c (do_one_test): Likewise.
56456         (do_test): Likewise.
56457         * string/test-memcpy.c (do_one_test): Likewise.
56458         (do_test): Likewise.
56459         * string/test-memmem.c (do_one_test): Likewise.
56460         (do_test): Likewise.
56461         (do_random_tests): Likewise.
56462         * string/test-memmove.c (do_one_test): Likewise.
56463         (do_test): Likewise.
56464         * string/test-memset.c (do_one_test): Likewise.
56465         (do_test): Likewise.
56466         * string/test-rawmemchr.c (do_one_test): Likewise.
56467         (do_test): Likewise.
56468         * string/test-strcasecmp.c (do_one_test): Likewise.
56469         (do_test): Likewise.
56470         * string/test-strcasestr.c (do_one_test): Likewise.
56471         (do_test): Likewise.
56472         * string/test-strcat.c (do_one_test): Likewise.
56473         (do_test): Likewise.
56474         * string/test-strchr.c (do_one_test): Likewise.
56475         (do_test): Likewise.
56476         * string/test-strcmp.c (do_one_test): Likewise.
56477         (do_test): Likewise.
56478         * string/test-strcpy.c (do_one_test): Likewise.
56479         (do_test): Likewise.
56480         * string/test-string.h: Likewise.
56481         (test_init): Likewise.
56482         * string/test-strlen.c (do_one_test): Likewise.
56483         (do_test): Likewise.
56484         * string/test-strncasecmp.c (do_one_test): Likewise.
56485         (do_test): Likewise.
56486         * string/test-strncat.c (do_one_test): Likewise.
56487         (do_test): Likewise.
56488         * string/test-strncmp.c (do_one_test): Likewise.
56489         (do_test_limit): Likewise.
56490         (do_test): Likewise.
56491         * string/test-strncpy.c (do_one_test): Likewise.
56492         (do_test): Likewise.
56493         * string/test-strnlen.c (do_one_test): Likewise.
56494         (do_test): Likewise.
56495         * string/test-strpbrk.c (do_one_test): Likewise.
56496         (do_test): Likewise.
56497         * string/test-strrchr.c (do_one_test): Likewise.
56498         (do_test): Likewise.
56499         * string/test-strspn.c (do_one_test): Likewise.
56500         (do_test): Likewise.
56501         * string/test-strstr.c (do_one_test): Likewise.
56502         (do_test): Likewise.
56504         * benchtests/Makefile (string-bench): Add string benchmarks.
56505         * benchtests/bench-bcopy-ifunc.c: New file.
56506         * benchtests/bench-bcopy.c: New file.
56507         * benchtests/bench-bzero-ifunc.c: New file.
56508         * benchtests/bench-bzero.c: New file.
56509         * benchtests/bench-memccpy-ifunc.c: New file.
56510         * benchtests/bench-memccpy.c: New file.
56511         * benchtests/bench-memchr-ifunc.c: New file.
56512         * benchtests/bench-memchr.c: New file.
56513         * benchtests/bench-memcmp-ifunc.c: New file.
56514         * benchtests/bench-memcmp.c: New file.
56515         * benchtests/bench-memmem-ifunc.c: New file.
56516         * benchtests/bench-memmem.c: New file.
56517         * benchtests/bench-memmove-ifunc.c: New file.
56518         * benchtests/bench-memmove.c: New file.
56519         * benchtests/bench-mempcpy-ifunc.c: New file.
56520         * benchtests/bench-mempcpy.c: New file.
56521         * benchtests/bench-memset-ifunc.c: New file.
56522         * benchtests/bench-memset.c: New file.
56523         * benchtests/bench-rawmemchr-ifunc.c: New file.
56524         * benchtests/bench-rawmemchr.c: New file.
56525         * benchtests/bench-stpcpy-ifunc.c: New file.
56526         * benchtests/bench-stpcpy.c: New file.
56527         * benchtests/bench-stpncpy-ifunc.c: New file.
56528         * benchtests/bench-stpncpy.c: New file.
56529         * benchtests/bench-strcasecmp-ifunc.c: New file.
56530         * benchtests/bench-strcasecmp.c: New file.
56531         * benchtests/bench-strcasestr-ifunc.c: New file.
56532         * benchtests/bench-strcasestr.c: New file.
56533         * benchtests/bench-strcat-ifunc.c: New file.
56534         * benchtests/bench-strcat.c: New file.
56535         * benchtests/bench-strchr-ifunc.c: New file.
56536         * benchtests/bench-strchr.c: New file.
56537         * benchtests/bench-strchrnul-ifunc.c: New file.
56538         * benchtests/bench-strchrnul.c: New file.
56539         * benchtests/bench-strcmp-ifunc.c: New file.
56540         * benchtests/bench-strcmp.c: New file.
56541         * benchtests/bench-strcpy-ifunc.c: New file.
56542         * benchtests/bench-strcpy.c: New file.
56543         * benchtests/bench-strcspn-ifunc.c: New file.
56544         * benchtests/bench-strcspn.c: New file.
56545         * benchtests/bench-strlen-ifunc.c: New file.
56546         * benchtests/bench-strlen.c: New file.
56547         * benchtests/bench-strncasecmp-ifunc.c: New file.
56548         * benchtests/bench-strncasecmp.c: New file.
56549         * benchtests/bench-strncat-ifunc.c: New file.
56550         * benchtests/bench-strncat.c: New file.
56551         * benchtests/bench-strncmp-ifunc.c: New file.
56552         * benchtests/bench-strncmp.c: New file.
56553         * benchtests/bench-strncpy-ifunc.c: New file.
56554         * benchtests/bench-strncpy.c: New file.
56555         * benchtests/bench-strnlen-ifunc.c: New file.
56556         * benchtests/bench-strnlen.c: New file.
56557         * benchtests/bench-strpbrk-ifunc.c: New file.
56558         * benchtests/bench-strpbrk.c: New file.
56559         * benchtests/bench-strrchr-ifunc.c: New file.
56560         * benchtests/bench-strrchr.c: New file.
56561         * benchtests/bench-strspn-ifunc.c: New file.
56562         * benchtests/bench-strspn.c: New file.
56563         * benchtests/bench-strstr-ifunc.c: New file.
56564         * benchtests/bench-strstr.c: New file.
56566         * benchtests/Makefile: Disable parallel execution of targets.
56567         (string-bench): Add memcpy.
56568         (benchset): New variable to store a list of benchmark sets.
56569         (bench-func): Renamed from bench.
56570         (bench-set): New target.
56571         (bench): Depend on bench-func and bench-set.
56572         * benchtests/README: Add section on benchmark sets.
56573         * benchtests/bench-memcpy-ifunc.c: New file.
56574         * benchtests/bench-memcpy.c: New file.
56575         * benchtests/bench-string.h: New file.
56577 2013-06-11  Andreas Schwab  <schwab@suse.de>
56579         [BZ #15577]
56580         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56581         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56582         values in the triple.
56583         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56584         terminator in the group key.
56586 2013-06-11  Andreas Jaeger  <aj@suse.de>
56588         * po/zh_TW.po: Update Chinese (traditional) translation from
56589         translation project.
56591 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56593         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56594         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56595         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56597         (clock_getcpuclockid): Likewise.
56598         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56599         Add weak_alias and libc_hidden_def.
56600         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56601         * rt/clock_gettime.c (clock_gettime): Rename to
56602         __clock_gettime.  Add weak_alias and libc_hidden_def.
56603         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56604         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56605         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56606         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56607         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56608         Likewise.
56609         * rt/clock_settime.c (clock_settime): Rename to
56610         __clock_settime.  Add weak_alias and libc_hidden_def.
56611         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56613 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56615         * mach/err_boot.sub: Remove trailing whitespace.
56616         * mach/err_ipc.sub: Likewise.
56617         * mach/err_mach.sub: Likewise.
56619         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56620         (ROUNDING_TESTS_double): Likewise.
56621         (ROUNDING_TESTS_long_double): Likewise.
56622         (ROUNDING_TESTS): Likewise.
56623         * math/libm-test.inc: Include <math-tests.h>.
56624         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56625         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56626         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56627         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56629 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56631         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56632         of assigning.
56634 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56636         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56637         otherwise empty TRANS lines.
56638         * sysdeps/gnu/errlist.c: Regenerated.
56640         * catgets/gencat.c (error_print): Use (void) in function
56641         definition.
56642         * crypt/crypt_util.c (__init_des): Likewise.
56643         * crypt/speeds.c (Stop): Likewise.
56644         (main): Likewise.
56645         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56646         * inet/ruserpass.c (token): Likewise.
56647         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56648         * intl/localealias.c (extend_alias_table): Likewise.
56649         * intl/plural-exp.c (init_germanic_plural): Likewise.
56650         * libio/fcloseall.c (__fcloseall): Likewise.
56651         * libio/genops.c (_IO_flush_all): Likewise.
56652         (_IO_flush_all_linebuffered): Likewise.
56653         (_IO_cleanup): Likewise.
56654         (_IO_iter_begin): Likewise.
56655         (_IO_iter_end): Likewise.
56656         (_IO_list_lock): Likewise.
56657         (_IO_list_unlock): Likewise.
56658         (_IO_list_resetlock): Likewise.
56659         * libio/getchar.c (getchar): Likewise.
56660         * libio/getchar_u.c (getchar_unlocked): Likewise.
56661         * libio/getwchar.c (getwchar): Likewise.
56662         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56663         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56664         * login/getpt.c (__getpt): Likewise.
56665         * login/tst-utmp.c (main): Likewise.
56666         * malloc/hooks.c (__malloc_check_init): Likewise.
56667         * malloc/malloc.c (__malloc_stats): Likewise.
56668         * malloc/mtrace.c (tr_break): Likewise.
56669         (mtrace): Likewise.
56670         (muntrace): Likewise.
56671         * misc/fstab.c (endfsent): Likewise.
56672         * misc/getclktck.c (__getclktck): Likewise.
56673         * misc/getdtsz.c (__getdtablesize): Likewise.
56674         * misc/gethostid.c (gethostid): Likewise.
56675         * misc/getpagesize.c (__getpagesize): Likewise.
56676         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56677         (__get_nprocs): Likewise.
56678         (__get_phys_pages): Likewise.
56679         (__get_avphys_pages): Likewise.
56680         * misc/getttyent.c (getttyent): Likewise.
56681         (setttyent): Likewise.
56682         (endttyent): Likewise.
56683         * misc/getusershell.c (getusershell): Likewise.
56684         (endusershell): Likewise.
56685         (setusershell): Likewise.
56686         (initshells): Likewise.
56687         * misc/hsearch.c (__hdestroy): Likewise.
56688         * misc/sync.c (sync): Likewise.
56689         * misc/syslog.c (closelog_internal): Likewise.
56690         (closelog): Likewise.
56691         * misc/ttyslot.c (ttyslot): Likewise.
56692         * misc/vhangup.c (vhangup): Likewise.
56693         * posix/fork.c (__fork): Likewise.
56694         * posix/getegid.c (__getegid): Likewise.
56695         * posix/geteuid.c (__geteuid): Likewise.
56696         * posix/getgid.c (__getgid): Likewise.
56697         * posix/getpid.c (__getpid): Likewise.
56698         * posix/getppid.c (__getppid): Likewise.
56699         * posix/getuid.c (__getuid): Likewise.
56700         * posix/pause.c (pause): Likewise.
56701         * posix/setpgrp.c (setpgrp): Likewise.
56702         * posix/setsid.c (__setsid): Likewise.
56703         * posix/test-vfork.c (noop): Likewise.
56704         * resolv/gethnamaddr.c (_endhtent): Likewise.
56705         (_gethtent): Likewise.
56706         (ht_endhostent): Likewise.
56707         (gethostent): Likewise.
56708         (dns_service): Likewise.
56709         * stdlib/drand48.c (drand48): Likewise.
56710         * stdlib/lrand48.c (lrand48): Likewise.
56711         * stdlib/mrand48.c (mrand48): Likewise.
56712         * stdlib/rand.c (rand): Likewise.
56713         * stdlib/random.c (__random): Likewise.
56714         * stdlib/setenv.c (clearenv): Likewise.
56715         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56716         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56717         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56718         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56719         (__get_nprocs): Likewise.
56720         (__get_phys_pages): Likewise.
56721         (__get_avphys_pages): Likewise.
56722         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56723         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56724         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56725         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56726         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56727         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56728         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56729         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56730         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56731         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56732         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56733         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56734         * sysdeps/posix/clock.c (clock): Likewise.
56735         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56736         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56737         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56738         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56739         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56740         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56741         (__get_nprocs_conf): Likewise.
56742         (__get_phys_pages): Likewise.
56743         (__get_avphys_pages): Likewise.
56744         * time/clock.c (clock): Likewise.
56745         * time/tzset.c (__tzname_max): Likewise.
56747 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56749         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56750         (__bswap_32): Do not use "register".
56751         * crypt/crypt.c (_ufc_doit_r): Likewise.
56752         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56753         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56754         * gmon/gmon.c (__monstartup): Likewise.
56755         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56756         * hurd/hurdmalloc.c (more_memory): Likewise.
56757         (malloc): Likewise.
56758         (free): Likewise.
56759         (realloc): Likewise.
56760         (malloc_fork_prepare): Likewise.
56761         (malloc_fork_parent): Likewise.
56762         (malloc_fork_child): Likewise.
56763         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56764         (_svcauth_des): Likewise.
56765         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56766         * inet/inet_net.c (inet_network): Likewise.
56767         * inet/inet_netof.c (inet_netof): Likewise.
56768         * inet/rcmd.c (__validuser2_sa): Likewise.
56769         * io/fts.c (fts_open): Likewise.
56770         (fts_load): Likewise.
56771         (fts_close): Likewise.
56772         (fts_read): Likewise.
56773         (fts_children): Likewise.
56774         (fts_build): Likewise.
56775         (fts_stat): Likewise.
56776         (fts_sort): Likewise.
56777         (fts_alloc): Likewise.
56778         (fts_lfree): Likewise.
56779         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56780         (_IO_file_xsgetn): Likewise.
56781         (_IO_file_xsgetn_mmap): Likewise.
56782         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56783         (_IO_cookie_write): Likewise.
56784         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56785         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56786         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56787         * malloc/obstack.c (_obstack_begin): Likewise.
56788         (_obstack_begin_1): Likewise.
56789         (_obstack_newchunk): Likewise.
56790         (_obstack_allocated_p): Likewise.
56791         (obstack_free): Likewise.
56792         (_obstack_memory_used): Likewise.
56793         * misc/getttyent.c (getttynam): Likewise.
56794         (getttyent): Likewise.
56795         (skip): Likewise.
56796         (value): Likewise.
56797         * misc/getusershell.c (initshells): Likewise.
56798         * misc/syslog.c (__vsyslog_chk): Likewise.
56799         * misc/ttyslot.c (ttyslot): Likewise.
56800         * nis/nis_hash.c (__nis_hash): Likewise.
56801         * posix/fnmatch_loop.c (FCT): Likewise.
56802         * posix/getconf.c (print_all): Likewise.
56803         (main): Likewise.
56804         * posix/getopt.c (exchange): Likewise.
56805         * posix/glob.c (globfree): Likewise.
56806         (prefix_array): Likewise.
56807         (__glob_pattern_type): Likewise.
56808         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56809         (NS_GET32): Likewise.
56810         (NS_PUT16): Likewise.
56811         (NS_PUT32): Likewise.
56812         * resolv/gethnamaddr.c (getanswer): Likewise.
56813         (gethostbyname2): Likewise.
56814         (gethostbyaddr): Likewise.
56815         (_gethtent): Likewise.
56816         (_gethtbyname2): Likewise.
56817         (_gethtbyaddr): Likewise.
56818         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56819         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56820         * resolv/res_init.c (__res_vinit): Likewise.
56821         (net_mask): Likewise.
56822         * resolv/res_mkquery.c (outchar): Likewise.
56823         (PRINT): Likewise.
56824         * stdio-common/printf_fp.c (outchar): Likewise.
56825         (PRINT): Likewise.
56826         * stdio-common/printf_fphex.c (outchar): Likewise.
56827         (PRINT): Likewise.
56828         * stdio-common/printf_size.c (outchar): Likewise.
56829         (PRINT): Likewise.
56830         * stdio-common/test_rdwr.c (main): Likewise.
56831         * stdio-common/tfformat.c (matches): Likewise.
56832         * stdio-common/vfprintf.c (outchar): Likewise.
56833         (printf_unknown): Likewise.
56834         (buffered_vfprintf): Likewise.
56835         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56836         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56837         (ReadFile): Likewise.
56838         * stdlib/qsort.c (SWAP): Likewise.
56839         (_quicksort): Likewise.
56840         * stdlib/setenv.c (__add_to_environ): Likewise.
56841         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56842         * stdlib/strtol_l.c (__strtol_l): Likewise.
56843         * stdlib/tst-strtod.c (main): Likewise.
56844         * stdlib/tst-strtol.c (main): Likewise.
56845         * stdlib/tst-strtoll.c (main): Likewise.
56846         * string/bits/string2.h (__strcmp_cc): Likewise.
56847         (__strcmp_cg): Likewise.
56848         (__strcspn_c1): Likewise.
56849         (__strcspn_c2): Likewise.
56850         (__strcspn_c3): Likewise.
56851         (__strspn_c1): Likewise.
56852         (__strspn_c2): Likewise.
56853         (__strspn_c3): Likewise.
56854         (__strsep_1c): Likewise.
56855         (__strsep_2c): Likewise.
56856         (__strsep_3c): Likewise.
56857         * string/memccpy.c (__memccpy): Likewise.
56858         * string/stpcpy.c (__stpcpy): Likewise.
56859         * string/strcmp.c (strcmp): Likewise.
56860         * string/strrchr.c (strrchr): Likewise.
56861         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56862         Likewise.
56863         * sysdeps/mach/hurd/getcwd.c
56864         (_hurd_canonicalize_directory_name_internal): Likewise.
56865         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56866         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56867         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56868         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56869         Likewise, in both definitions.
56870         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56871         definitions.
56872         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56873         64] (__bswap_64): Likewise.
56874         * time/test_time.c (main): Likewise.
56875         * time/tzfile.c (__tzfile_read): Likewise.
56876         (__tzfile_compute): Likewise.
56877         * time/tzset.c (__tzset_parse_tz): Likewise.
56878         (tzset_internal): Likewise.
56879         (compute_change): Likewise.
56880         * wcsmbs/wcscat.c (__wcscat): Likewise.
56881         * wcsmbs/wcschr.c (wcschr): Likewise.
56882         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56883         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56884         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56885         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56886         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56887         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56888         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56889         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56890         * wcsmbs/wmemset.c (wmemset): Likewise.
56892 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56894         * scripts/config.guess: Update to version 2013-05-16.
56895         * scripts/config.sub: Update to version 2013-04-24.
56896         * scripts/install-sh: Update to version 2011-11-20.07.
56897         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56898         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56900 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56902         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56903         * elf/sln.c: Likewise.
56904         * hurd/hurd/ioctl.h: Likewise.
56905         * hurd/hurdmalloc.c: Likewise.
56906         * hurd/xattr.c: Likewise.
56907         * include/shlib-compat.h: Likewise.
56908         * inet/ruserpass.c: Likewise.
56909         * libio/iofgets_u.c: Likewise.
56910         * libio/iofgetws_u.c: Likewise.
56911         * locale/programs/ld-identification.c: Likewise.
56912         * locale/programs/ld-time.c: Likewise.
56913         * mach/msg-destroy.c: Likewise.
56914         * nss/nss_files/files-netgrp.c: Likewise.
56915         * resolv/res_data.c: Likewise.
56916         * soft-fp/op-1.h: Likewise.
56917         * soft-fp/op-2.h: Likewise.
56918         * soft-fp/op-4.h: Likewise.
56919         * soft-fp/op-common.h: Likewise.
56920         * stdio-common/printf_fphex.c: Likewise.
56921         * stdlib/strtod_l.c: Likewise.
56922         * sunrpc/rpc/clnt.h: Likewise.
56923         * sysdeps/generic/framestate.c: Likewise.
56924         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56925         * sysdeps/i386/bsd-setjmp.S: Likewise.
56926         * sysdeps/i386/__longjmp.S: Likewise.
56927         * sysdeps/i386/setjmp.S: Likewise.
56928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56929         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56930         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56931         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56937         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56938         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56940         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56942         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56944         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56945         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56946         * sysdeps/ieee754/support.c: Likewise.
56947         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56948         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56949         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56950         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56951         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56952         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56953         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56954         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56955         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56956         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56957         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56958         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56959         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56960         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56961         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56962         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56963         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56966 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56968         * posix/transbug.c: Remove executable mode.
56970 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56972         * crypt/speeds.c: Remove trailing whitespace.
56973         * dlfcn/default.c: Likewise.
56974         * elf/ifuncdep2.c: Likewise.
56975         * elf/ifuncmain1.c: Likewise.
56976         * elf/ifuncmain1vis.c: Likewise.
56977         * elf/testobj.h: Likewise.
56978         * elf/tst-stackguard1.c: Likewise.
56979         * gmon/sys/gmon.h: Likewise.
56980         * hurd/hurdmsg.c: Likewise.
56981         * hurd/new-fd.c: Likewise.
56982         * hurd/ports-get.c: Likewise.
56983         * iconvdata/ibm1008_420.c: Likewise.
56984         * inet/tst-getni1.c: Likewise.
56985         * inet/tst-getni2.c: Likewise.
56986         * libio/ioungetc.c: Likewise.
56987         * libio/wfiledoalloc.c: Likewise.
56988         * manual/libm-err-tab.pl: Likewise.
56989         * math/w_dremf.c: Likewise.
56990         * misc/ftruncate.c: Likewise.
56991         * posix/bug-glob2.c: Likewise.
56992         * posix/tst-pcre.c: Likewise.
56993         * posix/wait4.c: Likewise.
56994         * resolv/README: Likewise.
56995         * resolv/res_debug.h: Likewise.
56996         * resolv/tst-inet_ntop.c: Likewise.
56997         * setjmp/bug269-setjmp.c: Likewise.
56998         * soft-fp/extended.h: Likewise.
56999         * soft-fp/op-1.h: Likewise.
57000         * soft-fp/op-2.h: Likewise.
57001         * soft-fp/op-4.h: Likewise.
57002         * soft-fp/op-8.h: Likewise.
57003         * soft-fp/testit.c: Likewise.
57004         * stdio-common/bug16.c: Likewise.
57005         * stdlib/random.c: Likewise.
57006         * sunrpc/rpcsvc/rquota.x: Likewise.
57007         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57008         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57009         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57010         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57011         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57012         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57013         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57014         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57015         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57016         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57017         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57020         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57023         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57025         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57026         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57027         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57034         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57035         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57036         * sysdeps/ieee754/s_lib_version.c: Likewise.
57037         * sysdeps/mach/hurd/check_fds.c: Likewise.
57038         * sysdeps/mach/hurd/getsockname.c: Likewise.
57039         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57040         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57041         * sysdeps/powerpc/bits/link.h: Likewise.
57042         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57043         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57044         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57045         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57046         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57047         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57048         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57049         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57050         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57051         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57052         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57053         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57054         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57055         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57056         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57057         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57058         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57060         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57061         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57062         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57063         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57064         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57065         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57066         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57067         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57068         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57069         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57070         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57071         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57072         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57073         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57074         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57075         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57076         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57077         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57078         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57079         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57080         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57081         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57082         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57083         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57084         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57085         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57086         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57087         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57088         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57089         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57090         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57091         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57092         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57094         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57095         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57096         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57097         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57098         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57099         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57100         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57101         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57102         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57103         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57104         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57105         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57106         * sysdeps/powerpc/sysdep.h: Likewise.
57107         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57108         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57109         * sysdeps/sh/dl-trampoline.S: Likewise.
57110         * sysdeps/sh/memset.S: Likewise.
57111         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57112         * sysdeps/sh/strlen.S: Likewise.
57113         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57114         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57115         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57116         * sysdeps/sparc/sparc32/rem.S: Likewise.
57117         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57118         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57119         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57120         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57121         * sysdeps/sparc/sparc32/urem.S: Likewise.
57122         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57123         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57124         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57125         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57126         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57127         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57128         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57129         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57130         * sysdeps/unix/bsd/times.c: Likewise.
57131         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57132         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57136         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57137         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57138         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57140         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57141         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57142         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57143         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57144         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57145         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57146         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57147         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57148         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57149         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57150         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57151         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57152         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57153         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57154         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57155         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57156         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57157         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57158         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57159         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57160         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57161         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57162         * sysdeps/x86_64/strcspn.S: Likewise.
57164 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57166         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57167         generated file.  Regenerate properly from gen-translit.pl.
57168         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57169         locale/C-translit.h.
57171 2013-06-05  Andreas Schwab  <schwab@suse.de>
57173         [BZ #15100]
57174         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57175         week as 6 instead of -1.
57176         * time/tst-strptime.c (day_tests): Add test case.
57178 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57180         * sysdeps/generic/math_private.h
57181         (libc_feholdexcept_setround_53bit): Replace with
57182         libc_feholdsetround_53bit.
57183         (libc_feupdateenv_53bit): Replace with
57184         libc_feresetround_53bit.
57185         (SET_RESTORE_ROUND_53BIT): Adjust.
57187 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57189         * string/test-strchrnul.c: Add copyright header.
57191         * posix/tst-getaddrinfo4.c: Increase test timeout.
57193 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57195         [BZ #15536]
57196         * math/libm-test.inc (MAX_EXP): Remove
57197         (MIN_EXP): Define.
57198         (ulp): Use MIN_EXP - MANT_DIG.
57199         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57201 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57203         * po/be.po: Revert last change.
57204         * po/zh_CN.po: Likewise.
57205         * po/header.pot: Likewise.
57207 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57209         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57210         link-libc-deps to empty as target-specific variable.
57211         * Makerules (link-libc-args): New variable.
57212         (libc-for-link): Likewise.
57213         (link-libc-deps): Likewise.
57214         (lib%.so): Depend on $(link-libc-deps).  Link with
57215         $(link-libc-args).
57216         (build-module): Link with $(link-libc-args).
57217         (build-module-asneeded): Likewise.
57218         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57219         list of objects.
57220         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57221         target-specific variable.
57222         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57223         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57224         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57225         libc.
57226         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57227         libc and ld.so.
57228         ($(objpfx)libpcprofile.so): Likewise.
57229         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57230         libc_nonshared.a.
57231         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57232         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57233         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57234         $(link-libc-deps).
57235         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57236         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57237         * login/Makefile ($(objpfx)libutil.so): Likewise.
57238         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57239         * math/Makefile ($(objpfx)libm.so): Likewise.
57240         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57241         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57242         variable instead of depending directly on libc.
57243         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57244         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57245         $(link-libc-deps).
57246         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57247         libc.
57248         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57249         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57250         ($(objpfx)libanl.so): Likewise.
57251         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57252         ld.so.
57253         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57254         $(link-libc-deps).
57255         * sysdeps/i386/fpu/Makefile: Remove file.
57256         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57257         ($(objpfx)libm.so): Remove dependency on ld.so.
57259 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57261         [BZ # 15553]
57262         * nis/yp_xdr.c (XDRMAXNAME): Define.
57263         (XDRMAXRECORD): Define.
57264         (xdr_domainname): Use XDRMAXNAME.
57265         (xdr_mapname): Likewise.
57266         (xdr_peername): Likewise.
57267         (xdr_keydat): Use XDRMAXRECORD.
57268         (xdr_valdat): Likewise.
57270 2013-05-30  Jeff Law  <law@redhat.com>
57272         [BZ #14256]
57273         * manual/errno.texi (ESTALE): Update to account for more than
57274         just NFS file systems.
57275         * sysdeps/gnu/errlist.c: Regenerated.
57277 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57279         [BZ #15465]
57280         * elf/Makefile (tests): Add tst-null-argv.
57281         (modules-names):  Add tst-null-argv-lib.
57282         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57283         (tst-null-argv-ENV): Set environment for tst-null-argv.
57284         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57285         (RTLD_PROGNAME): New macro.
57286         * elf/tst-null-argv.c: New test case.
57287         * elf/tst-null-argv-lib.c: Library for test case.
57288         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57289         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57290         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57291         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57292         * elf/dl-init.c (call_init): Likewise.
57293         (_dl_init): Likewise.
57294         * elf/dl-load.c (print_search_path): Likewise.
57295         (_dl_map_object): Likewise.
57296         * elf/dl-lookup.c (do_lookup_x): Likewise.
57297         (add_dependency): Likewise.
57298         (_dl_lookup_symbol_x): Likewise.
57299         (_dl_debug_bindings): Likewise.
57300         * elf/dl-open.c (_dl_show_scope): Likewise.
57301         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57302         * elf/dl-version.c (match_symbol): Likewise.
57303         (_dl_check_map_versions): Likewise.
57304         * elf/rtld.c (dl_main): Likewise.
57305         (print_unresolved): Use RTLD_PROGNAME.
57306         (print_missing_version): Likewise.
57307         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57308         (elf_machine_rela): Likewise.
57309         * sysdeps/powerpc/powerpc32/dl-machine.c
57310         (__process_machine_rela): Likewise.
57311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57312         Likewise.
57313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57314         Likewise.
57315         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57316         Likewise.
57317         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57318         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57319         Likewise.
57320         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57321         Likewise.
57322         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57324 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57326         * po/be.po: Add descriptive title.
57327         * po/zh_CN.po: Likewise.
57328         * po/header.pot: Likewise.
57330 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57332         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57333         error message.
57334         (enlarge_archive): Likewise.
57336 2013-05-28  Ben North  <ben@redfrontdoor.org>
57338         * manual/arith.texi (frexp): It is the magnitude of the return
57339         value which lies in [0.5, 1), not the return value itself.
57341 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57345 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57347         * stdio-common/bug26.c (main): Correct fscanf template.
57349         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57350         declare _dl_skip_args.
57352         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57353         Don't declare.
57355         * manual/platform.texi: Add missing @end deftypefun.
57357 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57359         [BZ #15529]
57360         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57361         bit of mantissa of 2^16382.
57362         * math/libm-test.inc (hypot_test_data): Add more tests.
57364         * math/libm-test.inc: Add drem and pow10 to list of tested
57365         functions.
57366         (pow10_test): New function.
57367         (drem_test): Likewise.
57368         (drem_test_tonearest): Likewise.
57369         (drem_test_towardzero): Likewise.
57370         (drem_test_downward): Likewise.
57371         (drem_test_upward): Likewise.
57372         (main): Call the new functions.
57374         * math/libm-test.inc (finite_test_data): Remove.
57375         (finite_test): Run tests from isfinite_test_data.
57376         (gamma_test_data): Remove.
57377         (gamma_test): Run tests from lgamma_test_data.
57378         * sysdeps/i386/fpu/libm-test-ulps: Update.
57379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57381 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57383         * manual/platform.texi: Add PowerPC PPR function set documentation.
57384         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57385         implementation.
57387 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57389         * math/libm-test.inc (MAX_EXP): Define.
57390         (ULPDIFF): Define.
57391         (ulp): New function.
57392         (check_float_internal): Use ULPDIFF.
57393         (cpow_test): Disable failing test.
57394         (check_ulp): Test ulp() implementation.
57395         (main): Call check_ulp before starting tests.
57397 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57399         * math/gen-libm-test.pl (generate_testfile): Do not handle
57400         START_DATA and END_DATA.
57401         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57402         END_DATA.
57403         (acos_tonearest_test_data): Likewise.
57404         (acos_towardzero_test_data): Likewise.
57405         (acos_downward_test_data): Likewise.
57406         (acos_upward_test_data): Likewise.
57407         (acosh_test_data): Likewise.
57408         (asin_test_data): Likewise.
57409         (asin_tonearest_test_data): Likewise.
57410         (asin_towardzero_test_data): Likewise.
57411         (asin_downward_test_data): Likewise.
57412         (asin_upward_test_data): Likewise.
57413         (asinh_test_data): Likewise.
57414         (atan_test_data): Likewise.
57415         (atanh_test_data): Likewise.
57416         (atan2_test_data): Likewise.
57417         (cabs_test_data): Likewise.
57418         (cacos_test_data): Likewise.
57419         (cacosh_test_data): Likewise.
57420         (carg_test_data): Likewise.
57421         (casin_test_data): Likewise.
57422         (casinh_test_data): Likewise.
57423         (catan_test_data): Likewise.
57424         (catanh_test_data): Likewise.
57425         (cbrt_test_data): Likewise.
57426         (ccos_test_data): Likewise.
57427         (ccosh_test_data): Likewise.
57428         (ceil_test_data): Likewise.
57429         (cexp_test_data): Likewise.
57430         (cimag_test_data): Likewise.
57431         (clog_test_data): Likewise.
57432         (clog10_test_data): Likewise.
57433         (conj_test_data): Likewise.
57434         (copysign_test_data): Likewise.
57435         (cos_test_data): Likewise.
57436         (cos_tonearest_test_data): Likewise.
57437         (cos_towardzero_test_data): Likewise.
57438         (cos_downward_test_data): Likewise.
57439         (cos_upward_test_data): Likewise.
57440         (cosh_test_data): Likewise.
57441         (cosh_tonearest_test_data): Likewise.
57442         (cosh_towardzero_test_data): Likewise.
57443         (cosh_downward_test_data): Likewise.
57444         (cosh_upward_test_data): Likewise.
57445         (cpow_test_data): Likewise.
57446         (cproj_test_data): Likewise.
57447         (creal_test_data): Likewise.
57448         (csin_test_data): Likewise.
57449         (csinh_test_data): Likewise.
57450         (csqrt_test_data): Likewise.
57451         (ctan_test_data): Likewise.
57452         (ctan_tonearest_test_data): Likewise.
57453         (ctan_towardzero_test_data): Likewise.
57454         (ctan_downward_test_data): Likewise.
57455         (ctan_upward_test_data): Likewise.
57456         (ctanh_test_data): Likewise.
57457         (ctanh_tonearest_test_data): Likewise.
57458         (ctanh_towardzero_test_data): Likewise.
57459         (ctanh_downward_test_data): Likewise.
57460         (ctanh_upward_test_data): Likewise.
57461         (erf_test_data): Likewise.
57462         (erfc_test_data): Likewise.
57463         (exp_test_data): Likewise.
57464         (exp_tonearest_test_data): Likewise.
57465         (exp_towardzero_test_data): Likewise.
57466         (exp_downward_test_data): Likewise.
57467         (exp_upward_test_data): Likewise.
57468         (exp10_test_data): Likewise.
57469         (exp2_test_data): Likewise.
57470         (expm1_test_data): Likewise.
57471         (fabs_test_data): Likewise.
57472         (fdim_test_data): Likewise.
57473         (finite_test_data): Likewise.
57474         (floor_test_data): Likewise.
57475         (fma_test_data): Likewise.
57476         (fma_towardzero_test_data): Likewise.
57477         (fma_downward_test_data): Likewise.
57478         (fma_upward_test_data): Likewise.
57479         (fmax_test_data): Likewise.
57480         (fmin_test_data): Likewise.
57481         (fmod_test_data): Likewise.
57482         (fpclassify_test_data): Likewise.
57483         (frexp_test_data): Likewise.
57484         (gamma_test_data): Likewise.
57485         (hypot_test_data): Likewise.
57486         (ilogb_test_data): Likewise.
57487         (isfinite_test_data): Likewise.
57488         (isgreater_test_data): Likewise.
57489         (isgreaterequal_test_data): Likewise.
57490         (isinf_test_data): Likewise.
57491         (isless_test_data): Likewise.
57492         (islessequal_test_data): Likewise.
57493         (islessgreater_test_data): Likewise.
57494         (isnan_test_data): Likewise.
57495         (isnormal_test_data): Likewise.
57496         (issignaling_test_data): Likewise.
57497         (isunordered_test_data): Likewise.
57498         (j0_test_data): Likewise.
57499         (j1_test_data): Likewise.
57500         (jn_test_data): Likewise.
57501         (ldexp_test_data): Likewise.
57502         (lgamma_test_data): Likewise.
57503         (lrint_test_data): Likewise.
57504         (lrint_tonearest_test_data): Likewise.
57505         (lrint_towardzero_test_data): Likewise.
57506         (lrint_downward_test_data): Likewise.
57507         (lrint_upward_test_data): Likewise.
57508         (llrint_test_data): Likewise.
57509         (llrint_tonearest_test_data): Likewise.
57510         (llrint_towardzero_test_data): Likewise.
57511         (llrint_downward_test_data): Likewise.
57512         (llrint_upward_test_data): Likewise.
57513         (log_test_data): Likewise.
57514         (log10_test_data): Likewise.
57515         (log1p_test_data): Likewise.
57516         (log2_test_data): Likewise.
57517         (logb_test_data): Likewise.
57518         (logb_downward_test_data): Likewise.
57519         (lround_test_data): Likewise.
57520         (llround_test_data): Likewise.
57521         (modf_test_data): Likewise.
57522         (nearbyint_test_data): Likewise.
57523         (nextafter_test_data): Likewise.
57524         (nexttoward_test_data): Likewise.
57525         (pow_test_data): Likewise.
57526         (pow_tonearest_test_data): Likewise.
57527         (pow_towardzero_test_data): Likewise.
57528         (pow_downward_test_data): Likewise.
57529         (pow_upward_test_data): Likewise.
57530         (remainder_test_data): Likewise.
57531         (remainder_tonearest_test_data): Likewise.
57532         (remainder_towardzero_test_data): Likewise.
57533         (remainder_downward_test_data): Likewise.
57534         (remainder_upward_test_data): Likewise.
57535         (remquo_test_data): Likewise.
57536         (rint_test_data): Likewise.
57537         (rint_tonearest_test_data): Likewise.
57538         (rint_towardzero_test_data): Likewise.
57539         (rint_downward_test_data): Likewise.
57540         (rint_upward_test_data): Likewise.
57541         (round_test_data): Likewise.
57542         (scalb_test_data): Likewise.
57543         (scalbn_test_data): Likewise.
57544         (scalbln_test_data): Likewise.
57545         (signbit_test_data): Likewise.
57546         (sin_test_data): Likewise.
57547         (sin_tonearest_test_data): Likewise.
57548         (sin_towardzero_test_data): Likewise.
57549         (sin_downward_test_data): Likewise.
57550         (sin_upward_test_data): Likewise.
57551         (sincos_test_data): Likewise.
57552         (sinh_test_data): Likewise.
57553         (sinh_tonearest_test_data): Likewise.
57554         (sinh_towardzero_test_data): Likewise.
57555         (sinh_downward_test_data): Likewise.
57556         (sinh_upward_test_data): Likewise.
57557         (sqrt_test_data): Likewise.
57558         (tan_test_data): Likewise.
57559         (tan_tonearest_test_data): Likewise.
57560         (tan_towardzero_test_data): Likewise.
57561         (tan_downward_test_data): Likewise.
57562         (tan_upward_test_data): Likewise.
57563         (tanh_test_data): Likewise.
57564         (tgamma_test_data): Likewise.
57565         (trunc_test_data): Likewise.
57566         (y0_test_data): Likewise.
57567         (y1_test_data): Likewise.
57568         (yn_test_data): Likewise.
57569         (significand_test_data): Likewise.
57571         * math/gen-libm-test.pl (@functions): Remove variable.
57572         (generate_testfile): Don't handle START and END lines.
57573         * math/libm-test.inc (START): New macro.
57574         (END): Likewise.
57575         (END_COMPLEX): Likewise.
57576         (acos_test): Use END macro without arguments.
57577         (acos_test_tonearest): Likewise.
57578         (acos_test_towardzero): Likewise.
57579         (acos_test_downward): Likewise.
57580         (acos_test_upward): Likewise.
57581         (acosh_test): Likewise.
57582         (asin_test): Likewise.
57583         (asin_test_tonearest): Likewise.
57584         (asin_test_towardzero): Likewise.
57585         (asin_test_downward): Likewise.
57586         (asin_test_upward): Likewise.
57587         (asinh_test): Likewise.
57588         (atan_test): Likewise.
57589         (atanh_test): Likewise.
57590         (atan2_test): Likewise.
57591         (cabs_test): Likewise.
57592         (cacos_test): Use END_COMPLEX macro without arguments.
57593         (cacosh_test): Likewise.
57594         (carg_test): Use END macro without arguments.
57595         (casin_test): Use END_COMPLEX macro without arguments.
57596         (casinh_test): Likewise.
57597         (catan_test): Likewise.
57598         (catanh_test): Likewise.
57599         (cbrt_test): Use END macro without arguments.
57600         (ccos_test): Use END_COMPLEX macro without arguments.
57601         (ccosh_test): Likewise.
57602         (ceil_test): Use END macro without arguments.
57603         (cexp_test): Use END_COMPLEX macro without arguments.
57604         (cimag_test): Use END macro without arguments.
57605         (clog_test): Use END_COMPLEX macro without arguments.
57606         (clog10_test): Likewise.
57607         (conj_test): Likewise.
57608         (copysign_test): Use END macro without arguments.
57609         (cos_test): Likewise.
57610         (cos_test_tonearest): Likewise.
57611         (cos_test_towardzero): Likewise.
57612         (cos_test_downward): Likewise.
57613         (cos_test_upward): Likewise.
57614         (cosh_test): Likewise.
57615         (cosh_test_tonearest): Likewise.
57616         (cosh_test_towardzero): Likewise.
57617         (cosh_test_downward): Likewise.
57618         (cosh_test_upward): Likewise.
57619         (cpow_test): Use END_COMPLEX macro without arguments.
57620         (cproj_test): Likewise.
57621         (creal_test): Use END macro without arguments.
57622         (csin_test): Use END_COMPLEX macro without arguments.
57623         (csinh_test): Likewise.
57624         (csqrt_test): Likewise.
57625         (ctan_test): Likewise.
57626         (ctan_test_tonearest): Likewise.
57627         (ctan_test_towardzero): Likewise.
57628         (ctan_test_downward): Likewise.
57629         (ctan_test_upward): Likewise.
57630         (ctanh_test): Likewise.
57631         (ctanh_test_tonearest): Likewise.
57632         (ctanh_test_towardzero): Likewise.
57633         (ctanh_test_downward): Likewise.
57634         (ctanh_test_upward): Likewise.
57635         (erf_test): Use END macro without arguments.
57636         (erfc_test): Likewise.
57637         (exp_test): Likewise.
57638         (exp_test_tonearest): Likewise.
57639         (exp_test_towardzero): Likewise.
57640         (exp_test_downward): Likewise.
57641         (exp_test_upward): Likewise.
57642         (exp10_test): Likewise.
57643         (exp2_test): Likewise.
57644         (expm1_test): Likewise.
57645         (fabs_test): Likewise.
57646         (fdim_test): Likewise.
57647         (finite_test): Likewise.
57648         (floor_test): Likewise.
57649         (fma_test): Likewise.
57650         (fma_test_towardzero): Likewise.
57651         (fma_test_downward): Likewise.
57652         (fma_test_upward): Likewise.
57653         (fmax_test): Likewise.
57654         (fmin_test): Likewise.
57655         (fmod_test): Likewise.
57656         (fpclassify_test): Likewise.
57657         (frexp_test): Likewise.
57658         (gamma_test): Likewise.
57659         (hypot_test): Likewise.
57660         (ilogb_test): Likewise.
57661         (isfinite_test): Likewise.
57662         (isgreater_test): Likewise.
57663         (isgreaterequal_test): Likewise.
57664         (isinf_test): Likewise.
57665         (isless_test): Likewise.
57666         (islessequal_test): Likewise.
57667         (islessgreater_test): Likewise.
57668         (isnan_test): Likewise.
57669         (isnormal_test): Likewise.
57670         (issignaling_test): Likewise.
57671         (isunordered_test): Likewise.
57672         (j0_test): Likewise.
57673         (j1_test): Likewise.
57674         (jn_test): Likewise.
57675         (ldexp_test): Likewise.
57676         (lgamma_test): Likewise.
57677         (lrint_test): Likewise.
57678         (lrint_test_tonearest): Likewise.
57679         (lrint_test_towardzero): Likewise.
57680         (lrint_test_downward): Likewise.
57681         (lrint_test_upward): Likewise.
57682         (llrint_test): Likewise.
57683         (llrint_test_tonearest): Likewise.
57684         (llrint_test_towardzero): Likewise.
57685         (llrint_test_downward): Likewise.
57686         (llrint_test_upward): Likewise.
57687         (log_test): Likewise.
57688         (log10_test): Likewise.
57689         (log1p_test): Likewise.
57690         (log2_test): Likewise.
57691         (logb_test): Likewise.
57692         (logb_test_downward): Likewise.
57693         (lround_test): Likewise.
57694         (llround_test): Likewise.
57695         (modf_test): Likewise.
57696         (nearbyint_test): Likewise.
57697         (nextafter_test): Likewise.
57698         (nexttoward_test): Likewise.
57699         (pow_test): Likewise.
57700         (pow_test_tonearest): Likewise.
57701         (pow_test_towardzero): Likewise.
57702         (pow_test_downward): Likewise.
57703         (pow_test_upward): Likewise.
57704         (remainder_test): Likewise.
57705         (remainder_test_tonearest): Likewise.
57706         (remainder_test_towardzero): Likewise.
57707         (remainder_test_downward): Likewise.
57708         (remainder_test_upward): Likewise.
57709         (remquo_test): Likewise.
57710         (rint_test): Likewise.
57711         (rint_test_tonearest): Likewise.
57712         (rint_test_towardzero): Likewise.
57713         (rint_test_downward): Likewise.
57714         (rint_test_upward): Likewise.
57715         (round_test): Likewise.
57716         (scalb_test): Likewise.
57717         (scalbn_test): Likewise.
57718         (scalbln_test): Likewise.
57719         (signbit_test): Likewise.
57720         (sin_test): Likewise.
57721         (sin_test_tonearest): Likewise.
57722         (sin_test_towardzero): Likewise.
57723         (sin_test_downward): Likewise.
57724         (sin_test_upward): Likewise.
57725         (sincos_test): Likewise.
57726         (sinh_test): Likewise.
57727         (sinh_test_tonearest): Likewise.
57728         (sinh_test_towardzero): Likewise.
57729         (sinh_test_downward): Likewise.
57730         (sinh_test_upward): Likewise.
57731         (sqrt_test): Likewise.
57732         (tan_test): Likewise.
57733         (tan_test_tonearest): Likewise.
57734         (tan_test_towardzero): Likewise.
57735         (tan_test_downward): Likewise.
57736         (tan_test_upward): Likewise.
57737         (tanh_test): Likewise.
57738         (tgamma_test): Likewise.
57739         (trunc_test): Likewise.
57740         (y0_test): Likewise.
57741         (y1_test): Likewise.
57742         (yn_test): Likewise.
57743         (significand_test): Likewise.
57745 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57747         [BZ #15381]
57748         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57750 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57752         [BZ #14894]
57753         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57754         __ppc_mdoio and __ppc_mdoom.
57755         * manual/platform.texi: Document new functions __ppc_yield,
57756         __ppc_mdoio and __ppc_mdoom.
57758 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57760         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57761         (main): Mention "tls" pseudo-hwcap is legacy.
57762         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57764 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57766         * math/gen-libm-test.pl (parse_args): Output only string of
57767         arguments as text for test name, not full call or descriptions of
57768         tests for extra outputs.
57769         (generate_testfile): Do not pass function name to parse_args.
57770         Generate this_func variable from START.
57771         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57772         field to arg_str.
57773         (struct test_ff_f_data): Likewise.
57774         (test_ff_f_data_nexttoward): Likewise.
57775         (struct test_fi_f_data): Likewise.
57776         (struct test_fl_f_data): Likewise.
57777         (struct test_if_f_data): Likewise.
57778         (struct test_fff_f_data): Likewise.
57779         (struct test_c_f_data): Likewise.
57780         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57781         (struct test_fF_f1_data): Likewise.
57782         (struct test_ffI_f1_data): Likewise.
57783         (struct test_c_c_data): Rename test_name field to arg_str.
57784         (struct test_cc_c_data): Likewise.
57785         (struct test_f_i_data): Likewise.
57786         (struct test_ff_i_data): Likewise.
57787         (struct test_f_l_data): Likewise.
57788         (struct test_f_L_data): Likewise.
57789         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57790         and extra2_name.
57791         (COMMON_TEST_SETUP): New macro.
57792         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57793         (COMMON_TEST_CLEANUP): Likewise.
57794         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57795         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57796         macros.
57797         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57798         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57799         macros.
57800         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57801         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57802         cleanup macros.
57803         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57804         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57805         macros.
57806         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57807         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57808         macros.
57809         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57810         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57811         cleanup macros.
57812         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57813         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57814         cleanup macros.
57815         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57816         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57817         cleanup macros.
57818         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57819         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57820         macros.
57821         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57822         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57823         macros.
57824         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57825         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57826         macros.
57827         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57828         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57829         cleanup macros.
57830         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57831         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57832         cleanup macros.
57833         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57834         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57835         macros.
57836         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57837         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57838         cleanup macros.
57839         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57840         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57841         macros.
57842         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57843         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57844         macros.
57845         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57846         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57847         cleanup macros.
57848         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57850 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57852         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57853         to _sifields.sigfault.
57854         (si_addr_lsb): Define new macro.
57855         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57856         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57857         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57859 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57861         [BZ #15441]
57862         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57863         returns -1.
57864         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57865         null return -1.
57866         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57867         loading the domain.
57869 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57871         * math/gen-libm-test.pl (parse_args): Do not include expected
57872         result in test name.
57873         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57874         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57875         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57876         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57877         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57880 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57882         * benchtests/Makefile: Sort function entries.
57884         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57885         tanh, asinh, acosh, atanh.
57886         * benchtests/acos-inputs: New file.
57887         * benchtests/acosh-inputs: New file.
57888         * benchtests/asin-inputs: New file.
57889         * benchtests/asinh-inputs: New file.
57890         * benchtests/atanh-inputs: New file.
57891         * benchtests/cosh-inputs: New file.
57892         * benchtests/log-inputs: New file.
57893         * benchtests/sinh-inputs: New file.
57894         * benchtests/tanh-inputs: New file.
57896 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57898         [BZ #15339]
57899         * posix/tst-getaddrinfo4.c: New test.
57900         * posix/Makefile (tests): Add it.
57902 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57904         [BZ #15339]
57905         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57906         when no services were used.
57907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57908         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57910 2013-05-21  Andreas Schwab  <schwab@suse.de>
57912         [BZ #15014]
57913         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57914         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57915         successful.
57916         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57917         redundant variable declarations and reallocation of buffer when
57918         parsing as IPv6 address.  Always set NSS status when called from
57919         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57920         buffer too small.  Correct computation of needed size.
57921         * nss/Makefile (tests): Add test-digits-dots.
57922         * nss/test-digits-dots.c: New test.
57924 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57926         * benchtests/Makefile: Remove instructions for adding
57927         benchmark tests.
57928         * benchtests/README: New file to explain how to execute and
57929         enhance the benchmark tests.
57931 2013-05-21  Andreas Schwab  <schwab@suse.de>
57933         [BZ #15493]
57934         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57935         * setjmp/tst-sigsetjmp.c: New test.
57937 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57939         * sysdeps/x86_64/memset.S (memset): New implementation.
57940         (__bzero): Likewise.
57941         (__memset_tail): New function.
57943 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57945         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57946         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57947         __memcpy_sse2_unaligned ifunc selection.
57948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57949         Add memcpy-sse2-unaligned.S.
57950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57951         Add: __memcpy_sse2_unaligned.
57953 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57955         [BZ #15490]
57956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57957         math_force_eval before restoring floating-point envrionment.
57958         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57959         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57960         Likewise.
57961         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57962         <math_private.h>.
57963         (__nearbyintl): Use math_force_eval before restoring
57964         floating-point environment.
57965         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57967         * math/gen-libm-test.pl (special_functions): Remove.
57968         (parse_args): Don't handle TEST_extra.  Handle functions with no
57969         return value.
57970         * math/libm-test.inc (struct test_sincos_data): Replace with
57971         struct test_fFF_11_data.
57972         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57973         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57974         (sincos_test_data): Change element type to struct
57975         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57976         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57977         RUN_TEST_LOOP_sincos.
57978         * math/README.libm-test: Don't mention special handling of
57979         individual functions.
57980         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57983         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57987         * math/gen-libm-test.pl (get_variable): Remove function.
57988         (parse_args): Don't show pointer parameters to call in test
57989         names.  Use "extra output N" in test names for extra outputs
57990         rather than naming variables.
57992 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57994         [BZ #15488]
57995         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57996         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57997         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57998         double tests.
57999         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58000         disable.
58001         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58002         check_long_double.
58004         * math/gen-libm-test.pl (@tests): Remove variable.
58005         ($count): Likewise.
58006         (new_test): Remove function.
58007         (show_exceptions): New function.
58008         (special_functions): Use show_exceptions instead of new_test.
58009         (parse_args): Likewise.
58010         (generate_testfile): Pass only function name in generated call to
58011         print_max_error or print_complex_max_error.
58012         (get_ulps): Do not handle complex tests specially.
58013         (output_test): Rename to ...
58014         (get_all_ulps_for_test): ... this.  Return a string rather than
58015         printing to a file.  Require ulps to be present.
58016         (output_ulps): Generate arrays rather than #defines.
58017         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58018         (struct ulp_data): New type.
58019         (BUILD_COMPLEX_ULP): Remove macro.
58020         (compare_ulp_data): New function.
58021         (find_ulps): Likewise.
58022         (find_test_ulps): Likewise.
58023         (find_function_ulps): Likewise.
58024         (find_complex_function_ulps): Likewise.
58025         (print_max_error): Determine allowed ulps using
58026         find_function_ulps.
58027         (print_complex_max_error): Determine allowed ulps using
58028         find_complex_function_ulps.
58029         (check_float_internal): Determine max ulps using find_test_ulps.
58030         (check_float): Do not take max_ulp parameter.  Update call to
58031         check_float_internal.
58032         (check_complex): Likewise.
58033         (check_int): Do not take max_ulp parameter.
58034         (check_long): Likewise.
58035         (check_bool): Likewise.
58036         (check_longlong): Likewise.
58037         (struct test_f_f_data): Remove max_ulp field.
58038         (struct test_ff_f_data): Likewise.
58039         (struct test_ff_f_data_nexttoward): Likewise.
58040         (struct test_fi_f_data): Likewise.
58041         (struct test_fl_f_data): Likewise.
58042         (struct test_if_f_data): Likewise.
58043         (struct test_fff_f_data): Likewise.
58044         (struct test_c_f_data): Likewise.
58045         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58046         (struct test_fF_f1_data): Likewise.
58047         (struct test_ffI_f1_data): Likewise.
58048         (struct test_c_c_data): Remove max_ulp field.
58049         (struct test_cc_c_data): Likewise.
58050         (struct test_f_i_data): Likewise.
58051         (struct test_ff_i_data): Likewise.
58052         (struct test_f_l_data): Likewise.
58053         (struct test_f_L_data): Likewise.
58054         (struct test_sincos_data): Likewise.
58055         (RUN_TEST_f_f): Do not handle ulps.
58056         (RUN_TEST_LOOP_f_f): Likewise.
58057         (RUN_TEST_2_f): Likewise.
58058         (RUN_TEST_LOOP_2_f): Likewise.
58059         (RUN_TEST_fff_f): Likewise.
58060         (RUN_TEST_LOOP_fff_f): Likewise.
58061         (RUN_TEST_c_f): Likewise.
58062         (RUN_TEST_LOOP_c_f): Likewise.
58063         (RUN_TEST_f_f1): Likewise.
58064         (RUN_TEST_LOOP_f_f1): Likewise.
58065         (RUN_TEST_fF_f1): Likewise.
58066         (RUN_TEST_LOOP_fF_f1): Likewise.
58067         (RUN_TEST_fI_f1): Likewise.
58068         (RUN_TEST_LOOP_fI_f1): Likewise.
58069         (RUN_TEST_ffI_f1): Likewise.
58070         (RUN_TEST_LOOP_ffI_f1): Likewise.
58071         (RUN_TEST_c_c): Likewise.
58072         (RUN_TEST_LOOP_c_c): Likewise.
58073         (RUN_TEST_cc_c): Likewise.
58074         (RUN_TEST_LOOP_cc_c): Likewise.
58075         (RUN_TEST_f_i): Likewise.
58076         (RUN_TEST_LOOP_f_i): Likewise.
58077         (RUN_TEST_f_i_tg): Likewise.
58078         (RUN_TEST_LOOP_f_i_tg): Likewise.
58079         (RUN_TEST_ff_i_tg): Likewise.
58080         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58081         (RUN_TEST_f_b): Likewise.
58082         (RUN_TEST_LOOP_f_b): Likewise.
58083         (RUN_TEST_f_b_tg): Likewise.
58084         (RUN_TEST_LOOP_f_b_tg): Likewise.
58085         (RUN_TEST_f_l): Likewise.
58086         (RUN_TEST_LOOP_f_l): Likewise.
58087         (RUN_TEST_f_L): Likewise.
58088         (RUN_TEST_LOOP_f_L): Likewise.
58089         (RUN_TEST_sincos): Likewise.
58090         (RUN_TEST_LOOP_sincos): Likewise.
58092 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58094         [BZ #15480]
58095         [BZ #15485]
58096         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58097         main case of finite arguments, set rounding mode to FE_TONEAREST
58098         and discard exceptions.
58099         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58100         exceptions.
58101         (remainder_tonearest_test_data): New variable.
58102         (remainder_test_tonearest): New function.
58103         (remainder_towardzero_test_data): New variable.
58104         (remainder_test_towardzero): New function.
58105         (remainder_downward_test_data): New variable.
58106         (remainder_test_downward): New function.
58107         (remainder_upward_test_data): New variable.
58108         (remainder_test_upward): New function.
58109         (main): Call the new test functions.
58111         * math/libm-test.inc (struct test_f_f1_data): Remove field
58112         extra_init.
58113         (struct test_fF_f1_data): Likewise.
58114         (struct test_ffI_f1_data): Likewise.
58115         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58116         based on value of EXTRA_EXPECTED.
58117         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58118         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58119         EXTRA_VAR based on value of EXTRA_EXPECTED.
58120         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58121         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58122         EXTRA_VAR based on value of EXTRA_EXPECTED.
58123         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58124         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58125         EXTRA_VAR based on value of EXTRA_EXPECTED.
58126         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58127         * math/gen-libm-test.pl (parse_args): Don't output initializers
58128         for extra output values.
58130         * math/libm-test.inc (check_int): Expect result to be exactly
58131         equal to expected value and do not handle ulps.
58132         (check_long): Likewise.
58133         (check_longlong): Likewise.
58135         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58136         exceptions.
58137         (cimag_test_data): Likewise.
58138         (conj_test_data): Likewise.
58139         (copysign_test_data): Likewise.
58140         (cproj_test_data): Likewise.
58141         (creal_test_data): Likewise.
58142         (fabs_test_data): Likewise.
58143         (fdim_test_data): Likewise.
58144         (finite_test_data): Likewise.
58145         (floor_test_data): Likewise.
58146         (fmax_test_data): Likewise.
58147         (fmin_test_data): Likewise.
58148         (fmod_test_data): Likewise.
58149         (fpclassify_test_data): Likewise.
58150         (frexp_test_data): Likewise.
58151         (ilogb_test_data): Likewise.
58152         (isfinite_test_data): Likewise.
58153         (isgreater_test_data): Likewise.
58154         (isgreaterequal_test_data): Likewise.
58155         (isinf_test_data): Likewise.
58156         (isless_test_data): Likewise.
58157         (islessequal_test_data): Likewise.
58158         (islessgreater_test_data): Likewise.
58159         (isnan_test_data): Likewise.
58160         (isnormal_test_data): Likewise.
58161         (issignaling_test_data): Likewise.
58162         (isunordered_test_data): Likewise.
58163         (ldexp_test_data): Likewise.
58164         (lrint_test_data): Likewise.
58165         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58166         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58167         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58168         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58169         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58170         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58171         test input.
58172         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58173         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58174         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58175         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58176         that test input.
58177         (lrint_downward_test_data): Test for "inexact" exceptions.
58178         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58179         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58180         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58181         test input.
58182         (lrint_upward_test_data): Test for "inexact" exceptions.
58183         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58184         test input.
58185         (llrint_test_data): Test for "inexact" exceptions.
58186         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58187         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58188         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58189         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58190         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58191         (llrint_downward_test_data): Test for "inexact" exceptions.
58192         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58193         (llrint_upward_test_data): Test for "inexact" exceptions.
58194         (logb_test_data): Likewise.
58195         (logb_downward_test_data): Likewise.
58196         (nextafter_test_data): Likewise.
58197         (nexttoward_test_data): Likewise.
58198         (remainder_test_data): Likewise.
58199         (remquo_test_data): Likewise.
58200         (scalbn_test_data): Likewise.
58201         (scalbln_test_data): Likewise.
58202         (signbit_test_data): Likewise.
58203         (sqrt_test_data): Likewise.
58204         (significand_test_data): Likewise.
58206 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58208         [BZ #15424]
58209         * benchtests/bench-modf.c (struct args): Mark arg0 as
58210         volatile.
58211         * scripts/bench.pl: Mark members of struct args as volatile.
58213 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58215         [BZ # 15497]
58216         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58217         negative infinity on POWER6 or lower.
58218         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58220 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58222         [BZ #15442]
58223         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58224         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58225         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58226         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58227         (_FP_SETQNAN): New macro.
58228         (_FP_SETQNAN_SEMIRAW): Likewise.
58229         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58230         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58231         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58232         (FP_EXTEND): Use _FP_FRAC_SNANP.
58233         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58234         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58235         into account.
58236         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58237         New macro.
58238         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58239         Likewise.
58241 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58243         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58244         with DIVIDE_BY_ZERO_EXCEPTION.
58245         (gamma_test_data): Likewise.
58246         (lgamma_test_data): Likewise.
58247         (log_test_data): Likewise.
58248         (log10_test_data): Likewise.
58249         (log2_test_data): Likewise.
58250         (tgamma_test_data): Likewise.
58252         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58253         (acos_test_tonearest): Likewise.
58254         (acos_test_towardzero): Likewise.
58255         (acos_test_downward): Likewise.
58256         (acos_test_upward): Likewise.
58257         (acosh_test): Likewise.
58258         (asin_test): Likewise.
58259         (asin_test_tonearest): Likewise.
58260         (asin_test_towardzero): Likewise.
58261         (asin_test_downward): Likewise.
58262         (asin_test_upward): Likewise.
58263         (asinh_test): Likewise.
58264         (atan_test): Likewise.
58265         (atanh_test): Likewise.
58266         (atan2_test): Likewise.
58267         (cabs_test): Likewise.
58268         (cacos_test): Likewise.
58269         (cacosh_test): Likewise.
58270         (casin_test): Likewise.
58271         (casinh_test): Likewise.
58272         (catan_test): Likewise.
58273         (catanh_test): Likewise.
58274         (cbrt_test): Likewise.
58275         (ccos_test): Likewise.
58276         (ccosh_test): Likewise.
58277         (cexp_test): Likewise.
58278         (clog_test): Likewise.
58279         (clog10_test): Likewise.
58280         (cos_test): Likewise.
58281         (cos_test_tonearest): Likewise.
58282         (cos_test_towardzero): Likewise.
58283         (cos_test_downward): Likewise.
58284         (cos_test_upward): Likewise.
58285         (cosh_test): Likewise.
58286         (cosh_test_tonearest): Likewise.
58287         (cosh_test_towardzero): Likewise.
58288         (cosh_test_downward): Likewise.
58289         (cosh_test_upward): Likewise.
58290         (cpow_test): Likewise.
58291         (csin_test): Likewise.
58292         (csinh_test): Likewise.
58293         (csqrt_test): Likewise.
58294         (ctan_test): Likewise.
58295         (ctan_test_tonearest): Likewise.
58296         (ctan_test_towardzero): Likewise.
58297         (ctan_test_downward): Likewise.
58298         (ctan_test_upward): Likewise.
58299         (ctanh_test): Likewise.
58300         (ctanh_test_tonearest): Likewise.
58301         (ctanh_test_towardzero): Likewise.
58302         (ctanh_test_downward): Likewise.
58303         (ctanh_test_upward): Likewise.
58304         (erf_test): Likewise.
58305         (erfc_test): Likewise.
58306         (exp_test): Likewise.
58307         (exp_test_tonearest): Likewise.
58308         (exp_test_towardzero): Likewise.
58309         (exp_test_downward): Likewise.
58310         (exp_test_upward): Likewise.
58311         (exp10_test): Likewise.
58312         (exp2_test): Likewise.
58313         (expm1_test): Likewise.
58314         (fmod_test): Likewise.
58315         (gamma_test): Likewise.
58316         (hypot_test): Likewise.
58317         (j0_test): Likewise.
58318         (j1_test): Likewise.
58319         (jn_test): Likewise.
58320         (lgamma_test): Likewise.
58321         (log_test): Likewise.
58322         (log10_test): Likewise.
58323         (log1p_test): Likewise.
58324         (log2_test): Likewise.
58325         (logb_test_downward): Likewise.
58326         (pow_test): Likewise.
58327         (pow_test_tonearest): Likewise.
58328         (pow_test_towardzero): Likewise.
58329         (pow_test_downward): Likewise.
58330         (pow_test_upward): Likewise.
58331         (remainder_test): Likewise.
58332         (remquo_test): Likewise.
58333         (sin_test): Likewise.
58334         (sin_test_tonearest): Likewise.
58335         (sin_test_towardzero): Likewise.
58336         (sin_test_downward): Likewise.
58337         (sin_test_upward): Likewise.
58338         (sincos_test): Likewise.
58339         (sinh_test): Likewise.
58340         (sinh_test_tonearest): Likewise.
58341         (sinh_test_towardzero): Likewise.
58342         (sinh_test_downward): Likewise.
58343         (sinh_test_upward): Likewise.
58344         (sqrt_test): Likewise.
58345         (tan_test): Likewise.
58346         (tan_test_tonearest): Likewise.
58347         (tan_test_towardzero): Likewise.
58348         (tan_test_downward): Likewise.
58349         (tan_test_upward): Likewise.
58350         (tanh_test): Likewise.
58351         (tgamma_test): Likewise.
58352         (y0_test): Likewise.
58353         (y1_test): Likewise.
58354         (yn_test): Likewise.
58356         * math/gen-libm-test.pl (adjust_arg): Remove function.
58357         (special_function): Remove argument $in_func.  Only handle
58358         generating output for tables of tests, not inside functions.
58359         (parse_args): Likewise.
58360         (generate_testfile): Remove variable $in_func.  Update call to
58361         parse_args.
58362         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58363         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58364         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58365         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58366         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58367         (MAX_VALUE_INIT): Rename macro to max_value.
58368         (MIN_VALUE_INIT): Rename macro to min_value.
58369         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58370         (plus_zero): Remove variable.
58371         (minus_zero): Likewise.
58372         (plus_infty): Likewise.
58373         (minus_infty): Likewise.
58374         (qnan_value): Likewise.
58375         (max_value): Likewise.
58376         (min_value): Likewise.
58377         (min_subnorm_value): Likewise.
58379 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58381         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58382         uint64_t or uint32_t usage.
58383         * crypt/sha256-block.c: Likewise.
58384         * crypt/sha256-crypt.c: Likewise.
58385         * crypt/sha256.c: Likewise.
58386         * crypt/sha512-block.c: Likewise.
58387         * crypt/sha512-crypt.c: Likewise.
58388         * crypt/sha512.c: Likewise.
58389         * debug/backtrace-tst.c: Likewise.
58390         * debug/pcprofiledump.c: Likewise.
58391         * elf/cache.c: Likewise.
58392         * elf/dl-cache.c: Likewise.
58393         * elf/dl-misc.c: Likewise.
58394         * elf/dl-profile.c: Likewise.
58395         * elf/dl-support.c: Likewise.
58396         * elf/ldconfig.c: Likewise.
58397         * elf/sprof.c: Likewise.
58398         * iconv/dummy-repertoire.c: Likewise.
58399         * iconv/iconv_charmap.c: Likewise.
58400         * iconv/skeleton.c: Likewise.
58401         * iconvdata/8bit-generic.c: Likewise.
58402         * iconvdata/cp737.h: Likewise.
58403         * iconvdata/cp775.h: Likewise.
58404         * iconvdata/ibm1008.h: Likewise.
58405         * iconvdata/ibm1025.h: Likewise.
58406         * iconvdata/ibm1046.h: Likewise.
58407         * iconvdata/ibm1097.h: Likewise.
58408         * iconvdata/ibm1112.h: Likewise.
58409         * iconvdata/ibm1122.h: Likewise.
58410         * iconvdata/ibm1123.h: Likewise.
58411         * iconvdata/ibm1124.h: Likewise.
58412         * iconvdata/ibm1129.h: Likewise.
58413         * iconvdata/ibm1130.h: Likewise.
58414         * iconvdata/ibm1132.h: Likewise.
58415         * iconvdata/ibm1133.h: Likewise.
58416         * iconvdata/ibm1137.h: Likewise.
58417         * iconvdata/ibm1140.h: Likewise.
58418         * iconvdata/ibm1141.h: Likewise.
58419         * iconvdata/ibm1142.h: Likewise.
58420         * iconvdata/ibm1143.h: Likewise.
58421         * iconvdata/ibm1144.h: Likewise.
58422         * iconvdata/ibm1145.h: Likewise.
58423         * iconvdata/ibm1146.h: Likewise.
58424         * iconvdata/ibm1147.h: Likewise.
58425         * iconvdata/ibm1148.h: Likewise.
58426         * iconvdata/ibm1149.h: Likewise.
58427         * iconvdata/ibm1153.h: Likewise.
58428         * iconvdata/ibm1154.h: Likewise.
58429         * iconvdata/ibm1155.h: Likewise.
58430         * iconvdata/ibm1156.h: Likewise.
58431         * iconvdata/ibm1157.h: Likewise.
58432         * iconvdata/ibm1158.h: Likewise.
58433         * iconvdata/ibm1160.h: Likewise.
58434         * iconvdata/ibm1161.h: Likewise.
58435         * iconvdata/ibm1162.h: Likewise.
58436         * iconvdata/ibm1163.h: Likewise.
58437         * iconvdata/ibm1164.h: Likewise.
58438         * iconvdata/ibm1166.h: Likewise.
58439         * iconvdata/ibm1167.h: Likewise.
58440         * iconvdata/ibm12712.h: Likewise.
58441         * iconvdata/ibm1390.h: Likewise.
58442         * iconvdata/ibm1399.h: Likewise.
58443         * iconvdata/ibm16804.h: Likewise.
58444         * iconvdata/ibm4517.h: Likewise.
58445         * iconvdata/ibm4899.h: Likewise.
58446         * iconvdata/ibm4909.h: Likewise.
58447         * iconvdata/ibm4971.h: Likewise.
58448         * iconvdata/ibm5347.h: Likewise.
58449         * iconvdata/ibm803.h: Likewise.
58450         * iconvdata/ibm856.h: Likewise.
58451         * iconvdata/ibm901.h: Likewise.
58452         * iconvdata/ibm902.h: Likewise.
58453         * iconvdata/ibm9030.h: Likewise.
58454         * iconvdata/ibm9066.h: Likewise.
58455         * iconvdata/ibm921.h: Likewise.
58456         * iconvdata/ibm922.h: Likewise.
58457         * iconvdata/ibm9448.h: Likewise.
58458         * iconvdata/isiri-3342.h: Likewise.
58459         * iconvdata/jis0201.h: Likewise.
58460         * include/link.h: Likewise.
58461         * include/netdb.h: Likewise.
58462         * inet/check_native.c: Likewise.
58463         * inet/check_pf.c: Likewise.
58464         * inet/getipv4sourcefilter.c: Likewise.
58465         * inet/getnameinfo.c: Likewise.
58466         * inet/getsourcefilter.c: Likewise.
58467         * inet/htonl.c: Likewise.
58468         * inet/setipv4sourcefilter.c: Likewise.
58469         * inet/setsourcefilter.c: Likewise.
58470         * inet/test-inet6_opt.c: Likewise.
58471         * inet/tst-network.c: Likewise.
58472         * locale/C-collate.c: Likewise.
58473         * locale/C-ctype.c: Likewise.
58474         * locale/C-time.c: Likewise.
58475         * locale/C-translit.h: Likewise.
58476         * locale/loadarchive.c: Likewise.
58477         * locale/programs/3level.h: Likewise.
58478         * locale/programs/charmap.c: Likewise.
58479         * locale/programs/charmap.h: Likewise.
58480         * locale/programs/ld-address.c: Likewise.
58481         * locale/programs/ld-collate.c: Likewise.
58482         * locale/programs/ld-ctype.c: Likewise.
58483         * locale/programs/ld-identification.c: Likewise.
58484         * locale/programs/ld-measurement.c: Likewise.
58485         * locale/programs/ld-messages.c: Likewise.
58486         * locale/programs/ld-monetary.c: Likewise.
58487         * locale/programs/ld-name.c: Likewise.
58488         * locale/programs/ld-numeric.c: Likewise.
58489         * locale/programs/ld-paper.c: Likewise.
58490         * locale/programs/ld-telephone.c: Likewise.
58491         * locale/programs/ld-time.c: Likewise.
58492         * locale/programs/linereader.c: Likewise.
58493         * locale/programs/locale.c: Likewise.
58494         * locale/programs/locarchive.c: Likewise.
58495         * locale/programs/locfile.h: Likewise.
58496         * locale/programs/repertoire.c: Likewise.
58497         * locale/programs/simple-hash.c: Likewise.
58498         * locale/programs/simple-hash.h: Likewise.
58499         * malloc/memusage.c: Likewise.
58500         * malloc/memusagestat.c: Likewise.
58501         * nis/nis_defaults.c: Likewise.
58502         * nis/nis_hash.c: Likewise.
58503         * nis/nis_print.c: Likewise.
58504         * nis/nis_xdr.c: Likewise.
58505         * nscd/connections.c: Likewise.
58506         * nscd/hstcache.c: Likewise.
58507         * nscd/nscd_gethst_r.c: Likewise.
58508         * nscd/nscd_getserv_r.c: Likewise.
58509         * nscd/nscd_helper.c: Likewise.
58510         * nscd/servicescache.c: Likewise.
58511         * nss/makedb.c: Likewise.
58512         * nss/nss_db/db-XXX.c: Likewise.
58513         * nss/nss_db/db-initgroups.c: Likewise.
58514         * nss/nss_db/db-netgrp.c: Likewise.
58515         * nss/nss_files/files-network.c: Likewise.
58516         * nss/nss_files/files-parse.c: Likewise.
58517         * posix/bug-regex5.c: Likewise.
58518         * posix/fnmatch_loop.c: Likewise.
58519         * posix/regcomp.c: Likewise.
58520         * posix/regexec.c: Likewise.
58521         * posix/tst-rfc3484-2.c: Likewise.
58522         * posix/tst-rfc3484-3.c: Likewise.
58523         * posix/tst-rfc3484.c: Likewise.
58524         * resolv/nss_dns/dns-canon.c: Likewise.
58525         * resolv/nss_dns/dns-network.c: Likewise.
58526         * resolv/res_init.c: Likewise.
58527         * resolv/res_mkquery.c: Likewise.
58528         * resolv/tst-aton.c: Likewise.
58529         * stdlib/cxa_atexit.c: Likewise.
58530         * stdlib/cxa_finalize.c: Likewise.
58531         * stdlib/gen-fpioconst.c: Likewise.
58532         * stdlib/strtol_l.c: Likewise.
58533         * string/tst-endian.c: Likewise.
58534         * sunrpc/auth_des.c: Likewise.
58535         * sunrpc/clnt_udp.c: Likewise.
58536         * sunrpc/rtime.c: Likewise.
58537         * sunrpc/svcauth_des.c: Likewise.
58538         * sunrpc/xdr.c: Likewise.
58539         * sunrpc/xdr_intXX_t.c: Likewise.
58540         * sunrpc/xdr_rec.c: Likewise.
58541         * sysdeps/generic/ldconfig.h: Likewise.
58542         * sysdeps/generic/ldsodefs.h: Likewise.
58543         * sysdeps/generic/memusage.h: Likewise.
58544         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58545         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58547         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58548         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58550         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58551         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58552         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58553         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58554         * sysdeps/posix/getaddrinfo.c: Likewise.
58555         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58556         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58557         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58558         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58559         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58560         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58561         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58562         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58563         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58564         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58565         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58566         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58567         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58568         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58569         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58570         * sysdeps/x86_64/dl-tls.h: Likewise.
58571         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58572         * time/alt_digit.c: Likewise.
58573         * time/era.c: Likewise.
58574         * wcsmbs/tst-c16c32-1.c: Likewise.
58576 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58578         * math/libm-test.inc (struct test_sincos_data): New type.
58579         (RUN_TEST_LOOP_sincos): New macro.
58580         (sincos_test_data): New variable.
58581         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58583 2013-05-16  Richard Henderson  <rth@redhat.com>
58585         * math/atest-exp2.c (LIMB64): New macro.
58586         (CONSTSZ): New macro.
58587         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58588         (hexdig): Move ...
58589         (print_mpn_fp): ... to function scope.
58590         (read_mpn_hex): Remove.
58591         (get_log2): Remove.
58592         (exp2_mpn): Use mp_log2.
58593         (main): Use mp_exp1.
58595 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58597         * math/libm-test.inc: Remove comment about not testing "inexact"
58598         exceptions.
58599         (INEXACT_EXCEPTION): New macro.
58600         (NO_INEXACT_EXCEPTION): Likewise.
58601         (INVALID_EXCEPTION_OK): Update value.
58602         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58603         (OVERFLOW_EXCEPTION_OK): Likewise.
58604         (UNDERFLOW_EXCEPTION_OK): Likewise.
58605         (IGNORE_ZERO_INF_SIGN): Likewise.
58606         (ERRNO_UNCHANGED): Likewise.
58607         (ERRNO_EDOM): Likewise.
58608         (ERRNO_ERANGE): Likewise.
58609         (test_exceptions): Handle testing "inexact" exceptions.
58610         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58611         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58612         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58613         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58614         INEXACT_EXCEPTION.
58615         (rint_towardzero_test_data): Likewise.
58616         (rint_downward_test_data): Likewise.
58617         (rint_upward_test_data): Likewise.
58619         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58620         with OVERFLOW_EXCEPTION.
58621         (exp10_test_data): Likewise.
58622         (exp2_test_data): Likewise.
58623         (expm1_test_data): Likewise.
58624         (lgamma_test_data): Likewise.
58625         (pow_test_data): Likewise.
58626         (tgamma_test_data): Likewise.
58627         (yn_test_data): Remove duplicate test of overflow.
58629         * math/libm-test.inc (struct test_cc_c_data): New type.
58630         (RUN_TEST_LOOP_cc_c): New macro.
58631         (cpow_test_data): New variable.
58632         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58634         * math/libm-test.inc (struct test_f_L_data): New type.
58635         (RUN_TEST_LOOP_f_L): New macro.
58636         (llrint_test_data): New variable.
58637         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58638         (llrint_tonearest_test_data): New variable.
58639         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58640         (llrint_towardzero_test_data): New variable.
58641         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58642         (llrint_downward_test_data): New variable.
58643         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58644         (llrint_upward_test_data): New variable.
58645         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58646         (llround_test_data): New variable.
58647         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58649 2013-05-13  Peter Collingbourne  <pcc@google.com>
58651         * math/atest-exp2.c (get_log2): Remove const attribute.
58653 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58655         * math/libm-test.inc (struct test_f_l_data): New type.
58656         (RUN_TEST_LOOP_f_l): New macro.
58657         (lrint_test_data): New variable.
58658         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58659         (lrint_tonearest_test_data): New variable.
58660         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58661         (lrint_towardzero_test_data): New variable.
58662         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58663         (lrint_downward_test_data): New variable.
58664         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58665         (lrint_upward_test_data): New variable.
58666         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58667         (lround_test_data): New variable.
58668         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58670 2013-05-15  Peter Collingbourne  <pcc@google.com>
58672         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58673         (EXTRACT_WORDS64) Use where appropriate.
58674         (INSERT_WORDS64) Likewise.
58676         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58677         constraints with x constraints.
58678         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58680         * malloc/obstack.c (_obstack_compat): Add initializer.
58682 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58684         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58685         si_trapno and add si_addr_lsb to _sifields.sigfault.
58686         (si_trapno): Remove macro.
58687         (si_addr_lsb): Define new macro.
58688         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58690 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58692         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58693         instead of TEST_f_l.
58694         (llrint_test_tonearest): Likewise.
58695         (llrint_test_towardzero): Likewise.
58696         (llrint_test_downward): Likewise.
58697         (llrint_test_upward): Likewise.
58698         (llround_test): Likewise.
58700         * math/libm-test.inc (struct test_f_i_data): Add comment.
58701         (RUN_TEST_LOOP_f_b): New macro.
58702         (RUN_TEST_LOOP_f_b_tg): Likewise.
58703         (finite_test_data): New variable.
58704         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58705         (isfinite_test_data): New variable.
58706         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58707         (isinf_test_data): New variable.
58708         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58709         (isnan_test_data): New variable.
58710         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58711         (isnormal_test_data): New variable.
58712         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58713         (issignaling_test_data): New variable.
58714         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58715         (signbit_test_data): New variable.
58716         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58718         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58719         with INVALID_EXCEPTION.
58720         (acosh_test_data): Likewise.
58721         (asin_test_data): Likewise.
58722         (atanh_test_data): Likewise.
58723         (fmod_test_data): Likewise.
58724         (log_test_data): Likewise.
58725         (log10_test_data): Likewise.
58726         (log2_test_data): Likewise.
58727         (pow_test_data): Likewise.
58728         (sqrt_test_data): Likewise.
58729         (y0_test_data): Likewise.
58730         (y1_test_data): Likewise.
58731         (yn_test_data): Likewise.
58733         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58734         function contents.
58736         * math/libm-test.inc (struct test_ff_i_data): New type.
58737         (RUN_TEST_LOOP_ff_i_tg): New macro.
58738         (isgreater_test_data): New variable.
58739         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58740         (isgreaterequal_test_data): New variable.
58741         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58742         (isless_test_data): New variable.
58743         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58744         (islessequal_test_data): New variable.
58745         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58746         (islessgreater_test_data): New variable.
58747         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58748         (isunordered_test_data): New variable.
58749         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58751 2013-05-14  David S. Miller  <davem@davemloft.net>
58753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58755 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58757         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58759         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58760         extra_test to int.
58761         (struct test_f_i_data): Change type of max_ulp to int.
58763         * math/libm-test.inc (test_ffI_f1_data): New type.
58764         (RUN_TEST_LOOP_ffI_f1): New macro.
58765         (remquo_test_data): New variable.
58766         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58768         * setjmp/tst-setjmp-fp.c: New file.
58769         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58770         (link-libm): New variable.
58771         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58773         * math/libm-test.inc (struct test_f_i_data): New type.
58774         (RUN_TEST_LOOP_f_i): New macro.
58775         (RUN_TEST_LOOP_f_i_tg): Likewise.
58776         (fpclassify_test_data): New variable.
58777         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58778         (ilogb_test_data): New variable.
58779         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58781         * math/libm-test.inc (scalbln_test): Correct function name in END
58782         call.
58784         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58785         (RUN_TEST_LOOP_fI_f1): New macro.
58786         (frexp_test_data): New variable.
58787         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58789         * math/libm-test.inc (struct test_fF_f1_data): New type.
58790         (RUN_TEST_LOOP_fF_f1): New macro.
58791         (modf_test_data): New variable.
58792         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58794         * math/libm-test.inc (struct test_f_f1_data): New type.
58795         (RUN_TEST_LOOP_f_f1): New macro.
58796         (gamma_test_data): New variable.
58797         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58798         (lgamma_test_data): New variable.
58799         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58801 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58803         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58804         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58805         (main): Comment "tls" pseudo-hwcap.
58807 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58809         * math/libm-test.inc (struct test_fl_f_data): New type.
58810         (RUN_TEST_LOOP_fl_f): New variable.
58811         (scalbln_test_data): New variable.
58812         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58814         * math/libm-test.inc (struct test_fi_f_data): New type.
58815         (RUN_TEST_LOOP_fi_f): New macro.
58816         (ldexp_test_data): New variable.
58817         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58818         (scalbn_test_data): New variable.
58819         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58821         * math/libm-test.inc (struct test_c_f_data): New type.
58822         (RUN_TEST_LOOP_c_f): New macro.
58823         (cabs_test_data): New variable.
58824         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58825         (carg_test_data): New variable.
58826         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58827         (cimag_test_data): New variable.
58828         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58829         (creal_test_data): New variable.
58830         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58832         * math/libm-test.inc (struct test_if_f_data): New type.
58833         (RUN_TEST_LOOP_if_f): New macro.
58834         (jn_test_data): New variable.
58835         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58836         (yn_test_data): New variable.
58837         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58839         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58841 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58843         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58844         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58846 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58848         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58849         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58850         (bench-deps): Add bench-timing.h.
58851         * benchtests-bench-skeleton.c: Include bench-timing.h.
58852         (main): Use TIMING_* macros instead of clock_gettime.
58853         * benchtests/bench-timing.h: New file.
58855         [BZ #14582]
58856         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58857         Renamed from _LIB_VERSION.
58858         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58860 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58862         * math/libm-test.inc (struct test_fff_f_data): New type.
58863         (RUN_TEST_LOOP_fff_f): New macro.
58864         (fma_test_data): New variable.
58865         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58866         (fma_towardzero_test_data): New variable.
58867         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58868         (fma_downward_test_data): New variable.
58869         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58870         (fma_upward_test_data): New variable.
58871         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58873         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58874         (struct test_c_c_data): New type.
58875         (RUN_TEST_LOOP_c_c): New macro.
58876         (cacos_test_data): New variable.
58877         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58878         (cacosh_test_data): New variable.
58879         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58880         (casin_test_data): New variable.
58881         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58882         (casinh_test_data): New variable.
58883         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58884         (catan_test_data): New variable.
58885         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58886         (catanh_test_data): New variable.
58887         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58888         (ccos_test_data): New variable.
58889         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58890         (ccosh_test_data): New variable.
58891         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58892         (cexp_test_data): New variable.
58893         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58894         (clog_test_data): New variable.
58895         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58896         (clog10_test_data): New variable.
58897         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58898         (conj_test_data): New variable.
58899         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58900         (cproj_test_data): New variable.
58901         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58902         (csin_test_data): New variable.
58903         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58904         (csinh_test_data): New variable.
58905         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58906         (csqrt_test_data): New variable.
58907         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58908         (ctan_test_data): New variable.
58909         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58910         (ctan_tonearest_test_data): New variable.
58911         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58912         (ctan_towardzero_test_data): New variable.
58913         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58914         (ctan_downward_test_data): New variable.
58915         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58916         (ctan_upward_test_data): New variable.
58917         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58918         (ctanh_test_data): New variable.
58919         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58920         (ctanh_tonearest_test_data): New variable.
58921         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58922         (ctanh_towardzero_test_data): New variable.
58923         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58924         (ctanh_downward_test_data): New variable.
58925         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58926         (ctanh_upward_test_data): New variable.
58927         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58928         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58929         of BUILD_COMPLEX.
58931         * math/libm-test.inc (struct test_ff_f_data): New type.
58932         (struct test_ff_f_data_nexttoward): Likewise.
58933         (RUN_TEST_LOOP_2_f): New macro.
58934         (RUN_TEST_LOOP_ff_f): Likewise.
58935         (atan2_test_data): New variable.
58936         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58937         (copysign_test_data): New variable.
58938         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58939         (fdim_test_data): New variable.
58940         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58941         (fmax_test_data): New variable.
58942         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58943         (fmin_test_data): New variable.
58944         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58945         (fmod_test_data): New variable.
58946         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58947         (hypot_test_data): New variable.
58948         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58949         (nextafter_test_data): New variable.
58950         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58951         (nexttoward_test_data): New variable.
58952         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58953         (pow_test_data): New variable.
58954         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58955         (pow_tonearest_test_data): New variable.
58956         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58957         (pow_towardzero_test_data): New variable.
58958         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58959         (pow_downward_test_data): New variable.
58960         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58961         (pow_upward_test_data): New variable.
58962         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58963         (remainder_test_data): New variable.
58964         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58965         (scalb_test_data): New variable.
58966         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58967         * sysdeps/i386/fpu/libm-test-ulps: Update.
58969 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58971         * math/libm-test.inc (fma_test): Use max_value instead of local
58972         variable fltmax.
58973         (nextafter_test): Likewise.
58975         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58976         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58977         (acos_downward_test_data): New variable.
58978         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58979         (acos_upward_test_data): New variable.
58980         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58981         (acosh_test_data): New variable.
58982         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58983         (asin_test_data): New variable.
58984         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58985         (asin_tonearest_test_data): New variable.
58986         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58987         (asin_towardzero_test_data): New variable.
58988         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58989         (asin_downward_test_data): New variable.
58990         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58991         (asin_upward_test_data): New variable.
58992         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58993         (asinh_test_data): New variable.
58994         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58995         (atan_test_data): New variable.
58996         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58997         (atanh_test_data): New variable.
58998         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58999         (cbrt_test_data): New variable.
59000         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59001         (ceil_test_data): New variable.
59002         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59003         (cos_test_data): New variable.
59004         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59005         (cos_tonearest_test_data): New variable.
59006         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59007         (cos_towardzero_test_data): New variable.
59008         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59009         (cos_downward_test_data): New variable.
59010         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59011         (cos_upward_test_data): New variable.
59012         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59013         (cosh_test_data): New variable.
59014         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59015         (cosh_tonearest_test_data): New variable.
59016         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59017         (cosh_towardzero_test_data): New variable.
59018         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59019         (cosh_downward_test_data): New variable.
59020         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59021         (cosh_upward_test_data): New variable.
59022         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59023         (erf_test_data): New variable.
59024         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59025         (erfc_test_data): New variable.
59026         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59027         (exp_test_data): New variable.
59028         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59029         (exp_tonearest_test_data): New variable.
59030         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59031         (exp_towardzero_test_data): New variable.
59032         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59033         (exp_downward_test_data): New variable.
59034         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59035         (exp_upward_test_data): New variable.
59036         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59037         (exp10_test_data): New variable.
59038         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59039         (exp2_test_data): New variable.
59040         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59041         (expm1_test_data): New variable.
59042         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59043         (fabs_test_data): New variable.
59044         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59045         (floor_test_data): New variable.
59046         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59047         (j0_test_data): New variable.
59048         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59049         (j1_test_data): New variable.
59050         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59051         (log_test_data): New variable.
59052         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59053         (log10_test_data): New variable.
59054         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59055         (log1p_test_data): New variable.
59056         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59057         (log2_test_data): New variable.
59058         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59059         (logb_test_data): New variable.
59060         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59061         (logb_downward_test_data): New variable.
59062         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59063         (nearbyint_test_data): New variable.
59064         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59065         (rint_test_data): New variable.
59066         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59067         (rint_tonearest_test_data): New variable.
59068         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59069         (rint_towardzero_test_data): New variable.
59070         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59071         (rint_downward_test_data): New variable.
59072         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59073         (rint_upward_test_data): New variable.
59074         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59075         (round_test_data): New variable.
59076         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59077         (sin_test_data): New variable.
59078         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59079         (sin_tonearest_test_data): New variable.
59080         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59081         (sin_towardzero_test_data): New variable.
59082         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59083         (sin_downward_test_data): New variable.
59084         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59085         (sin_upward_test_data): New variable.
59086         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59087         (sinh_test_data): New variable.
59088         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59089         (sinh_tonearest_test_data): New variable.
59090         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59091         (sinh_towardzero_test_data): New variable.
59092         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59093         (sinh_downward_test_data): New variable.
59094         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59095         (sinh_upward_test_data): New variable.
59096         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59097         (sqrt_test_data): New variable.
59098         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59099         (tan_test_data): New variable.
59100         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59101         (tan_tonearest_test_data): New variable.
59102         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59103         (tan_towardzero_test_data): New variable.
59104         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59105         (tan_downward_test_data): New variable.
59106         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59107         (tan_upward_test_data): New variable.
59108         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59109         (tanh_test_data): New variable.
59110         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59111         (tgamma_test_data): New variable.
59112         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59113         (trunc_test_data): New variable.
59114         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59115         (y0_test_data): New variable.
59116         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59117         (y1_test_data): New variable.
59118         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59119         (significand_test_data): New variable.
59120         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59122 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59124         [BZ #12387]
59125         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59127 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59129         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59131 2013-05-10  Andreas Jaeger  <aj@suse.de>
59133         [BZ #15448]
59134         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59135         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59137 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59139         * math/gen-libm-test.pl (adjust_arg): New function.
59140         (special_functions): Handle generating output in both functions
59141         and arrays.
59142         (parse_args): Likewise.
59143         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59144         $in_func argument to parse_args.
59145         * math/libm-test.inc (struct test_f_f_data): New type.
59146         (IF_ROUND_INIT_): New macro.
59147         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59148         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59149         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59150         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59151         (ROUND_RESTORE_): Likewise.
59152         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59153         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59154         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59155         (ROUND_RESTORE_FE_UPWARD): Likewise.
59156         (RUN_TEST_LOOP_f_f): New macro.
59157         (acos_test_data): New variable.
59158         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59159         (acos_tonearest_test_data): New variable.
59160         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59162 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59164         * benchtests/bench-skeleton.c (startup): Fix coding style.
59166 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59168         [BZ #6809]
59169         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59170         negative infinity argument.
59171         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59172         negative infinity argument.
59173         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59174         negative infinity argument.
59175         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59176         domain errors.
59178 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59180         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59181         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59182         * iconv/iconv_prog.c (main): Likewise.
59183         * locale/programs/charmap-dir.c (charmap_readdir)
59184         (fopen_uncompressed): Likewise.
59185         * locale/programs/locfile.c (siblings_uncached)
59186         (write_locale_data): Use lstat64 instead of lstat.
59187         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59188         stat.
59190 2013-05-10  Andreas Jaeger  <aj@suse.de>
59192         [BZ #15395]
59193         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59194         localization.
59195         Include <locale.h>.
59197 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59199         * elf/dl-close.c (_dl_close_worker): Add comments.
59201 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59203         [BZ #15359]
59204         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59205         high part of pi/2.
59206         (__ieee754_rem_pio2l): Update comments.
59208         [BZ #15429]
59209         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59210         high part of pi/2.
59211         (__ieee754_rem_pio2l): Update comments.
59213         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59214         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59216         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59217         M_PI_4l.
59219         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59220         (M_PI_34_LOG10El): Likewise.
59221         (M_PI2_LOG10El): Likewise.
59222         (M_PI4_LOG10El): Likewise.
59223         (M_PI_LOG10El): Likewise.
59225 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59229 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59231         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59232         (MINUS_ZERO_INIT): Likewise.
59233         (PLUS_INFTY_INIT): Likewise.
59234         (MINUS_INFTY_INIT): Likewise.
59235         (QNAN_VALUE_INIT): Likewise.
59236         (MAX_VALUE_INIT): Likewise.
59237         (MIN_VALUE_INIT): Likewise.
59238         (MIN_SUBNORM_VALUE_INIT): Likewise.
59239         (plus_zero): Initialize with PLUS_ZERO_INIT.
59240         (minus_zero): Initialize with MINUS_ZERO_INIT.
59241         (plus_infty): Initialize with PLUS_INFTY_INIT.
59242         (minus_infty): Initialize with MINUS_INFTY_INIT.
59243         (qnan_value): Initialize with QNAN_VALUE_INIT.
59244         (max_value): Initialize with MAX_VALUE_INIT.
59245         (min_value): Initialize with MIN_VALUE_INIT.
59246         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59248         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59249         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59250         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59251         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59253         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59254         (RUN_TEST_2_f): Likewise.
59255         (RUN_TEST_ff_f): Likewise.
59256         (RUN_TEST_fi_f): Likewise.
59257         (RUN_TEST_fl_f): Likewise.
59258         (RUN_TEST_fff_f): Likewise.
59259         (RUN_TEST_c_f): Likewise.
59260         (RUN_TEST_f_f1): Likewise.
59261         (RUN_TEST_fF_f1): Likewise.
59262         (RUN_TEST_fI_f1): Likewise.
59263         (RUN_TEST_ffI_f1): Likewise.
59264         (RUN_TEST_c_c): Likewise.
59265         (RUN_TEST_cc_c): Likewise.
59266         (RUN_TEST_f_i): Likewise.
59267         (RUN_TEST_f_i_tg): Likewise.
59268         (RUN_TEST_ff_i_tg): Likewise.
59269         (RUN_TEST_f_b): Likewise.
59270         (RUN_TEST_f_b_tg): Likewise.
59271         (RUN_TEST_f_l): Likewise.
59272         (RUN_TEST_f_L): Likewise.
59273         (RUN_TEST_sincos): Likewise.
59274         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59275         whether to show exceptions.  Do not include ");\n" in return
59276         value.
59277         (special_functions): Output call to RUN_TEST_sincos instead of
59278         check_float calls.  Update calls to new_test.
59279         (parse_args): Output call to single RUN_TEST_* macro instead of
59280         check_* calls and other assignments.  Update calls to new_test.
59282         [BZ #2546]
59283         [BZ #2560]
59284         [BZ #5159]
59285         [BZ #15426]
59286         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59287         input to result for tgamma overflow.
59288         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59289         (gamma_coeff): New variable.
59290         (NCOEFF): New macro.
59291         (gamma_positive): New function.
59292         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59293         underflow here.  Use gamma_positive instead of exp (lgamma) for
59294         other arguments.
59295         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59296         (gamma_coeff): New variable.
59297         (NCOEFF): New macro.
59298         (gammaf_positive): New function.
59299         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59300         underflow here.  Use gamma_positive instead of exp (lgamma) for
59301         other arguments.
59302         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59303         (gamma_coeff): New variable.
59304         (NCOEFF): New macro.
59305         (gammal_positive): New function.
59306         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59307         underflow here.  Use gamma_positive instead of exp (lgamma) for
59308         other arguments.
59309         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59310         (gamma_coeff): New variable.
59311         (NCOEFF): New macro.
59312         (gammal_positive): New function.
59313         (__ieee754_gammal_r): Handle positive infinity, overflow and
59314         underflow here.  Handle NaN the same as positive infinity.  Remove
59315         check x < 0xffffffff for negative integers.  Use gamma_positive
59316         instead of exp (lgamma) for other arguments.
59317         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59318         (gamma_coeff): New variable.
59319         (NCOEFF): New macro.
59320         (gammal_positive): New function.
59321         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59322         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59323         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59324         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59325         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59326         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59327         * sysdeps/generic/math_private.h (__gamma_productf): New
59328         prototype.
59329         (__gamma_product): Likewise.
59330         (__gamma_productl): Likewise.
59331         * math/Makefile (libm-calls): Add gamma_product.
59332         * math/libm-test.inc (tgamma_test): Add more tests.
59333         * sysdeps/i386/fpu/libm-test-ulps: Update.
59334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59336 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59338         * benchtests/bench-skeleton.c (main): Preheat CPU.
59340 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59342         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59344 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59346         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59347         and _dl_skip_args_internal.
59349 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59351         * manual/message.texi (Message Translation): Talk about users.
59352         Message to key mapping impacts design.
59354 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59356         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59358         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59360         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59361         * sysdeps/wordsize-64/glob64.c: ... here.
59363         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59364         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59365         New macros.
59367         * debug/getlogin_r_chk.c: Moved to ...
59368         * login/getlogin_r_chk.c: ... here.
59369         * debug/Makefile (routines): Move getlogin_r_chk to ...
59370         * login/Makefile (routines): ... here.
59371         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59372         * login/Versions (libc: GLIBC_2.4): ... here.
59374         * io/poll.c (__poll): Renamed from poll.
59375         Add libc_hidden_def.
59376         (poll): Define as weak alias.
59378         * debug/ptsname_r_chk.c: Moved to ...
59379         * login/ptsname_r_chk.c: ... here.
59380         * debug/Makefile (routines): Move ptsname_r_chk to ...
59381         * login/Makefile (routines): ... here.
59382         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59383         * login/Versions (libc: GLIBC_2.4): ... here.
59385         * posix/getlogin.c: Moved to ...
59386         * login/getlogin.c: ... here.
59387         * posix/getlogin_r.c: Moved to ...
59388         * login/getlogin_r.c: ... here.
59389         * posix/getlogin_r.c: Moved to ...
59390         * login/getlogin_r.c: ... here.
59391         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59392         * login/Makefile (routines): ... here.
59393         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59394         * login/Versions (libc: GLIBC_2.0): ... here.
59396         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59397         (setrlimit): Define as weak alias.
59399         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59400         Call __ names for open, ftruncate, and close.
59401         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59402         (truncate): Define as weak alias.
59404 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59406         * math/gen-libm-test.pl (parse_args): Initialize x before each
59407         test of frexp, modf and remquo.
59409         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59410         test signgam value.
59412 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59414         [BZ #15418]
59415         [BZ #15419]
59416         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59417         internal tests.
59418         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59420 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59422         * elf/dl-writev.h: New file.
59423         * elf/dl-misc.c: Include it.
59424         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59425         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59427 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59429         * math/libm-test.inc (noXFails): Remove variable.
59430         (noXPasses): Likewise.
59431         (BUILD_COMPLEX_INT): Remove macro.
59432         (print_screen): Remove xfail argument.
59433         (print_screen_max_error): Likewise.
59434         (update_stats): Likewise.
59435         (print_max_error): Likewise.  Update calls to other affected
59436         functions.
59437         (print_complex_max_error): Likewise.
59438         (test_single_exception): Update calls to print_screen.
59439         (test_single_errno): Likewise.
59440         (check_float_internal): Remove xfail argument.  Update calls to
59441         other affected functions.
59442         (check_float): Likewise.
59443         (check_complex): Likewise.
59444         (check_int): Likewise.
59445         (check_long): Likewise.
59446         (check_bool): Likewise.
59447         (check_longlong): Likewise.
59448         (main): Don't print noXFails and noXPasses.
59449         * math/gen-libm-test.pl (top level): Don't mention expected
59450         failure handling in comment.
59451         (new_test): Don't handle expected failures.
59452         (parse_args): Don't mention expected failure handling in comment.
59453         (generate_testfile): Don't handle expected failures.
59454         (parse_ulps): Likewise.
59455         (print_ulps_file): Likewise.
59456         (get_failure): Remove function.
59457         (output_test): Don't handle expected failures.
59458         * make/README.libm-test: Don't mention expected failure handling.
59460         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59461         (minus_zero): Likewise.
59462         (plus_infty): Likewise.
59463         (minus_infty): Likewise.
59464         (qnan_value): Likewise.
59465         (max_value): Likewise.
59466         (min_value): Likewise.
59467         (min_subnorm_value): Likewise.
59468         (initialize): Do not initialize those variables dynamically.
59470 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59472         * io/open.c (__open_2): Moved to ...
59473         * io/open_2.c: ... this new file.
59474         * io/open64.c (__open64_2): Moved to ...
59475         * io/open64_2.c: ... this new file.
59476         * io/openat.c (__openat_2): Moved to ...
59477         * io/openat_2.c: ... this new file.
59478         * io/openat64.c (__openat64_2): Moved to ...
59479         * io/openat64_2.c: ... this new file.
59480         * io/Makefile (routines): Add them.
59481         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59482         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59483         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59484         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59485         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59486         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59487         (__openat64): Add hidden_ver.
59488         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59489         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59491         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59492         Separately conditionalize setting of GLRO(dl_sysinfo) so
59493         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59494         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59496 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59498         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59499         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59500         definition.
59501         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59502         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59503         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59504         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59505         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59507 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59509         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59510         test signgam value.
59512         * math/libm-test.inc (hypot_test): Do not use
59513         IGNORE_ZERO_INF_SIGN.
59515 2013-05-03  Andreas Jaeger  <aj@suse.de>
59517         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59518         Linux 3.9.
59519         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59520         (PF_MAX): Adjust for VSOCK change.
59522 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59526 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59528         [BZ #15264]
59529         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59530         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59531         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59533 2013-05-02  David S. Miller  <davem@davemloft.net>
59535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59537 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59539         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59541 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59543         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59545 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59547         [BZ #14952]
59548         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59549         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59550         Use __attribute__ ((__gnu_inline__)).
59551         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59552         Don't use __attribute__ ((__gnu_inline__)).
59554 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59556         [BZ #15423]
59557         * math/s_catan.c (__catan): Handle small real or imaginary part of
59558         input specially to avoid spurious underflow.
59559         * math/s_catanf.c (__catanf): Likewise.
59560         * math/s_catanh.c (__catanh): Likewise.
59561         * math/s_catanhf.c (__catanhf): Likewise.
59562         * math/s_catanhl.c (__catanhl): Likewise.
59563         * math/s_catanl.c (__catanl): Likewise.
59564         * math/libm-test.inc (catan_test): Add more tests.
59565         (catanh_test): Likewise.
59566         * sysdeps/i386/fpu/libm-test-ulps: Update.
59567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59569 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59573 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59575         [BZ #15416]
59576         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59577         accurately for denominator in atan2.
59578         * math/s_catanf.c (__catanf): Likewise.
59579         * math/s_catanh.c (__catanh): Likewise.
59580         * math/s_catanhf.c (__catanhf): Likewise.
59581         * math/s_catanhl.c (__catanhl): Likewise.
59582         * math/s_catanl.c (__catanl): Likewise.
59583         * math/libm-test.inc (catan_test): Add more tests.
59584         (catanh_test): Likewise.
59585         * sysdeps/i386/fpu/libm-test-ulps: Update.
59586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59588 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59590         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59592         * benchtests/Makefile (bench): Remove slow benchmarks.
59593         * benchtests/atan-inputs: Add slow benchmark inputs.
59594         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59595         (BENCH_FUNC): Accept variant offset.
59596         (VARIANT): Define.
59597         * benchtests/bench-skeleton.c (main): Run benchmark for each
59598         variant.
59599         * benchtests/cos-inputs: Add slow benchmark inputs.
59600         * benchtests/exp-inputs: Likewise.
59601         * benchtests/pow-inputs: Likewise.
59602         * benchtests/sin-inputs: Likewise.
59603         * benchtests/slowatan-inputs: Remove.
59604         * benchtests/slowatan.c: Remove.
59605         * benchtests/slowcos-inputs: Remove.
59606         * benchtests/slowcos.c: Remove.
59607         * benchtests/slowexp-inputs: Remove.
59608         * benchtests/slowexp.c: Remove.
59609         * benchtests/slowpow-inputs: Remove.
59610         * benchtests/slowpow.c: Remove.
59611         * benchtests/slowsin-inputs: Remove.
59612         * benchtests/slowsin.c: Remove.
59613         * benchtests/slowtan-inputs: Remove.
59614         * benchtests/slowtan.c: Remove.
59615         * benchtests/tan-inputs: Add slow benchmark inputs.
59616         * scripts/bench.pl: Parse comments and directives.
59618         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59619         in CPPFLAGS.
59620         ($(objpfx)bench-%.c): Remove *-ITER.
59621         * benchtests/bench-modf.c: Remove definition of ITER.
59622         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59623         (main): Loop for DURATION seconds instead of fixed number of
59624         iterations.
59625         * scripts/bench.pl: Don't expect iterations in parameters.
59627 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59629         * io/fchdir.c (__fchdir): Renamed from fchdir.
59630         (fchdir): Define as weak alias.
59632 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59634         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59635         (ERRNO_EDOM): Likewise.
59636         (ERRNO_ERANGE): Likewise.
59637         (noErrnoTests): New variable.
59638         (init_max_error): Set errno to 0.
59639         (test_single_errno): New function.
59640         (test_errno): Likewise.
59641         (check_float_internal): Call test_errno.  Set errno to 0.
59642         (check_complex): Refer to errno tests in comment.
59643         (check_int): Call test_errno.  Set errno to 0.
59644         (check_long): Likewise.
59645         (check_bool): Likewise.
59646         (check_longlong): Likewise.
59647         (cos_test): Use ERRNO_* flags for errno tests instead of
59648         check_int.
59649         (expm1_test): Likewise.
59650         (fmod_test): Likewise.
59651         (ilogb_test): Likewise.
59652         (lgamma_test): Likewise.
59653         (pow_test): Likewise.
59654         (remainder_test): Likewise.
59655         (sin_test): Likewise.
59656         (tan_test): Likewise.
59657         (yn_test): Likewise.
59658         (initialize): Set errno to 0.
59659         (main): Print number of errno tests.
59660         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59662 2013-04-29  Andreas Jaeger  <aj@suse.de>
59664         [BZ #15084]
59665         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59666         and RES_USEVC.
59668         [BZ #15085]
59669         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59670         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59671         unimplemented.
59673         [BZ #15380]
59674         * stdlib/random.c (__initstate): Return NULL if
59675         __initstate fails.
59677         [BZ #15086]
59678         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59679         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59680         RES_SNGLKUPREOP.
59682 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59686 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59688         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59689         of individual tests.
59690         (casin_test): Likewise.
59691         (casinh_test): Likewise.
59693 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59695         [BZ #15409]
59696         * math/s_catan.c (__catan): Handle arguments with large real or
59697         imaginary part separately without squaring.
59698         * math/s_catanf.c (__catanf): Likewise.
59699         * math/s_catanh.c (__catanh): Likewise.
59700         * math/s_catanhf.c (__catanhf): Likewise.
59701         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59702         and redefine.
59703         (__catanhl): Handle arguments with large real or imaginary part
59704         separately without squaring.
59705         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59706         and redefine.
59707         (__catanl): Handle arguments with large real or imaginary part
59708         separately without squaring.
59709         * math/libm-test.inc (catan_test): Add more tests.
59710         (catanh_test): Likewise.
59711         * sysdeps/i386/fpu/libm-test-ulps: Update.
59712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59714 2013-04-27  Andreas Jaeger  <aj@suse.de>
59716         [BZ #15007]
59717         * stdlib/stdlib.h: Update guards for qecvt.
59718         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59719         <stdlib.h>.
59721 2013-04-27  Allan McRae  <allan@archlinux.org>
59723         * sysdeps/i386/fpu/libm-test-ulps: Update.
59725 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59727         [BZ #15406]
59728         * math/s_catan.c: Include <float.h>.
59729         (__catan): Ensure underflow exception occurs for underflowed
59730         result.
59731         * math/s_catanf.c: Include <float.h>.
59732         (__catanf): Ensure underflow exception occurs for underflowed
59733         result.
59734         * math/s_catanh.c: Include <float.h>.
59735         (__catanh): Ensure underflow exception occurs for underflowed
59736         result.
59737         * math/s_catanhf.c: Include <float.h>.
59738         (__catanhf): Ensure underflow exception occurs for underflowed
59739         result.
59740         * math/s_catanhl.c: Include <float.h>.
59741         (__catanhl): Ensure underflow exception occurs for underflowed
59742         result.
59743         * math/s_catanl.c: Include <float.h>.
59744         (__catanl): Ensure underflow exception occurs for underflowed
59745         result.
59746         * math/libm-test.inc (catan_test): Add more tests.
59747         (catanh_test): Likewise.
59749         [BZ #15405]
59750         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59751         underflowed result.
59752         * math/s_ccoshf.c (__ccoshf): Likewise.
59753         * math/s_ccoshl.c (__ccoshl): Likewise.
59754         * math/s_csin.c (__csin): Likewise.
59755         * math/s_csinf.c (__csinf): Likewise.
59756         * math/s_csinh.c (__csinh): Likewise.
59757         * math/s_csinhf.c (__csinhf): Likewise.
59758         * math/s_csinhl.c (__csinhl): Likewise.
59759         * math/s_csinl.c (__csinl): Likewise.
59760         * math/libm-test.inc (ccos_test): Add more tests.
59761         (ccosh_test): Likewise.
59762         (csin_test): Likewise.
59763         (csinh_test): Likewise.
59765 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59767         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59768         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59769         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59770         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59771         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59772         powerpc/power5+/fpu folders.
59773         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59776 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59780 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59782         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59783         additions to variable.
59784         [$(config-machine) = x86_64] (modules-names): Likewise.
59785         ($(objpfx)tst-audit3): Remove dependency.
59786         ($(objpfx)tst-audit3.out): Likewise.
59787         ($(objpfx)tst-audit4): Likewise.
59788         ($(objpfx)tst-audit4.out): Likewise.
59789         ($(objpfx)tst-audit5): Likewise.
59790         ($(objpfx)tst-audit5.out): Likewise.
59791         ($(objpfx)tst-audit6): Likewise.
59792         ($(objpfx)tst-audit6.out): Likewise.
59793         ($(objpfx)tst-audit7): Likewise.
59794         ($(objpfx)tst-audit7.out): Likewise.
59795         (tst-audit3-ENV): Remove variable.
59796         (tst-audit4-ENV): Likewise.
59797         (tst-audit5-ENV): Likewise.
59798         (tst-audit6-ENV): Likewise.
59799         (tst-audit7-ENV): Likewise.
59800         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59801         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59802         addition to variable.
59803         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59804         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59805         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59806         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59807         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59808         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59809         tst-audit3, tst-audit4 and tst-audit5.
59810         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59811         tst-audit6 and tst-audit7.
59812         [$(subdir) = elf] (modules-names): Add audit modules for those
59813         tests.
59814         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59815         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59816         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59817         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59818         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59819         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59820         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59821         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59822         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59823         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59824         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59825         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59826         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59827         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59828         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59829         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59830         Likewise.
59831         [$(subdir) = elf && $(config-cflags-avx) = yes]
59832         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59833         [$(subdir) = elf && $(config-cflags-avx) = yes]
59834         (CFLAGS-tst-auditmod4a.c): Likewise.
59835         [$(subdir) = elf && $(config-cflags-avx) = yes]
59836         (CFLAGS-tst-auditmod4b.c): Likewise.
59837         [$(subdir) = elf && $(config-cflags-avx) = yes]
59838         (CFLAGS-tst-auditmod6b.c): Likewise.
59839         [$(subdir) = elf && $(config-cflags-avx) = yes]
59840         (CFLAGS-tst-auditmod6c.c): Likewise.
59841         [$(subdir) = elf && $(config-cflags-avx) = yes]
59842         (CFLAGS-tst-auditmod7b.c): Likewise.
59843         * elf/tst-audit3.c: Move to ...
59844         * sysdeps/x86_64/tst-audit3.c: ... here.
59845         * elf/tst-audit4.c: Move to ...
59846         * sysdeps/x86_64/tst-audit4.c: ... here.
59847         * elf/tst-audit5.c: Move to ...
59848         * sysdeps/x86_64/tst-audit5.c: ... here.
59849         * elf/tst-audit6.c: Move to ...
59850         * sysdeps/x86_64/tst-audit6.c: ... here.
59851         * elf/tst-audit7.c: Move to ...
59852         * sysdeps/x86_64/tst-audit7.c: ... here.
59853         * elf/tst-auditmod3a.c: Move to ...
59854         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59855         * elf/tst-auditmod3b.c: Move to ...
59856         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59857         * elf/tst-auditmod4a.c: Move to ...
59858         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59859         * elf/tst-auditmod4b.c: Move to ...
59860         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59861         * elf/tst-auditmod5a.c: Move to ...
59862         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59863         * elf/tst-auditmod5b.c: Move to ...
59864         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59865         * elf/tst-auditmod6a.c: Move to ...
59866         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59867         * elf/tst-auditmod6b.c: Move to ...
59868         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59869         * elf/tst-auditmod6c.c: Move to ...
59870         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59871         * elf/tst-auditmod7a.c: Move to ...
59872         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59873         * elf/tst-auditmod7b.c: Move to ...
59874         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59876 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59878         [BZ #15366]
59879         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59880         define unconditionally.
59881         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59882         define unconditionally.
59883         (INT8_C, INT16_C, etc.): Likewise.
59885 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59887         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59888         __ehdr_start with hidden visibility.
59890         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59892 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59894         * math/libm-test.inc (cos_test): Use accurate hex constants.
59895         (sincost_test): Likewise.
59897 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59899         * math/libm-test.inc (catan_test): Add more tests.
59900         (catanh_test): Likewise.
59902         * math/s_catanf.c (__catanf): Use suffixed floating-point
59903         constants.
59904         * math/s_catanhf.c (__catanhf): Likewise.
59905         * math/s_catanhl.c (__catanhl): Likewise.
59906         * math/s_catanl.c (__catanl): Likewise.
59908         [BZ #15394]
59909         * math/s_catan.c (__catan): Calculate imaginary part of result
59910         with log1p not log unless computing log of number close to 0.
59911         * math/s_catanf.c (__catanf): Likewise.
59912         * math/s_catanl.c (__catanl): Likewise.
59913         * math/s_catanh.c (__catanh): Calculate real part of result with
59914         log1p not log unless computing log of number close to 0.
59915         * math/s_catanhf.c (__catanhf): Likewise.
59916         * math/s_catanhl.c (__catanhl): Likewise.
59917         * math/libm-test.inc (catan_test): Add more tests.
59918         (catanh_test): Likewise.
59919         * sysdeps/i386/fpu/libm-test-ulps: Update.
59920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59922 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59924         * benchtests/Makefile: Mention files in which fast and slow
59925         paths of math functions are implemented.
59927 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59929         * sysdeps/posix/timespec_get.c: New file.
59931 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59933         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59934         POWER.
59935         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59936         for POWER.
59937         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59938         powerpc/power5/fpu folders.
59939         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59940         * benchtests/Makefile: Add modf testcase.
59941         * benchtests/bench-modf.c: New file: Benchmark test for mo
59943 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59945         [BZ #14888]
59946         * time/Makefile (tests): Add tst-strptime-whitespace.
59947         * time/strptime_l.c (get_number): Use ISSPACE.
59948         (__strptime_internal): Likewise.
59949         * time/tst-strptime-whitespace.c: New test case.
59951 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59953         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59954         member.
59955         (_nss_files_init): Set it here.
59957 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59959         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59960         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59961         unsigned.
59963 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59965         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59967 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59969         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59970         size just once.
59972 2013-04-21  David S. Miller  <davem@davemloft.net>
59974         * po/ru.po: Update Russion translation from translation project.
59976 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59978         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59979         and setfsgid.
59981 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59983         * configure.in: Remove i386 configure warning. Remove i386 case.
59984         * configure: Regenerate.
59985         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59986         Add example to error message.
59987         * sysdeps/i386/configure: Regenerate.
59989 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59991         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59992         slowtan.
59993         * benchtests/cos-inputs: New file.
59994         * benchtests/slowcos-inputs: New file.
59995         * benchtests/slowcos.c: New file.
59996         * benchtests/slowtan-inputs: New file.
59997         * benchtests/slowtan.c: New file.
59998         * benchtests/tan-inputs: New file.
60000 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60002         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60003         considered kosher.
60005 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60007         * benchtests/Makefile: Include cppflags-iterator.mk to add
60008         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60010         * Makefile.in (bench-clean): New target.
60011         * benchtests/Makefile (bench-clean): Likewise.
60013 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60015         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60017 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60019         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60021 2013-04-15  Andreas Schwab  <schwab@suse.de>
60023         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60025         * nscd/pwdcache.c (cache_addpw): Likewise.
60026         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60027         more than recsize.
60029 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60031         * benchtests/Makefile (bench): Write all output to
60032         bench-out.tmp together.
60034 2013-04-15  Andreas Schwab  <schwab@suse.de>
60036         * nscd/nscd.c (main): Don't fork again after closing files.
60038 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60040         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60042         * benchtests/Rules (bench-deps): Collect dependencies into a
60043         single variable.  Add Makefile to dependencies.
60044         ($(objpfx)bench-%.c): Depend on bench-deps.
60046 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60047             Xavier Roche  <roche+kml2@exalead.com>
60049         [BZ #15361]
60050         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60051         just that it's a file descriptor.
60052         * manual/llio.texi (Synchronizing AIO Operations): Update description
60053         for EBADF error from aio_fsync.
60055 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60057         * Rules (bench): Move target definition...
60058         * benchtests/Makefile: ... here.
60060 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60062         * math/libm-test.inc (cos_test): Fix PI/2 test.
60063         (sincos_test): Likewise.
60064         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60065         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60067 2013-04-11  Andreas Schwab  <schwab@suse.de>
60069         [BZ #13988]
60070         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60071         accept exponent character only when digits were seen.
60072         * stdio-common/Makefile (tests): Add bug26.
60073         * stdio-common/bug26.c: New file.
60075         [BZ #14293]
60076         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60077         non-freeable.
60079 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60081         * Makeconfig (rtld-prefix): Define built linker prefix.
60082         * Rules (run-bench): Use it.
60083         * math/Makefile (run-regen-ulps): Likewise.
60085         * Rules (bench): Remove eval.
60087 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60088             Roland McGrath  <roland@hack.frob.com>
60089             Ondrej Bilka  <neleai@seznam.cz>
60091         [BZ #15346]
60092         * time/getdate.c: Include ctype.h and alloca.h.
60093         (__getdate_r): Trim leading and trailing spaces of input.
60094         * time/tst-getdate.c (tests): Add tests with leading and
60095         trailing spaces.
60097 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60099         [BZ #14280]
60100         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60101         when computing value.
60103 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60105         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60106         Use testrun.sh to run libm tests.
60108         [BZ #15309]
60109         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60111 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60113         [BZ #15264]
60114         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60116 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60118         * Makefile.in (regen-ulps): New target.
60119         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60120         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60121         [ifneq (no,$(PERL)] (regen-ulps): New target.
60122         [ifeq (no,$(PERL)] (regen-ulps): New target.
60123         * math/libm-test.inc (ulps_file_name): Define.
60124         (output_dir): New variable.
60125         (options): Add "output-dir" option.
60126         (parse_opt): Handle 'o' case.
60127         (main): If output_dir is non-NULL use it as a prefix
60128         otherwise use "".
60129         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60131 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60133         [BZ #10060, #10062]
60134         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60135         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60136         fail configure if __sync_val_compare_and_swap is not inlined.
60137         * sysdeps/i386/configure: Regenerate.
60138         * configure.in: Build for i686 when configured for i386.
60139         * configure: Regenerate.
60140         * README: Remove i386 reference.
60142 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60144         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60145         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60147 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60149         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60150         (lmsnanval): New variables.
60151         (F): Add conversion tests.
60152         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60153         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60155         * stdio-common/tstdiomisc.c (F): Properly collect individual
60156         tests' results.
60158         [BZ #14686, #15336]
60159         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60160         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60161         Instead, use input NaN values or generate a qNaN by arithmetic
60162         operation.  Also fix bugs to comply with the standard.
60163         * math/libm-test.inc (remainder_test): Add more tests.
60165         [BZ #15335, #15342]
60166         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60168         input NaN values or generate a qNaN by arithmetic operation.
60170         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60171         unreachable code.
60173         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60174         definitions.
60176 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60178         [BZ #14478]
60179         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60180         underflowed result.
60181         * math/s_cexpf.c (__cexpf): Likewise.
60182         * math/s_cexpl.c (__cexpl): Likewise.
60183         * math/libm-test.inc (cexp_test): Add more tests.
60185 2013-04-03  Andreas Schwab  <schwab@suse.de>
60187         [BZ #15330]
60188         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60189         order arrays from heap if bigger than alloca cutoff.
60191 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60193         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60194         (SNAN_TESTS_double): Refer to GCC PR56831.
60195         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60196         GCC PR56828.
60198 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60200         * Rules (bench): Move bench.out after the run is complete.
60202         * Rules (bench): Echo currently running benchmark.
60204         * benchtests/Makefile (bench): Add atan and slowatan.
60205         * benchtests/atan-inputs: New file.
60206         * benchtests/slowatan-inputs: New file.
60207         * benchtests/slowatan.c: New file.
60209         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60210         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60211         its value.
60213         [BZ #15305]
60214         * sysdeps/unix/sysv/linux/kernel-features.h
60215         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60216         __ASSUME_XFS_RESTRICTED_CHOWN.
60217         * sysdeps/unix/sysv/linux/pathconf.c
60218         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60219         Save and restore errno.
60221 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60223         [BZ #15327]
60224         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60225         arguments using __kernel_casinh.
60226         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60227         arguments using __kernel_casinhf.
60228         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60229         arguments using __kernel_casinhl.
60230         * math/libm-test.inc (cacosh_test): Add more tests.
60231         * sysdeps/i386/fpu/libm-test-ulps: Update.
60232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60234 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60236         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60239         * bench/Makefile (bench): Add sin and slowsin.
60240         * benchtests/sin-inputs: New file.
60241         * benchtests/slowsin-inputs: New file.
60242         * benchtests/slowsin.c: New file.
60244         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60245         (bench): Add slowexp and slowpow.
60246         (exp-ITER): Increase iterations.
60247         (pow-ITER): Likewise.
60248         * benchtests/exp-inputs: Change input.
60249         * benchtests/pow-inputs: Likewise.
60250         * benchtests/slowexp-inputs: New file.
60251         * benchtests/slowexp.c: New file.
60252         * benchtests/slowpow-inputs: New file.
60253         * benchtests/slowpow.c: New file.
60255 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60257         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60258         instructions.
60259         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60260         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60261         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60262         * benchtests/Makefile: Add rint benchtest.
60263         * benchtests/rint-inputs: Input for rint benchtest.
60265 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60267         * Versions.def (libm): Add GLIBC_2.18.
60268         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60269         hidden libm prototypes.
60270         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60271         * math/Makefile (libm-calls): Add s_issignaling.
60272         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60273         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60274         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60275         declaration.
60276         * math/math.h [__USE_GNU] (issignaling): New macro.
60277         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60278         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60279         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60280         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60281         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60282         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60283         * manual/arith.texi (issignaling): New section.
60284         * manual/libm-err-tab.pl (@all_functions): Update comment.
60285         * math/gen-libm-test.pl (parse_args): Apply special handling for
60286         issignaling.
60287         * math/libm-test.inc (print_float, issignaling_test): New
60288         functions.
60289         (check_float_internal): Add issignaling checks.
60290         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60291         default definition.
60292         * sysdeps/powerpc/math-tests.h: New file.
60293         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60294         tests.
60295         * math/test-snan.c (TEST_FUNC): Likewise.
60297 2013-03-30  David S. Miller  <davem@davemloft.net>
60299         * po/de.po: Update from translation team.
60301 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60303         [BZ #10357]
60304         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60305         imaginary part less than 1.0 and real part less than 0.5
60306         specially.
60307         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60308         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60309         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60310         (cacos_test): Add more tests.
60311         (casin_test): Likewise.
60312         (casinh_test): Likewise.
60313         * sysdeps/i386/fpu/libm-test-ulps: Update.
60314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60316 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60318         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60319         ONE with its value.
60321         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60322         (__pow_mp): Replace ONE and MONE with their values.
60323         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60324         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60325         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60326         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60327         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60328         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60330         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60332         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60333         (__pow_mp): Replace ZERO and MZERO with their values.
60334         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60336         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60338         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60339         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60340         (__sqr): Likewise.
60342         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60344         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60346 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60348         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60349         Declare with __attribute__ ((weak)).
60350         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60351         Call __call_tls_dtors only if it's not NULL.
60353 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60355         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60356         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60357         magic __ehdr_start linker symbol if it's defined.
60358         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60359         them up here if it was already done.
60361         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60362         (_dl_aux_init): Use const in cast when setting it.
60363         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60364         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60365         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60367         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60368         Declare them here.
60369         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60370         * csu/libc-tls.c: Nor here.
60371         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60373         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60374         (__libc_message): Never call vsyslog.
60376 2013-03-28  Alan Modra  <amodra@gmail.com>
60378         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60379         Define as empty.
60380         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60381         Likewise.
60383 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60385         [BZ #15214]
60386         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60387         underflow.
60388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60390 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60392         [BZ #15304]
60393         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60394         Don't add gid passed as argument.
60396         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60398 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60400         [BZ #15307]
60401         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60402         imaginary part between 1.0 and 1.5 and real part less than 0.5
60403         specially.
60404         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60405         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60406         * math/libm-test.inc (cacos_test): Add more tests.
60407         (casin_test): Likewise.
60408         (casinh_test): Likewise.
60409         * sysdeps/i386/fpu/libm-test-ulps: Update.
60410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60412 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60414         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60415         constants.
60416         (norm): Likewise.
60417         (denorm): Likewise.
60418         (__dbl_mp): Likewise.
60419         (add_magnitudes): Likewise.
60420         (sub_magnitudes): Likewise.
60421         (__add): Likewise.
60422         (__sub): Likewise.
60423         (__mul): Likewise.
60424         (__sqr): Likewise.
60425         (__inv): Likewise.
60426         (__dvd): Likewise.
60428         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60429         commented code.
60430         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60431         (__dubcos): Likewise.
60432         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60433         (__ieee754_acos): Likewise.
60434         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60435         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60436         (__exp1): Likewise.
60437         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60439         (log1): Likewise.
60440         (my_log2): Likewise.
60441         (checkint): Likewise.
60442         * sysdeps/ieee754/dbl-64/e_remainder.c
60443         (__ieee754_remainder): Likewise.
60444         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60446         (bsloww): Likewise.
60447         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60449         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60450         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60451         MANTISSA_STORE_T to store computations on mantissa.  Use
60452         macros for rounding and division.
60453         (denorm): Likewise.
60454         (__dbl_mp): Likewise.
60455         (add_magnitudes): Likewise.
60456         (sub_magnitudes): Likewise.
60457         (__mul): Likewise.
60458         (__sqr): Likewise.
60459         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60460         powers of two in terms of TWOPOW macro.
60461         (mp_no): Make type of mantissa as MANTISSA_T.
60462         [!RADIXI]: Define RADIXI.
60463         [!TWO52]: Define TWO52.
60464         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60466 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60468         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60469         llroundl symbol when building for PPC32.
60471 2013-03-24  Mark H Weaver  <mhw@netris.org>
60473         * manual/arith.texi (Normalization Functions): Fix prototypes for
60474         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60476 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60478         [BZ #13889]
60479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60480         high value to check if expl overflow.
60481         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60482         to check for underflow and overflow.
60483         * math/libm-test.inc: Add exp test.
60485 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60487         [BZ #11120]
60488         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60489         with NOT_IN_libc.
60491 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60493         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60494         symbol.
60496 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60498         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60499         wrap blocks consisting of several statements.
60501         * sysdeps/generic/math-tests.h: New file.
60502         * sysdeps/i386/fpu/math-tests.h: Likewise.
60503         * math/test-snan.c: Include it.
60504         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60506 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60508         [BZ #15285]
60509         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60510         (__ieee754_j0l): Do not improve calculations using cos of twice
60511         input for inputs above LDBL_MAX / 2.0L.
60512         (__ieee754_y0l): Likewise.
60513         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60514         (__ieee754_j1l): Do not improve calculations using cos of twice
60515         input for inputs above LDBL_MAX / 2.0L.
60516         (__ieee754_y1l): Likewise.
60517         * math/libm-test.inc (j0_test): Add another test.
60518         (j1_test): Likewise.
60519         (y0_test): Likewise.
60520         (y1_test): Likewise.
60521         * sysdeps/i386/fpu/libm-test-ulps: Update.
60523 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60525         * Rules ($(objpfx)bench-%.c): Include code from a C source
60526         file.
60528 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60530         [BZ #15287]
60531         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60532         imaginary part 1.0 and real part less than 0.5 specially.
60533         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60534         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60535         * math/libm-test.inc (cacos_test): Add more tests.
60536         (casin_test): Likewise.
60537         (casinh_test): Likewise.
60538         * sysdeps/i386/fpu/libm-test-ulps: Update.
60539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60541 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60544         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60546 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60548         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60549         * config.make.in (config-cflags-sse4): Remove variable.
60550         (config-cflags-avx): Likewise.
60551         (config-cflags-sse2avx): Likewise.
60552         (config-cflags-novzeroupper): Likewise.
60553         (config-asflags-i686): Likewise.
60554         (have-mfma4): Likewise.
60555         (have-as-vis3): Likewise.
60556         (MIG): Likewise.
60557         * configure.in (MIG): Do not AC_SUBST.
60558         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60559         (libc_cv_cc_sse4): Do not AC_SUBST.
60560         (libc_cv_cc_avx): Likewise.
60561         (libc_cv_cc_sse2avx): Likewise.
60562         (libc_cv_cc_novzeroupper): Likewise.
60563         (libc_cv_cc_fma4): Likewise.
60564         (libc_cv_as_i686): Likewise.
60565         (libc_cv_sparc_as_vis3): Likewise.
60566         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60567         LIBC_CONFIG_VAR.
60568         (config-asflags-i686): Likewise.
60569         (config-cflags-avx): Likewise.
60570         (config-cflags-sse2avx): Likewise.
60571         (have-mfma4): Likewise.
60572         (config-cflags-novzeroupper): Likewise.
60573         * sysdeps/mach/configure.in (MIG): Likewise.
60574         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60575         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60576         LIBC_CONFIG_VAR.
60577         (config-cflags-avx): Likewise.
60578         (config-cflags-sse2avx): Likewise.
60579         (have-mfma4): Likewise.
60580         (config-cflags-novzeroupper): Likewise.
60581         * configure: Regenerated.
60582         * sysdeps/i386/configure: Likewise.
60583         * sysdeps/mach/configure: Likewise.
60584         * sysdeps/sparc/configure: Likewise.
60585         * sysdeps/x86_64/configure: Likewise.
60587 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60589         [BZ #14812]
60590         * locale/programs/localedef.c (options): Put N_ translation marker
60591         on argument names, not just descriptions.
60593 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60595         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60597 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60599         [BZ #14176]
60600         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60602 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60604         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60605         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60606         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60607         [!BEFORE_ABORT] (before_abort): New function.
60608         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60609         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60610         (writev_for_fatal): New function.
60611         (WRITEV_FOR_FATAL): New macro; call that.
60612         (backtrace_and_maps): New function.
60613         (BEFORE_ABORT): New macro; call that.
60614         (struct str_list): Type removed.
60615         (__libc_message, __libc_fatal): Functions removed.
60616         Include <sysdeps/posix/libc_fatal.c> instead.
60618 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60620         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60621         constants.
60622         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60623         double constants.
60625 2013-03-19  Andreas Schwab  <schwab@suse.de>
60627         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60628         * sysdeps/gnu/configure: Regenerate.
60630         * configure.in: Substitute libc_cv_rtlddir.
60631         * configure: Regenerate.
60632         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60633         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60634         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60635         * elf/Makefile (install-others, CFLAGS-interp.c)
60636         (ldso_install, common-ldd-rewrite): Likewise.
60637         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60638         $(inst_slibdir)/$(rtld-installed-name).
60639         * scripts/rellns-sh: Add -p option.
60640         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60641         for source.
60643 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60645         * manual/nptl.texi: Renamed to ...
60646         * manual/threads.texi: ... this.
60647         * manual/Makefile (chapters): Update.
60649 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60651         [BZ #14812]
60652         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60653         on argument names, not just descriptions.
60654         * malloc/memusagestat.c (options): Likewise.
60655         * nss/getent.c (options): Likewise.
60657 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60659         [BZ #14812]
60660         * iconv/iconv_prog.c (options): Put N_ translation marker
60661         on argument names, not just descriptions.
60662         * iconv/iconvconfig.c (options): Likewise.
60664 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60666         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60667         implementation which is faster on all x86_64 architectures.
60668         Tested on AMD, Intel Nehalem, SNB, IVB.
60669         * sysdeps/x86_64/strnlen.S: Likewise.
60671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60672         Remove all multiarch strlen and strnlen versions.
60673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60674         Remove strlen and strnlen related parts.
60676         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60677         Inline strlen part.
60678         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60680         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60681         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60682         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60683         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60684         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60685         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60687 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60689         * manual/memory.texi (Malloc Tunable Parameters):
60690         Sort parameters alphabetically. Add comments for missing entries.
60692 2013-03-17  David S. Miller  <davem@davemloft.net>
60694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60696 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60698         [BZ #15283]
60699         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60700         for arguments at most half maximum finite value.
60701         * math/libm-test.inc (j0_test): Add more tests.
60702         (j1_test): Likewise.
60703         (y0_test): Likewise.
60704         (y1_test): Likewise.
60705         * sysdeps/i386/fpu/libm-test-ulps: Update.
60706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60708         [BZ #14155]
60709         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60710         1 / x and functions P and Q for arguments above 0x1p256L.
60711         (__ieee754_y0l): Likewise.
60712         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60713         (__ieee754_y1l): Likewise.
60714         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60715         (j1_test): Likewise.
60716         (y0_test): Likewise.
60717         (y1_test): Likewise.
60719 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60721         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60722         variable.
60724 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60726         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60727         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60728         zero since it's initialized to EXEC_PAGESIZE.
60730         * sysdeps/unix/sysv/linux/ldsodefs.h
60731         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60732         * sysdeps/generic/ldsodefs.h: ... here.
60734 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60736         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60738         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60739         math/test-snan.c.
60740         * math/test-snan.c: Renamed from
60741         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60742         * math/Makefile (tests): Add test-snan.
60743         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60744         test-powerpc-snan.
60746         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60747         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60748         functions.
60749         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60750         __builtin_nan family of functions.
60751         * math/libm-test.inc (initialize): Initialize qnan_value with
60752         __builtin_nan family of functions.
60753         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60754         Remove variables.
60755         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60756         Remove functions.
60757         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60758         storage class.  Initialize qNaN_var and sNaN_var with
60759         __builtin_nan and __builtin_nans families of functions,
60760         respectively.
60762         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60763         (sqrt_test): Remove duplicate test with qNaN input.
60764         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60765         (round_test, signbit_test, significand_test): Note missing +/-Inf
60766         as well as qNaN tests.
60768         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60769         qNaN_var.  Fix a few strings, too.
60770         * math/libm-test.inc (nan_value): Rename to qnan_value.
60771         * math/gen-libm-test.pl (%beautify): Adjust to that.
60772         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60773         * math/test-misc.c (main): Likewise.
60774         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60775         to __qnan_bytes, and __qnan_union, respectively.
60776         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60777         Likewise.
60778         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60779         and lqnanval, respectively.
60780         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60781         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60782         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60783         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60785         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60786         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60787         doubles.
60789         * math/test-misc.c (main): Fix copy'n'pastos.
60790         * misc/tst-efgcvt.c (special): Likewise.
60792         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60793         Remove declarations.
60795 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60797         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60798         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60799         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60800         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60802 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60805         macro to return vdso values correctly in IFUNC implementations.
60806         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60807         Optimization by using IFUNC.
60809 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60810             Richard Henderson  <rth@redhat.com>
60811             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60813         * Makefile.in (bench): New target.
60814         * NEWS: Mention the benchmark framework.
60815         * Rules (bench): Likewise.
60816         (binaries-bench): Generate binaries for functions to
60817         benchmark.
60818         * benchtests/Makefile: New makefile for benchmark tests.
60819         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60820         programs.
60821         * benchtests/exp-inputs: New input file for EXP function.
60822         * benchtests/pow-inputs: New input file for POW function.
60823         * scripts/bench.pl: New script to generate source files for
60824         benchmark programs.
60826 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60828         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60829         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60830         computations on mantissa.  Use macros for rounding and
60831         division.
60832         (denorm): Likewise.
60833         (__dbl_mp): Likewise.
60834         (add_magnitudes): Likewise.
60835         (sub_magnitudes): Likewise.
60836         (__mul): Likewise.
60837         (__sqr): Likewise.
60838         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60839         powers of two in terms of TWOPOW macro.
60840         (mp_no): Make type of mantissa as MANTISSA_T.
60841         [!RADIXI]: Define RADIXI.
60842         [!TWO52]: Define TWO52.
60843         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60845         * manual/nptl.texi (cindex): Modify threads to pthreads.
60847 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60849         * sysdeps/x86_64/preconfigure: Regenerated.
60851 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60853         [BZ #14155]
60854         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60855         0x1p28 and above.
60856         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60857         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60858         0x1p28 and above.
60859         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60860         * math/libm-test.inc (j0_test): Do not allow one spurious
60861         underflow exception.
60862         (y1_test): Likewise.
60864 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60866         * manual/Makefile (chapters): Add nptl.
60867         * manual/debug.texi (Debugging Support): Add link to Threads
60868         chapter.
60869         * manual/nptl.texi: New file.
60871         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60873 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60875         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60876         for non-NULL pointer before the memory validity test. Pointed
60877         out by Holger Brunck <holger.brunck@keymile.com>.
60879 2013-03-13  Andreas Schwab  <schwab@suse.de>
60881         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60882         instead of .os.
60884 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60886         * timezone/zic.c: Update from tzcode 2013b.
60888 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60890         * manual/install.texi (Configuring and compiling):
60891         Mention i686 and i586.
60892         * INSTALL: Regenerate.
60894 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60896         * sysdeps/init_array/elf-init.c: New file.
60897         * csu/elf-init.c
60898         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60899         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60901         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60902         __gmon_start__ as global, but as static with a .preinit_array pointer.
60903         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60904         * sysdeps/init_array/crti.S: New file, empty except for comments.
60905         * sysdeps/init_array/crtn.S: Likewise.
60907 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60909         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60910         definining bcopy.
60911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60912         Remove Prefer_SSE_for_memop.
60913         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60914         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60915         HAS_PREFER_SSE_FOR_MEMOP.
60916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60917         memset-x86-64.
60918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60919         Remove bzero, memset ifunc support.
60920         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60921         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60922         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60925 2013-03-11  Andreas Schwab  <schwab@suse.de>
60927         [BZ #15234]
60928         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60929         by SHLIB_COMPAT.
60930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60931         (GLIBC_2.16): Remove pthread_atfork.
60933 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60935         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60936         (ptestcases.h): Likewise.
60938 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60940         * Makeconfig ($(common-objpfx)config.status): Depend on
60941         sysdeps/*/preconfigure{,.in} too.
60943 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60945         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60946         (__free_hook): Use void * instead of __malloc_ptr_t.
60947         (__malloc_hook): Likewise.
60948         (__realloc_hook): Likewise.
60949         (__memalign_hook): Likewise.
60950         (__after_morecore_hook): Likewise.
60951         * malloc/arena.c (save_malloc_hook): Likewise.
60952         (save_free_hook): Likewise.
60953         * malloc/hooks.c (malloc_hook_ini): Likewise.
60954         (realloc_hook_ini): Likewise.
60955         (memalign_hook_ini): Likewise.
60956         * malloc/malloc.c (malloc_hook_ini): Likewise.
60957         (realloc_hook_ini): Likewise.
60958         (memalign_hook_ini): Likewise.
60959         (__free_hook): Likewise.
60960         (__malloc_hook): Likewise.
60961         (__realloc_hook): Likewise.
60962         (__memalign_hook): Likewise.
60963         (__libc_malloc): Likewise.
60964         (__libc_free): Likewise.
60965         (__libc_realloc): Likewise.
60966         (__libc_memalign): Likewise.
60967         (__libc_valloc): Likewise.
60968         (__libc_pvalloc): Likewise.
60969         (__libc_calloc): Likewise.
60970         (__posix_memalign): Likewise.
60971         * malloc/morecore.c (__sbrk): Likewise.
60972         (__default_morecore): Likewise.
60974         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60976         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60977         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60978         __malloc_ptrdiff_t.
60980         * malloc/malloc.h (__malloc_size_t): Remove macro.
60981         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60982         __malloc_size_t.
60983         (old_memalign_hook): Likewise.
60984         (old_realloc_hook): Likewise.
60985         (struct hdr): Likewise.
60986         (flood): Likewise.
60987         (mallochook): Likewise.
60988         (memalignhook): Likewise.
60989         (reallochook): Likewise.
60990         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60991         (tr_old_realloc_hook): Likewise.
60992         (tr_old_memalign_hook): Likewise.
60993         (tr_mallochook): Likewise.
60994         (tr_reallochook): Likewise.
60995         (tr_memalignhook): Likewise.
60997 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61000         default_ldbl_pack and using as default implementation.
61001         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61002         implementation.
61003         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61004         redundant definition.
61005         (ldbl_insert_mantissa): Likewise.
61006         (ldbl_canonicalize): Likewise.
61007         (ldbl_nearbyint): Likewise.
61008         (ldbl_pack): Rename to ldbl_pack_ppc.
61009         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61010         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61011         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61013 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61016         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61017         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61018         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61020         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61021         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61022         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61024 2013-03-07  Andreas Jaeger  <aj@suse.de>
61026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61027         bits/mman-linux.h.
61029 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61031         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61032         Include mpa.h and declare __MPEXP.
61033         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61034         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61035         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61036         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61037         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61038         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61039         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61041         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61042         (__slowpow): Use long double EXPL and LOGL functions to
61043         compute POW.
61044         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61045         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61046         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61047         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61048         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61049         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61052         intermediate variable to calculate exponent.
61053         (__sqr): Likewise.
61054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61055         Likewise.
61056         (__sqr): Likewise.
61058         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61059         [!NO__SQR]: Define __sqr.
61060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61061         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61062         sysdeps/ieee754/dbl-64/mpa.c.
61063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61065         [BZ #12723]
61066         * posix/Makefile (tests): Add tst-pathconf.
61067         * posix/tst-pathconf.c: New test case.
61068         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61069         _PC_PIPE_BUF.
61070         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61072 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61074         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61076 2013-03-06  Andreas Jaeger  <aj@suse.de>
61078         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61079         definition via __MAP_ANONYMOUS.
61081         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61082         it's not part of Linux headers.
61084         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61085         (MAP_HUGE_MASK): Define.
61087         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61088         Define.
61089         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61090         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61091         Define.
61092         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61093         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61094         Define.
61095         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61096         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61097         Define.
61098         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61100         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61101         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61102         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61103         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61104         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61105         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61107         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61108         Handle f2fs.
61110         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61111         Handle f2fs and efivarfs.
61113         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61114         f2fs.
61116         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61117         (EFIVARFS_MAGIC): Add.
61118         (F2FS_LINK_MAX): Add.
61120 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61122         * stdio-common/vfprintf.c: Replace __builtin_expect with
61123         __glibc_unlikely.
61125 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61127         [BZ #13550]
61128         * sysdeps/generic/bp-sym.h: Remove file.
61129         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61130         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61131         <bp-sym.h> and <bp-asm.h>.
61132         (__longjmp): Don't use BP_SYM.
61133         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61134         and <bp-asm.h>.
61135         (memcpy): Don't use BP_SYM.
61136         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61137         <bp-sym.h> and <bp-asm.h>.
61138         (memcpy): Don't use BP_SYM.
61139         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61140         <bp-asm.h>.
61141         (memcpy): Don't use BP_SYM.
61142         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61143         <bp-asm.h>.
61144         (memset): Don't use BP_SYM.
61145         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61146         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61147         (__bzero): Don't use BP_SYM.
61148         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61149         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61150         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61151         <bp-sym.h> and <bp-asm.h>.
61152         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61153         pointers.
61154         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61155         <bp-sym.h> and <bp-asm.h>.
61156         (memcpy): Don't use BP_SYM.
61157         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61158         <bp-sym.h> and <bp-asm.h>.
61159         (memset): Don't use BP_SYM.
61160         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61161         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61162         (__bzero): Don't use BP_SYM.
61163         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61164         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61165         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61166         <bp-sym.h> and <bp-asm.h>.
61167         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61168         pointers.
61169         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61170         <bp-sym.h> and <bp-asm.h>.
61171         (memcpy): Don't use BP_SYM.
61172         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61173         <bp-sym.h> and <bp-asm.h>.
61174         (memset): Don't use BP_SYM.
61175         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61176         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61177         (__bzero): Don't use BP_SYM.
61178         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61179         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61180         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61181         <bp-sym.h> and <bp-asm.h>.
61182         (__memchr): Don't use BP_SYM.
61183         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61184         <bp-sym.h> and <bp-asm.h>.
61185         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61186         pointers.
61187         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61188         <bp-sym.h> and <bp-asm.h>.
61189         (memcpy): Don't use BP_SYM.
61190         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61191         <bp-sym.h> and <bp-asm.h>.
61192         (__mempcpy): Don't use BP_SYM.
61193         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61194         <bp-sym.h> and <bp-asm.h>.
61195         (__memrchr): Don't use BP_SYM.
61196         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61197         <bp-sym.h> and <bp-asm.h>.
61198         (memset): Don't use BP_SYM.
61199         (__bzero): Likewise.
61200         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61201         <bp-sym.h> and <bp-asm.h>.
61202         (__rawmemchr): Don't use BP_SYM.
61203         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61204         <bp-sym.h> and <bp-asm.h>.
61205         (__STRCMP): Don't use BP_SYM.
61206         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61207         <bp-sym.h> and <bp-asm.h>.
61208         (strchr): Don't use BP_SYM.
61209         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61210         <bp-sym.h> and <bp-asm.h>.
61211         (__strchrnul): Don't use BP_SYM.
61212         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61213         <bp-sym.h> and <bp-asm.h>.
61214         (strlen): Don't use BP_SYM.
61215         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61216         <bp-sym.h> and <bp-asm.h>.
61217         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61218         pointers.
61219         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61220         <bp-sym.h> and <bp-asm.h>.
61221         (__strnlen): Don't use BP_SYM.
61222         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61223         <bp-sym.h> and <bp-asm.h>.
61224         (__GI__setjmp): Don't use BP_SYM.
61225         (_setjmp): Likewise.
61226         (__sigsetjmp): Likewise.
61227         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61228         (L(start_addresses)): Don't use BP_SYM.
61229         (_start): Likewise.
61230         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61231         <bp-asm.h>.
61232         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61233         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61234         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61235         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61236         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61237         <bp-asm.h>.
61238         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61239         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61240         about bounded pointers.
61241         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61242         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61243         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61244         <bp-asm.h>.
61245         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61246         about bounded pointers.  Remove GKM FIXME comments.
61247         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61248         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61249         <bp-asm.h>.
61250         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61251         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61252         Remove GKM FIXME comments.
61253         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61254         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61255         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61256         <bp-asm.h>.
61257         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61258         about bounded pointers.  Remove GKM FIXME comment.
61259         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61260         and <bp-asm.h>.
61261         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61262         pointers.
61263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61264         <bp-sym.h> and <bp-asm.h>.
61265         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61267         <bp-sym.h> and <bp-asm.h>.
61268         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61269         comment.
61271 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61273         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61274         call free(NULL).
61276 2013-03-05  David S. Miller  <davem@davemloft.net>
61278         * po/es.po: Update from translation team.
61280 2013-03-05  Andreas Jaeger  <aj@suse.de>
61282         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61283         <bits/mman-linux.h>.
61284         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61285         is fine.
61286         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61287         <bits/mman-linux.h> to end of file.
61288         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61289         is fine.
61290         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61291         <bits/mman-linux.h> to end of file.
61292         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61293         is fine.
61294         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61295         <bits/mman-linux.h> to end of file.
61297         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61298         (MCL_CURRENT, MCL_FUTURE): Define here.
61300 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61302         [BZ #15232]
61303         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61304         attribute_hidden.
61305         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61307 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61309         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61310         fourth parameter needed for rt_sigprocmask syscall.
61311         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61312         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61313         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61314         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61315         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61316         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61318 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61320         [BZ #13550]
61321         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61322         comment about bounded pointers.
61323         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61324         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61326 2013-03-04  Andreas Jaeger  <aj@suse.de>
61328         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61329         common definitions.
61331         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61332         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61333         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61334         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61335         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61338 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61340         [BZ #15055]
61341         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61342         __ieee754_sqrl instead of __sqrl.
61344 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61346         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61347         * sysdeps/powerpc/fpu_control.h: ... here.
61348         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61349         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61350         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61351         * sysdeps/powerpc/bits/mathinline.h: ... here.
61353 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61355         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61356         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61357         to just [NEED_DL_SYSINFO_DSO].
61358         * elf/dl-support.c: Likewise.
61359         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61360         * elf/rtld.c (dl_main): Likewise.
61361         * elf/setup-vdso.h (setup_vdso): Likewise.
61362         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61363         * sysdeps/unix/sysv/linux/dl-sysdep.c
61364         (_dl_discover_osversion): Likewise.
61366 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61368         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61369         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61371 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61373         * NEWS: Mention libm performance improvements and non-x86 PI
61374         futex support.
61376         * csu/libc-start.c (__pthread_initialize_minimal): Change
61377         function arguments.
61378         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61380 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61382         [BZ #13550]
61383         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61384         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61385         <bp-sym.h> and <bp-asm.h>.
61386         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61387         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61388         and <bp-asm.h>.
61389         (memcpy): Don't use BP_SYM.
61390         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61391         <bp-asm.h>.
61392         (__mpn_add_n): Don't use BP_SYM.
61393         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61394         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61395         and <bp-asm.h>.
61396         (__mpn_addmul_1): Don't use BP_SYM.
61397         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61398         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61399         <bp-sym.h>.
61400         (_setjmp): Don't use BP_SYM.
61401         (__novmx_setjmp): Likewise.
61402         (__GI__setjmp): Likewise.
61403         (__vmx_setjmp): Likewise.
61404         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61405         <bp-sym.h>.
61406         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61407         (__bzero): Don't use BP_SYM.
61408         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61409         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61410         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61411         <bp-sym.h> and <bp-asm.h>.
61412         (memcpy): Don't use BP_SYM.
61413         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61414         <bp-sym.h> and <bp-asm.h>.
61415         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61416         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61417         <bp-sym.h> and <bp-asm.h>.
61418         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61419         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61420         <bp-asm.h>.
61421         (__mpn_lshift): Don't use BP_SYM.
61422         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61423         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61424         <bp-asm.h>.
61425         (memset): Don't use BP_SYM.
61426         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61427         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61428         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61429         <bp-asm.h>.
61430         (__mpn_mul_1): Don't use BP_SYM.
61431         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61432         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61433         <bp-sym.h> and <bp-asm.h>.
61434         (memcmp): Don't use BP_SYM.
61435         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61436         <bp-sym.h> and <bp-asm.h>.
61437         (memcpy): Don't use BP_SYM.
61438         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61439         <bp-sym.h> and <bp-asm.h>.
61440         (memset): Don't use BP_SYM.
61441         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61442         <bp-sym.h> and <bp-asm.h>.
61443         (strncmp): Don't use BP_SYM.
61444         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61445         <bp-sym.h> and <bp-asm.h>.
61446         (memcpy): Don't use BP_SYM.
61447         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61448         <bp-sym.h> and <bp-asm.h>.
61449         (memset): Don't use BP_SYM.
61450         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61451         <bp-sym.h> and <bp-asm.h>.
61452         (__memchr): Don't use BP_SYM.
61453         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61454         <bp-sym.h> and <bp-asm.h>.
61455         (memcmp): Don't use BP_SYM.
61456         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61457         <bp-sym.h> and <bp-asm.h>.
61458         (memcpy): Don't use BP_SYM.
61459         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61460         <bp-sym.h> and <bp-asm.h>.
61461         (__mempcpy): Don't use BP_SYM.
61462         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61463         <bp-sym.h> and <bp-asm.h>.
61464         (__memrchr): Don't use BP_SYM.
61465         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61466         <bp-sym.h> and <bp-asm.h>.
61467         (memset): Don't use BP_SYM.
61468         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61469         <bp-sym.h> and <bp-asm.h>.
61470         (__rawmemchr): Don't use BP_SYM.
61471         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61472         <bp-sym.h> and <bp-asm.h>.
61473         (__STRCMP): Don't use BP_SYM.
61474         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61475         <bp-sym.h> and <bp-asm.h>.
61476         (strchr): Don't use BP_SYM.
61477         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61478         <bp-sym.h> and <bp-asm.h>.
61479         (__strchrnul): Don't use BP_SYM.
61480         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61481         <bp-sym.h> and <bp-asm.h>.
61482         (strlen): Don't use BP_SYM.
61483         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61484         <bp-sym.h> and <bp-asm.h>.
61485         (strncmp): Don't use BP_SYM.
61486         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61487         <bp-sym.h> and <bp-asm.h>.
61488         (__strnlen): Don't use BP_SYM.
61489         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61490         <bp-asm.h>.
61491         (__mpn_rshift): Don't use BP_SYM.
61492         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61493         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61494         <bp-sym.h> and <bp-asm.h>.
61495         (__sigsetjmp): Don't use BP_SYM.
61496         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61497         (L(start_addresses)): Don't use BP_SYM.
61498         (_start): Likewise.
61499         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61500         <bp-asm.h>.
61501         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61502         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61503         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61504         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61505         <bp-asm.h>.
61506         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61507         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61508         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61509         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61510         <bp-asm.h>.
61511         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61512         comments.
61513         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61514         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61515         <bp-asm.h>.
61516         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61517         FIXME comments.
61518         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61519         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61520         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61521         <bp-asm.h>.
61522         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61523         comment.
61524         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61525         and <bp-asm.h>.
61526         (strncmp): Don't use BP_SYM,
61527         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61528         <bp-asm.h>.
61529         (__mpn_sub_n): Don't use BP_SYM.
61530         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61531         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61532         and <bp-asm.h>.
61533         (__mpn_submul_1): Don't use BP_SYM.
61534         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61536         <bp-sym.h> and <bp-asm.h>.
61537         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61539         <bp-sym.h> and <bp-asm.h>.
61540         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61541         comment.
61543 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61546         Use ZK to minimize writes to Z.
61547         (sub_magnitudes): Simplify code a bit.
61548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61549         Use ZK to minimize writes to Z.
61550         (sub_magnitudes): Simplify code a bit.
61552 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61554         * csu/gmon-start.c: Add special exception to license text.
61556 2013-02-27  Richard Henderson  <rth@redhat.com>
61558         * scripts/config.guess: Update from config.git.
61559         * scripts/config.sub: Likewise.
61561 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61563         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61565         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61567         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61569         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61571         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61573 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61575         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61576         [$(build-shared = yes].
61578 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61580         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61581         (__mul): Reduce iterations for calculating mantissa.
61583         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61584         MPTWO.
61585         (__mpranred): Likewise.
61587         [BZ #15160]
61588         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61589         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61591 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61593         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61594         Define __attribute__.
61596 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61598         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61599         unused.
61600         * posix/regex_internal.h (__attribute): Remove.
61601         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61602         (re_string_context_at): Likewise.
61603         (bitset_not): Use __attribute__ and mark function as possibly
61604         unused.
61605         (bitset_merge): Likewise.
61606         (bitset_mask): Likewise.
61607         (re_string_char_size_at): Likewise.
61608         (re_string_wchar_at): Likewise.
61609         (re_string_elem_size_at): Likewise.
61611 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61613         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61614         code.
61615         (cc32): Likewise.
61617         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61618         (__acr): Likewise.
61619         (__cpy): Likewise.
61620         (norm): Likewise.
61621         (denorm): Likewise.
61622         (__dbl_mp): Likewise.
61623         (add_magnitudes): Likewise.
61624         (sub_magnitudes): Likewise.
61625         (__mul): Likewise.
61626         (__inv): Likewise.
61628         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61629         style.
61631         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61632         style.
61634         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61635         code.
61637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61638         up changes with default code.
61639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61640         Likewise.
61642 2013-02-24  Allan McRae  <allan@archlinux.org>
61644         * manual/socket.texi (The Internet Namespace): Order menu items
61645         to match that in the file.
61647         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61648         node listing of the info page menu.
61650 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61652         [BZ #13550]
61653         * sysdeps/i386/bp-asm.h: Remove file.
61654         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61655         (PARMS): Do not use macros from bp-asm.h.
61656         (S1): Likewise.
61657         (S2): Likewise.
61658         (SIZE): Likewise.
61659         (__mpn_add_n): Do not use BP_SYM
61660         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61661         "bp-asm.h".
61662         (PARMS): Do not use macros from bp-asm.h.
61663         (S1): Likewise.
61664         (SIZE): Likewise.
61665         (__mpn_addmul_1): Do not use BP_SYM
61666         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61667         "bp-asm.h".
61668         (PARMS): Do not use macros from bp-asm.h.
61669         (SIGMSK): Likewise.
61670         (_setjmp): Likewise.  Do not use BP_SYM.
61671         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61672         "bp-asm.h".
61673         (PARMS): Do not use macros from bp-asm.h.
61674         (SIGMSK): Likewise.
61675         (setjmp): Likewise.  Do not use BP_SYM.
61676         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61677         "bp-asm.h".
61678         (PARMS): Do not use macros from bp-asm.h.
61679         (__frexp): Do not use BP_SYM.
61680         (frexp): Likewise.
61681         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61682         "bp-asm.h".
61683         (PARMS): Do not use macros from bp-asm.h.
61684         (__frexpf): Do not use BP_SYM.
61685         (frexpf): Likewise.
61686         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61687         "bp-asm.h".
61688         (PARMS): Do not use macros from bp-asm.h.
61689         (__frexpl): Do not use BP_SYM.
61690         (frexpl): Likewise.
61691         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61692         "bp-asm.h".
61693         (PARMS): Do not use macros from bp-asm.h.
61694         (__remquo): Do not use BP_SYM.
61695         (remquo): Likewise.
61696         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61697         "bp-asm.h".
61698         (PARMS): Do not use macros from bp-asm.h.
61699         (__remquof): Do not use BP_SYM.
61700         (remquof): Likewise.
61701         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61702         "bp-asm.h".
61703         (PARMS): Do not use macros from bp-asm.h.
61704         (__remquol): Do not use BP_SYM.
61705         (remquol): Likewise.
61706         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61707         "bp-asm.h".
61708         (PARMS): Do not use macros from bp-asm.h.
61709         (DEST): Likewise.
61710         (SRC): Likewise.
61711         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61712         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61713         "bp-asm.h".
61714         (PARMS): Do not use macros from bp-asm.h.
61715         (strlen): Do not use BP_SYM.
61716         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61717         "bp-asm.h".
61718         (PARMS): Do not use macros from bp-asm.h.
61719         (S1): Likewise.
61720         (S2): Likewise.
61721         (SIZE): Likewise.
61722         (__mpn_add_n): Do not use BP_SYM.
61723         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61724         "bp-asm.h".
61725         (PARMS): Do not use macros from bp-asm.h.
61726         (S1): Likewise.
61727         (SIZE): Likewise.
61728         (__mpn_addmul_1): Do not use BP_SYM.
61729         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61730         weak_alias.
61731         (bzero): Likewise.
61732         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61733         "bp-asm.h".
61734         (PARMS): Do not use macros from bp-asm.h.
61735         (S): Likewise.
61736         (SIZE): Likewise.
61737         (__mpn_lshift): Do not use BP_SYM.
61738         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61739         "bp-asm.h".
61740         (PARMS): Do not use macros from bp-asm.h.
61741         (DEST): Likewise.
61742         (SRC): Likewise.
61743         (LEN): Likewise.
61744         (memcpy): Likewise.  Do not use BP_SYM.
61745         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61746         libc_hidden_def and weak_alias.
61747         (mempcpy): Do not use BP_SYM in weak_alias.
61748         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61749         "bp-asm.h".
61750         (PARMS): Do not use macros from bp-asm.h.
61751         (DEST): Likewise.
61752         (LEN): Likewise.
61753         [!BZERO_P] (CHR): Likewise.
61754         (memset): Likewise.  Do not use BP_SYM.
61755         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61756         "bp-asm.h".
61757         (PARMS): Do not use macros from bp-asm.h.
61758         (S1): Likewise.
61759         (SIZE): Likewise.
61760         (__mpn_mul_1): Do not use BP_SYM.
61761         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61762         "bp-asm.h".
61763         (PARMS): Do not use macros from bp-asm.h.
61764         (S): Likewise.
61765         (SIZE): Likewise.
61766         (__mpn_rshift): Do not use BP_SYM.
61767         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61768         "bp-asm.h".
61769         (PARMS): Do not use macros from bp-asm.h.
61770         (STR): Likewise.
61771         (CHR): Likewise.
61772         (strchr): Likewise.  Do not use BP_SYM.
61773         (index): Do not use BP_SYM in weak_alias.
61774         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61780         * sysdeps/i386/i586/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/sub_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_sub_n): Do not use BP_SYM.
61791         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
61797         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61798         "bp-asm.h".
61799         (PARMS): Do not use macros from bp-asm.h.
61800         (S1): Likewise.
61801         (S2): Likewise.
61802         (SIZE): Likewise.
61803         (__mpn_add_n): Do not use BP_SYM.
61804         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61805         weak_alias.
61806         (bzero): Likewise.
61807         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61808         "bp-asm.h".
61809         (PARMS): Do not use macros from bp-asm.h.
61810         (BLK2): Likewise.
61811         (LEN): Likewise.
61812         (memcmp): Do not use BP_SYM.
61813         (bcmp): Do not use BP_SYM in weak_alias.
61814         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61815         "bp-asm.h".
61816         (PARMS): Do not use macros from bp-asm.h.
61817         (DEST): Likewise.
61818         (SRC): Likewise.
61819         (LEN): Likewise.
61820         (memcpy): Likewise.  Do not use BP_SYM.
61821         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61822         "bp-asm.h".
61823         (PARMS): Do not use macros from bp-asm.h.
61824         (DEST): Likewise.
61825         (SRC): Likewise.
61826         (LEN): Likewise.
61827         (memmove): Likewise.  Do not use BP_SYM.
61828         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61829         "bp-asm.h".
61830         (PARMS): Do not use macros from bp-asm.h.
61831         (DEST): Likewise.
61832         (SRC): Likewise.
61833         (LEN): Likewise.
61834         (__mempcpy): Likewise.  Do not use BP_SYM.
61835         (mempcpy): Do not use BP_SYM in weak_alias.
61836         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61837         "bp-asm.h".
61838         (PARMS): Do not use macros from bp-asm.h.
61839         (DEST): Likewise.
61840         (LEN): Likewise.
61841         [!BZERO_P] (CHR): Likewise.
61842         (memset): Likewise.  Do not use BP_SYM.
61843         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61844         "bp-asm.h".
61845         (PARMS): Do not use macros from bp-asm.h.
61846         (STR2): Likewise.
61847         (strcmp): Do not use BP_SYM.
61848         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61849         "bp-asm.h".
61850         (PARMS): Do not use macros from bp-asm.h.
61851         (STR): Likewise.
61852         (DELIM): Likewise.
61853         [USE_AS_STRTOK_R] (SAVE): Likewise.
61854         (FUNCTION): Likewise.  Do not use BP_SYM.
61855         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61856         aliases.
61857         (strtok_r): Likewise.
61858         (__GI___strtok_r): Likewise.
61859         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61860         (PARMS): Do not use macros from bp-asm.h.
61861         (S): Likewise.
61862         (SIZE): Likewise.
61863         (__mpn_lshift): Do not use BP_SYM.
61864         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61865         (PARMS): Do not use macros from bp-asm.h.
61866         (STR): Likewise.
61867         (CHR): Likewise.
61868         (__memchr): Do not use BP_SYM.
61869         (memchr): Do not use BP_SYM in weak_alias.
61870         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61871         (PARMS): Do not use macros from bp-asm.h.
61872         (BLK2): Likewise.
61873         (LEN): Likewise.
61874         (memcmp): Do not use BP_SYM.
61875         (bcmp): Do not use BP_SYM in weak_alias.
61876         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61877         (PARMS): Do not use macros from bp-asm.h.
61878         (S1): Likewise.
61879         (SIZE): Likewise.
61880         (__mpn_mul_1): Do not use BP_SYM.
61881         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61882         "bp-asm.h".
61883         (PARMS): Do not use macros from bp-asm.h.
61884         (STR): Likewise.
61885         (CHR): Likewise.
61886         (__rawmemchr): Do not use BP_SYM.
61887         (rawmemchr): Do not use BP_SYM in weak_alias.
61888         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61889         (PARMS): Do not use macros from bp-asm.h.
61890         (S): Likewise.
61891         (SIZE): Likewise.
61892         (__mpn_rshift): Do not use BP_SYM.
61893         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61894         (PARMS): Do not use macros from bp-asm.h.
61895         (SIGMSK): Likewise.
61896         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61897         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61898         (_start): Do not use BP_SYM.
61899         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61900         (PARMS): Do not use macros from bp-asm.h.
61901         (DEST): Likewise.
61902         (SRC): Likewise.
61903         (__stpcpy): Likewise.  Do not use BP_SYM.
61904         (stpcpy): Do not use BP_SYM in weak_alias.
61905         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61906         "bp-asm.h".
61907         (PARMS): Do not use macros from bp-asm.h.
61908         (DEST): Likewise.
61909         (SRC): Likewise.
61910         (LEN): Likewise.
61911         (__stpncpy): Likewise.  Do not use BP_SYM.
61912         (stpncpy): Do not use BP_SYM in weak_alias.
61913         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61914         (PARMS): Do not use macros from bp-asm.h.
61915         (STR): Likewise.
61916         (CHR): Likewise.
61917         (strchr): Likewise.  Do not use BP_SYM.
61918         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61919         "bp-asm.h".
61920         (PARMS): Do not use macros from bp-asm.h.
61921         (STR): Likewise.
61922         (CHR): Likewise.
61923         (__strchrnul): Likewise.  Do not use BP_SYM.
61924         (strchrnul): Do not use BP_SYM in weak_alias.
61925         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61926         "bp-asm.h".
61927         (PARMS): Do not use macros from bp-asm.h.
61928         (STOP): Likewise.
61929         (strcspn): Do not use BP_SYM.
61930         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61931         "bp-asm.h".
61932         (PARMS): Do not use macros from bp-asm.h.
61933         (STR): Likewise.
61934         (STOP): Likewise.
61935         (strpbrk): Likewise.  Do not use BP_SYM.
61936         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61937         "bp-asm.h".
61938         (PARMS): Do not use macros from bp-asm.h.
61939         (STR): Likewise.
61940         (CHR): Likewise.
61941         (strrchr): Likewise.  Do not use BP_SYM.
61942         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61943         (PARMS): Do not use macros from bp-asm.h.
61944         (SKIP): Likewise.
61945         (strspn): Do not use BP_SYM.
61946         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61947         (PARMS): Do not use macros from bp-asm.h.
61948         (STR): Likewise.
61949         (DELIM): Likewise.
61950         (SAVE): Likewise.
61951         (FUNCTION): Likewise.  Do not use BP_SYM.
61952         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61953         aliases.
61954         (strtok_r): Likewise.
61955         (__GI___strtok_r): Likewise.
61956         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61957         (PARMS): Do not use macros from bp-asm.h.
61958         (S1): Likewise.
61959         (S2): Likewise.
61960         (SIZE): Likewise.
61961         (__mpn_sub_n): Do not use BP_SYM.
61962         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61963         "bp-asm.h".
61964         (PARMS): Do not use macros from bp-asm.h.
61965         (S1): Likewise.
61966         (SIZE): Likewise.
61967         (__mpn_submul_1): Do not use BP_SYM.
61968         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61969         <bp-sym.h>.
61970         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61971         and <bp-asm.h>.
61972         (PARMS): Do not use macros from bp-asm.h.
61973         (FLAGS): Likewise.
61974         (PTID): Likewise.
61975         (TLS): Likewise.
61976         (CTID): Likewise.
61977         (__clone): Do not use BP_SYM.
61978         (clone): Do not use BP_SYM in weak_alias.
61979         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61980         and <bp-asm.h>.
61981         (PARMS): Do not use macros from bp-asm.h.
61982         (LEN): Likewise.
61983         (__mmap64): Do not use BP_SYM.
61984         (mmap64): Do not use BP_SYM in weak_alias.
61985         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61986         <bp-sym.h> and <bp-asm.h>.
61987         (PARMS): Do not use macros from bp-asm.h.
61988         (__posix_fadvise64_l64): Do not use BP_SYM.
61989         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61990         (PARMS): Do not use macros from bp-asm.h.
61991         (NSOPS): Likewise.
61992         (semtimedop): Do not use BP_SYM.
61993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61994         and <bp-asm.h>.
61996 2013-02-21  Allan McRae  <allan@archlinux.org>
61998         * manual/message.texi (Charset conversion in gettext):
61999         Move @end statement to beginning of line.
62001 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62004         static.
62005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62006         Likewise.
62008         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62009         (denorm): Likewise.
62010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62013 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62015         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62016         tail-call to the resolved function if pltexit isn't needed.
62018 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62021         or Y being zero as being unlikely.
62022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62023         Likewise.
62025 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62027         * manual/nss.texi (System Databases and Name Service Switch):
62028         Remove frobnicate @pxref.
62030 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62032         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62033         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62035 2013-02-20  Petr Machata  <pmachata@redhat.com>
62037         * elf/elf.h (R_ARM_TARGET1): New macro.
62038         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62039         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62040         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62041         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62042         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62043         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62044         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62045         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62046         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62047         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62048         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62049         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62050         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62051         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62052         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62053         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62054         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62055         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62056         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62057         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62058         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62059         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62060         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62061         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62062         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62063         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62064         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62065         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62066         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62067         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62068         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62069         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62070         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62071         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62072         (R_ARM_THM_GOT_BREL12): Likewise.
62073         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62074         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62075         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62076         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62077         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62078         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62079         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62080         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62081         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62083 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62085         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62086         __attribute_used__ to __attribute__ ((unused)).
62088 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62090         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62091         powerpc mpa.c.
62092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62093         comment formatting.
62094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62096 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62098         [BZ #13550]
62099         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62100         Remove macro.
62101         (ENTER): Remove both macro definitions.
62102         (LEAVE): Likewise.
62103         (CHECK_BOUNDS_LOW): Likewise.
62104         (CHECK_BOUNDS_HIGH): Likewise.
62105         (CHECK_BOUNDS_BOTH): Likewise.
62106         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62107         (RETURN_BOUNDED_POINTER): Likewise.
62108         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62109         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62110         (POP_ERRNO_LOCATION_RETURN): Likewise.
62111         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62112         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62113         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62114         macros.
62115         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62116         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62117         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62118         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62119         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62120         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62121         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62122         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62123         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62124         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62125         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62126         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62127         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62128         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62129         removed macros.
62130         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62131         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62132         macros.
62133         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62134         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62135         * sysdeps/i386/i586/memset.S (memset): Likewise.
62136         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62137         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62138         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62139         macros.
62140         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62141         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62142         Change uses of L(2) to L(out).
62143         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62144         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62145         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62146         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62147         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62148         removed macros.
62149         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62150         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62151         macros.
62152         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62153         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62154         (RETURN): Do not use macro LEAVE.
62155         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62156         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62157         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62158         * sysdeps/i386/i686/memset.S (memset): Likewise.
62159         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62160         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62161         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62162         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62163         Likewise.
62164         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62165         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62166         L(1_2) and L(1_3) into L(1).
62167         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62168         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62169         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62170         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62171         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62172         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62173         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62174         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62175         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62176         macros.
62177         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62178         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62179         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62180         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62181         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62182         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62183         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62184         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62185         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62186         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62187         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62188         * sysdeps/i386/strspn.S (strspn): Likewise.
62189         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62190         conditional code.
62191         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62192         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62193         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62194         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62195         L(1_3) into L(1_1).
62196         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62197         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62198         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62199         macros.
62200         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62202 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62204         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62205         macro.
62207 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62209         * math/atest-exp.c (exp_mpn): Remove ROUND.
62210         * math/atest-exp2.c (exp_mpn): Likewise.
62211         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62213         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62214         * stdlib/tst-tls-atexit-lib.c: Likewise.
62215         * stdlib/tst-tls-atexit.c: Likewise.
62217 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62219         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62220         and __attribute_alloc_size__.
62222 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62224         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62225         __attribute_alloc_size__.
62226         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62227         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62229 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62231         * include/programs/xmalloc.h: New file.
62232         * catgets/gencat.c: Include it.
62233         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62234         * elf/pldd.c: Likewise.
62235         * iconv/iconv_charmap.c: Likewise.
62236         * iconv/iconvconfig.c: Likewise.
62237         * iconv/strtab.c: Likewise.
62238         * locale/programs/locale.c: Likewise.
62239         * locale/programs/localedef.h: Likewise.
62240         * locale/programs/simple-hash.c: Likewise.
62241         * nscd/nscd.h: Likewise.
62242         * nss/makedb.c: Likewise.
62243         * sysdeps/generic/ldconfig.h: Likewise.
62245 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62247         * Versions.def: Add GLIBC_2.18.
62248         * include/link.h (struct link_map): New member l_tls_dtor_count.
62249         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62250         (__call_tls_dtors): Likewise.
62251         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62252         __cxa_thread_atexit_impl.
62253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62254         Likewise.
62255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62256         Likewise.
62257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62258         Likewise.
62259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62260         Likewise.
62261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62263         Likewise.
62264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62265         Likewise.
62266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62268         Likewise.
62269         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62270         (tests): Add test case tst-tls-atexit.
62271         (modules-names): Add shared library for tst-tls-atexit.
62272         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62273         (GLIBC_PRIVATE): Add __call_tls_dtors.
62274         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62275         for libstdc++.
62276         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62277         * stdlib/tst-tls-atexit.c: New test case.
62278         * stdlib/tst-tls-atexit-lib.c: New test case.
62280         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62282         * elf/Versions (ld): Add _dl_find_dso_for_object.
62283         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62284         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62285         (dl_open_worker): Use _dl_find_dso_for_object.
62286         * elf/dl-sym.c (do_sym): Likewise.
62287         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62289 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62291         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62292         Syntactic changes only.
62293         (_dl_runtime_profile): Do a tail-call to the resolved function.
62295 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62297         [BZ #13550]
62298         * sysdeps/x86_64/bp-asm.h: Remove file.
62299         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62300         <bp-sym.h> and <bp-asm.h>.
62301         (__clone): Do not use BP_SYM.
62302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62303         <bp-sym.h> and <bp-asm.h>.
62304         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62305         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62306         "bp-asm.h".
62307         (_setjmp): Do not use BP_SYM.
62308         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62309         "bp-asm.h".
62310         (setjmp): Do not use BP_SYM.
62311         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62312         libc_hidden_def.
62313         (mempcpy): Do not use BP_SYM in weak_alias.
62314         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62315         "bp-asm.h".
62316         (strchr): Do not use BP_SYM.
62317         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62318         "bp-asm.h".
62319         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62320         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62321         (_start): Do not use BP_SYM.
62322         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62323         "bp-asm.h".
62324         (strcat): Do not use BP_SYM.
62325         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62326         "bp-asm.h".
62327         (STRCMP): Do not use BP_SYM.
62328         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62329         "bp-asm.h".
62330         (STRCPY): Do not use BP_SYM.
62331         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62332         "bp-asm.h".
62333         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62334         "bp-asm.h".
62335         (FUNCTION): Do not use BP_SYM.
62336         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62337         weak_alias.
62338         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62340 2013-02-17  Andreas Jaeger  <aj@suse.de>
62342         * time/Versions: Sort entries.
62343         * string/Versions: Likewise.
62344         * resolv/Versions: Likewise.
62345         * posix/Versions: Likewise.
62346         * iconv/Versions: Likewise.
62347         * elf/Versions: Likewise.
62348         * wcsmbs/Versions: Likewise.
62350 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62352         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62353         loop termination condition.
62355         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62356         variable to calculate EZ.
62357         (__sqr): Likewise.
62359         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62360         the lower precision input.
62362 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62364         [BZ #13550]
62365         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62366         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62367         (run-via-rtld-prefix): Do not handle %-bp tests.
62368         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62369         (all-object-suffixes): Remove .ob.
62370         (bppfx): Remove variable.
62371         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62372         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62373         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62374         [$(build-bounded) = yes] (libtype.ob): Likewise.
62375         * Makerules (elide-routines.ob): Remove variable.
62376         (do-tests-clean): Do not handle *-bp.out.
62377         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62378         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62379         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62380         (tests): Do not include $(tests-bp.out).
62381         (xtests): Do not include $(xtests-bp.out).
62382         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62383         [$(build-bounded) = yes] ($(addprefix
62384         $(objpfx),$(binaries-bounded))): Remove rule.
62385         ($(objpfx)%-bp.out): Remove rule.
62386         * config.make.in (build-bounded): Remove variable.
62387         * crypt/Makefile [$(build-bounded) = yes]
62388         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62389         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62390         append to variable.
62391         [$(build-bounded) = yes] (install-lib): Likewise.
62392         [$(build-bounded) = yes] (generated): Likewise.
62393         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62394         Remove rule.
62395         * intl/Makefile [$(build-bounded) = yes]
62396         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62397         * math/Makefile [$(build-bounded) = yes]
62398         ($(tests:%=$(objpfx)%-bp): Likewise.
62399         * misc/Makefile [$(build-bounded) = yes]
62400         ($(objpfx)tst-tsearch-bp): Likewise.
62401         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62402         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62403         Remove dependency.
62404         * string/Makefile (o-objects.ob): Remove variable.
62405         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62406         (CFLAGS-.ob): Remove variable.
62407         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62408         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62409         both definitions of variable.
62410         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62411         (ASFLAGS-.ob): Remove variable.
62413 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62415         [BZ #13550]
62416         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62417         Remove __BOUNDED_POINTERS__ from condition.
62418         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62419         * string/bits/string2.h [!__NO_STRING_INLINES &&
62420         !__BOUNDED_POINTERS__]: Likewise.
62421         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62422         Likewise.
62423         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62424         Remove conditional code.
62425         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62426         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62427         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62428         condition.
62430         [BZ #13550]
62431         * csu/libc-start.c: Do not include <bp-sym.h>.
62432         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62433         * elf/dl-open.c: Do not include <bp-sym.h>.
62434         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62435         * math/fegetenv.c: Do not include <bp-sym.h>.
62436         (fegetenv): Do not use BP_SYM in versioned symbols.
62437         * nptl/sysdeps/pthread/bits/libc-lockP.h
62438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62439         <bp-sym.h>.
62440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62441         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62443         (__pthread_mutex_destroy): Likewise.
62444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62445         (__pthread_mutex_lock): Likewise.
62446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62447         (__pthread_mutex_trylock): Likewise.
62448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62449         (__pthread_mutex_unlock): Likewise.
62450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62451         (__pthread_mutexattr_init): Likewise.
62452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62453         (__pthread_mutexattr_destroy): Likewise.
62454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62455         (__pthread_mutexattr_settype): Likewise.
62456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62457         (__pthread_rwlock_init): Likewise.
62458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62459         (__pthread_rwlock_destroy): Likewise.
62460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62461         (__pthread_rwlock_rdlock): Likewise.
62462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62463         (__pthread_rwlock_tryrdlock): Likewise.
62464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62465         (__pthread_rwlock_wrlock): Likewise.
62466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62467         (__pthread_rwlock_trywrlock): Likewise.
62468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62469         (__pthread_rwlock_unlock): Likewise.
62470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62471         (__pthread_key_create): Likewise.
62472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62473         (__pthread_setspecific): Likewise.
62474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62475         (__pthread_getspecific): Likewise.
62476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62477         Likewise.
62478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62479         (_pthread_cleanup_push_defer): Likewise.
62480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62481         (_pthread_cleanup_pop_restore): Likewise.
62482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62483         (pthread_setcancelstate): Likewise.
62484         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62485         <bp-sym.h>.
62486         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62487         (memchr): Do not use BP_SYM in weak_alias.
62488         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62489         (fegetenv): Do not use BP_SYM in versioned symbols.
62490         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62491         (fesetenv): Do not use BP_SYM in versioned symbols.
62492         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62493         (feupdateenv): Do not use BP_SYM in versioned symbols.
62494         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62495         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62496         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62497         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62498         (open64): Do not use BP_SYM in weak_alias.
62499         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62500         (fegetenv): Do not use BP_SYM in versioned symbols.
62501         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62502         (fesetenv): Do not use BP_SYM in versioned symbols.
62503         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62504         (feupdateenv): Do not use BP_SYM in versioned symbols.
62505         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62506         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62507         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62508         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62509         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62510         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62511         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62512         <bp-sym.h>.
62513         (__libc_start_main): Do not use BP_SYM.
62515 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62518         redundant return line.
62519         (norm): Likewise.
62520         (denorm): Likewise.
62521         (dbl_mp): Likewise.
62522         (sub_magnitudes): Likewise.
62523         (__add): Likewise.
62524         (__sub): Likewise.
62525         (__mul): Likewise.
62526         (__inv): Likewise.
62527         (__dvd): Likewise.
62528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62529         (norm): Likewise.
62530         (denorm): Likewise.
62531         (dbl_mp): Likewise.
62532         (sub_magnitudes): Likewise.
62533         (__add): Likewise.
62534         (__sub): Likewise.
62535         (__mul): Likewise.
62536         (__inv): Likewise.
62537         (__dvd): Likewise.
62539         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62540         instead of __mul.
62541         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62542         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62543         (cc32): Likewise.
62545         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62546         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62548         of __mul for squares.
62549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62550         function
62551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62552         Likewise.
62553         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62554         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62556 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62558         [BZ #13550]
62559         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62560         code.
62561         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62562         prototype or function definition.  Rename ubp_* variables and
62563         parameters.  Remove argv definitions conditional on
62564         [__BOUNDED_POINTERS__].
62565         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62566         * elf/dl-runtime.c (_dl_fixup): Likewise.
62567         * include/set-hooks.h (RUN_HOOK): Likewise.
62568         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62569         definition.
62570         * string/strcpy.c (strcpy): Do not use __unbounded.
62571         * sysdeps/generic/frame.h (struct layout): Likewise.
62572         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62573         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62574         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62575         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62576         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62577         (__backtrace): Likewise.
62578         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62579         use __ptrvalue.
62580         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62581         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62582         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62583         Likewise.
62584         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62585         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62586         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62587         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62588         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62589         Do not use __unbounded.
62590         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62591         Rename __unboundedrlimits parameter to rlimits in prototype.
62592         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62593         Do not use __unbounded.
62594         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62595         not use __ptrvalue.
62596         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62597         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62598         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62599         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62600         __ptrvalue or __unbounded.
62601         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62602         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62603         use __unbounded.
62604         (__new_msgctl): Do not use __ptrvalue.
62605         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62606         __unbounded.
62607         (__libc_msgrcv): Do not use __ptrvalue.
62608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62609         startup_info): Do not use __unbounded.
62610         (__libc_start_main): Likewise.  Rename ubp_* variables and
62611         parameters.  Remove argv definitions conditional on
62612         [__BOUNDED_POINTERS__].
62613         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62614         __ptrvalue.
62615         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62616         use __unbounded.
62617         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62618         or __ptrvalue.
62619         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62620         use __unbounded.
62621         (__new_shmctl): Do not use __ptrvalue.
62622         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62623         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62624         Likewise.
62625         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62626         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62627         (__libc_sigaction): Likewise.
62628         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62629         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62630         Likewise.
62631         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62633 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62635         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62637         * string/mempcpy.c: Implement by calling memcpy.
62639 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62644         evaluation.
62646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62647         values in the mantissa.
62649         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62650         minimize writes to Z.
62651         (sub_magnitudes): Simplify code a bit.
62653 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62655         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62656         from the message.  The linker prefixes all warnings with that already.
62658 2013-02-12  Andreas Schwab  <schwab@suse.de>
62660         [BZ #15078]
62661         * posix/regexec.c (extend_buffers): Add parameter min_len.
62662         (check_matching): Pass minimum needed length.
62663         (clean_state_log_if_needed): Likewise.
62664         (get_subexp): Likewise.
62665         * posix/Makefile (tests): Add bug-regex34.
62666         (bug-regex34-ENV): Define.
62667         * posix/bug-regex34.c: New file.
62669         [BZ #11561]
62670         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62671         elements compare against the byte sequence of it, not its name.
62672         * posix/Makefile (tests): Add bug-regex35.
62673         (bug-regex35-ENV): Define.
62674         * posix/bug-regex35.c: New file.
62676 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62678         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62679         comment.
62680         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62681         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62682         (CHECK_EOL): Add undef.
62684 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62686         * bits/stdlib-bsearch.h: New file.
62687         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62688         * stdlib/stdlib.h: Likewise.
62690 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62692         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62693         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62694         declaration.
62695         * manual/search.texi (Array Search Function): Add missing const in
62696         lfind prototype.
62697         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62698         declaration to use rlim_t.
62699         (Basic Scheduling Functions): Remove erroneous const from
62700         sched_getparam prototype.  Remove erroneous * from
62701         sched_get_priority_max and sched_get_priority_min prototypes.
62702         (Resource Usage): Fix summary @comment on vtimes to refer to
62703         sys/vtimes.h rather than vtimes.h.
62704         Add missing *s in vtimes prototype.
62705         (Limits on Resources): Fix ulimit prototype to return long int.
62706         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62707         prototypes to use long int rather than double.
62708         (BSD Random): Fix initstate and setstate to use char *, not void *.
62709         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62710         prototype to make second argument 'struct aiocb64 *const[]'.
62711         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62712         (Status of AIO Operations): Remove erroneous const in aio_return and
62713         aio_return64 prototypes.
62714         (Synchronizing I/O): Fix sync prototype to return void.
62715         * manual/startup.texi (Suboptions): Remove an erroneous const in
62716         getsubopt prototype.
62717         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62718         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62719         use size_t rather than int.
62720         (Scanning All Users): Likewise for getpwent_r.
62721         (Setting Groups): Add missing const to setgroups prototype.
62722         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62723         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62724         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62725         'const void *' rather than 'const char *'.
62726         (Host Address Functions): Likewise for inet_ntop.
62727         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62728         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62729         ssize_t for return value.
62730         (Sending Data): Likewise for send, sendto, sendmsg.
62731         (Socket Option Functions): Add a missing const in setsockopt prototype.
62732         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62733         use wchar_t for the argument.
62734         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62735         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62736         take no arguments.
62737         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62738         double/float/long double for second argument.
62739         Fix return types of significand, significandf, significandl.
62740         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62741         argument in fchmod prototype.
62742         (File Owner): Use uid_t and gid_t in fchown prototype.
62743         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62744         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62745         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62746         use 'const struct dirent **' as argument types to CMP function pointer
62747         argument.
62748         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62749         (File Times): Fix summary magic @comment for struct utimbuf and utime
62750         to refer to utime.h, not time.h.
62751         * manual/string.texi (Argz Functions): Add missing const in
62752         argz_extract and argz_next prototypes.
62753         (Finding Tokens in a String): Likewise for basename.
62754         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62755         (Copying and Concatenation): Fix typo in wmemmove prototype.
62756         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62757         (Signal Stack): Remove erroneous const in sigstack prototype.
62758         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62759         prototype.
62760         (Simple Calendar Time): Likewise for stime.
62761         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62762         prototype.
62763         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62764         say sys/sysctl.h instead.
62765         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62766         and vsyslog prototypes.
62768 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62770         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62771         Remove.
62773 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62775         * misc/sys/mman.h: Fix typo in mremap comment.
62777 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62779         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62780         the '\0' terminator.
62782 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62784         [BZ #13550]
62785         * debug/segfault.c: Don't include <bp-checks.h>.
62786         * sysdeps/generic/bp-checks.h: Remove file.
62787         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62788         (__GETDENTS): Don't use CHECK_N.
62789         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62790         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62791         (__getgroups): Don't use CHECK_N.
62792         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62793         (setgroups): Don't use CHECK_N.
62794         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62795         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62796         (__libc_msgrcv): Don't use CHECK_N.
62797         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62798         (__libc_msgsnd): Don't use CHECK_N.
62799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62800         <bp-checks.h>.
62801         (__libc_pread): Don't use CHECK_N.
62802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62803         include <bp-checks.h>.
62804         (__libc_pread64): Don't use CHECK_N.
62805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62806         include <bp-checks.h>.
62807         (__libc_pwrite): Don't use CHECK_N.
62808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62809         include <bp-checks.h>.
62810         (__libc_pwrite64): Don't use CHECK_N.
62811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62812         <bp-checks.h>.
62813         (__libc_pread): Don't use CHECK_N.
62814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62815         include <bp-checks.h>.
62816         (__libc_pread64): Don't use CHECK_N.
62817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62818         include <bp-checks.h>.
62819         (__libc_pwrite): Don't use CHECK_N.
62820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62821         include <bp-checks.h>.
62822         (__libc_pwrite64): Don't use CHECK_N.
62823         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62824         (do_pread): Don't use CHECK_N.
62825         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62826         (do_pread64): Don't use CHECK_N.
62827         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62828         (do_pwrite): Don't use CHECK_N.
62829         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62830         (do_pwrite64): Don't use CHECK_N.
62831         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62832         (__libc_readv): Don't use CHECK_N.
62833         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62834         (semop): Don't use CHECK_N.
62835         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62836         <bp-checks.h>.
62837         (semtimedop): Don't use CHECK_N.
62838         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62839         (__libc_pread): Don't use CHECK_N.
62840         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62841         <bp-checks.h>.
62842         (__libc_pread64): Don't use CHECK_N.
62843         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62844         <bp-checks.h>.
62845         (__libc_pwrite): Don't use CHECK_N.
62846         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62847         <bp-checks.h>.
62848         (__libc_pwrite64): Don't use CHECK_N.
62849         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62850         <bp-checks.h>.
62851         (__libc_msgrcv): Don't use CHECK_N.
62852         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62853         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62854         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62855         (__libc_writev): Don't use CHECK_N.
62857 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62859         * string/strcpy.c: Removed unused variable.
62861         * Makeconfig (+sysdep-includes): Define with := rather than =.
62862         Use an existing include/ subdir of each sysdeps dir before it.
62864 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62866         * nscd/connection.c (register_traced_file): Comment function.
62867         [HAVE_INOTIFY] (union __inev): Define.
62868         [HAVE_INOTIFY] (inotify_check_files): New function.
62869         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62870         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62871         clear_db_cache.
62872         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62874 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62876         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62877         loaded if not already and that a failure is permanent.
62879 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62881         [BZ #15006]
62882         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62883         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62885 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62887         [BZ #13550]
62888         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62889         (CHECK_1_NULL_OK): Likewise.
62890         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62891         (__fxstat): Do not use CHECK_1.
62892         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62893         <bp-checks.h>.
62894         (___fxstat64): Do not use CHECK_1.
62895         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62896         <bp-checks.h>.
62897         (__fxstatat): Do not use CHECK_1.
62898         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62899         <bp-checks.h>.
62900         (__fxstatat64): Do not use CHECK_1.
62901         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62902         <bp-checks.h>.
62903         (__fxstat): Do not use CHECK_1.
62904         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62905         <bp-checks.h>.
62906         (__fxstatat): Do not use CHECK_1.
62907         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62908         <bp-checks.h>.
62909         (__getresgid): Do not use CHECK_1.
62910         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62911         <bp-checks.h>.
62912         (__getresuid): Do not use CHECK_1.
62913         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62914         <bp-checks.h>.
62915         (__lxstat): Do not use CHECK_1.
62916         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62917         <bp-checks.h>.
62918         (__old_msgctl): Do not use CHECK_1.
62919         (__new_msgctl): Likewise.
62920         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62921         <bp-checks.h>.
62922         (__new_setrlimit): Do not use CHECK_1.
62923         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62924         <bp-checks.h>.
62925         (__old_shmctl): Do not use CHECK_1.
62926         (__new_shmctl): Likewise.
62927         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62928         <bp-checks.h>.
62929         (__xstat): Do not use CHECK_1.
62930         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62931         (__lxstat): Do not use CHECK_1.
62932         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62933         <bp-checks.h>.
62934         (___lxstat64): Do not use CHECK_1.
62935         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62936         (__old_msgctl): Do not use CHECK_1.
62937         (__new_msgctl): Likewise.
62938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62939         <bp-checks.h>.
62940         (__gettimeofday): Do not use CHECK_1.
62941         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62942         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62943         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62944         <bp-checks.h>.
62945         (__gettimeofday): Do not use CHECK_1.
62946         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62947         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62948         (__new_shmctl): Do not use CHECK_1.
62949         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62950         <bp-checks.h>.
62951         (do_sigtimedwait): Do not use CHECK_1.
62952         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62953         <bp-checks.h>.
62954         (do_sigwaitinfo): Do not use CHECK_1.
62955         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62956         <bp-checks.h>.
62957         (msgctl): Do not use CHECK_1.
62958         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62959         <bp-checks.h>.
62960         (shmctl): Do not use CHECK_1.
62961         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62962         (ustat): Do not use CHECK_1.
62963         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62964         <bp-checks.h>.
62965         (__fxstat): Do not use CHECK_1.
62966         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62967         <bp-checks.h>.
62968         (__fxstatat): Do not use CHECK_1.
62969         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62970         <bp-checks.h>.
62971         (__lxstat): Do not use CHECK_1.
62972         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62973         <bp-checks.h>.
62974         (__xstat): Do not use CHECK_1.
62975         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62976         (__xstat): Do not use CHECK_1.
62977         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62978         (___xstat64): Do not use CHECK_1.
62980         [BZ #13550]
62981         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62982         definitions.
62983         (CHECK_BOUNDS_HIGH): Likewise.
62984         * string/strcpy.c: Do not include <bp-checks.h>.
62985         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62987 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62989         * nscd/nscd-client.h (__nscd_drop_map_ref):
62990         Add __attribute__ ((unused)).
62991         * nis/nss-nisplus.h (niserr2nss): Likewise.
62993         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62994         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62996         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62997         Remove inline keyword.
62998         * include/rounding-mode.h (round_away): Likewise.
62999         * libio/wfileops.c (adjust_wide_data): Likewise.
63000         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63001         (__m128i_strloadu_tolower): Likewise.
63002         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63003         (__m128i_strloadu_tolower): Likewise.
63004         * time/mktime.c (ydhms_diff): Likewise.
63005         * locale/elem-hash.h (elem_hash): Likewise.
63006         * locale/setlocale.c (setdata): Likewise.
63007         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63008         (re_string_wchar_at): Likewise.
63009         (bitset_not, bitset_merge, bitset_mask): Likewise.
63010         [!(__GNUC__ > 3)] (inline): Remove macro.
63011         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63012         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63013         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63014         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63015         * string/memcmp.c (memcmp_bytes): Likewise.
63016         * locale/programs/locarchive.c (compute_hashval): Likewise.
63017         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63018         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63019         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63020         * nss/getent.c (print_rpc, print_protocols): Likewise.
63021         (print_passwd, print_group, print_aliases): Likewise.
63022         * nis/nss-nisplus.h (niserr2nss): Likewise.
63023         * nscd/connections.c (restart_p): Likewise.
63024         Change return type to bool.
63026 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63028         * Makeconfig (all-Depend-files): Add existing
63029         $(sorted-subdirs:=/Depend) files.
63030         (all-subdirs): Remove nss.
63031         * sysdeps/unix/inet/Subdirs: Add it here instead.
63032         * hesiod/Depend: New file.
63034         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63035         instead of calling alloca.
63037         * io/lseek.c (__lseek): Rename to __libc_lseek.
63038         Define __lseek as an alias.
63040         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63042 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63044         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63045         else clause and remove check for non-standard endianness.
63047 2013-02-04  David S. Miller  <davem@davemloft.net>
63049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63051 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63053         [BZ #13550]
63054         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63055         (__ubp_memchr): Remove prototype.
63056         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63057         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63058         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63059         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63060         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63061         Remove alias.
63062         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63063         (__ubp_memchr): Likewise.
63064         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63065         (__ubp_memchr): Likewise.
63066         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63067         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63068         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63069         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63070         CHECK_STRING.
63071         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63072         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63073         (__getcwd): Do not use CHECK_STRING.
63074         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63075         <bp-checks.h>.
63076         (__real_chown): Do not use CHECK_STRING.
63077         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63078         <bp-checks.h>.
63079         (fchownat): Do not use CHECK_STRING.
63080         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63081         CHECK_STRING.
63082         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63083         <bp-checks.h>.
63084         (__lchown): Do not use CHECK_STRING.
63085         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63086         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63087         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63088         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63090         include <bp-checks.h>.
63091         (truncate64): Do not use CHECK_STRING.
63092         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63093         <bp-checks.h>.
63094         (__real_chown): Do not use CHECK_STRING.
63095         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63096         <bp-checks.h>.
63097         (__lchown): Do not use CHECK_STRING.
63098         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63099         <bp-checks.h>.
63100         (__chown): Do not use CHECK_STRING.
63101         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63102         <bp-checks.h>.
63103         (truncate64): Do not use CHECK_STRING.
63104         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63105         Likewise.
63106         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63107         (__xmknod): Do not use CHECK_STRING.
63108         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63109         <bp-checks.h>.
63110         (__xmknodat): Do not use CHECK_STRING.
63111         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63112         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63114 2013-02-04  Andreas Schwab  <schwab@suse.de>
63116         [BZ #14142]
63117         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63118         * include/netdb.h: Likewise for h_errno.
63119         * elf/tst-stackguard1.c: Include <tls.h>.
63121 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63123         * elf/link.h (struct link_map): Extend the l_addr comment.
63124         * include/link.h (struct link_map): Likewise.
63126 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63128         [BZ #13550]
63129         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63130         (BOUNDED_1): Remove macro.
63131         * debug/backtrace.c: Don't include <bp-checks.h>.
63132         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63133         (__backtrace): Likewise.
63134         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63135         <bp-checks.h>.
63136         (__backtrace): Don't use BOUNDED_1.
63137         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63138         <bp-checks.h>.
63139         (__backtrace): Don't use BOUNDED_1.
63140         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63141         (__backtrace): Don't use BOUNDED_1.
63142         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63143         (shmat): Don't use BOUNDED_N.
63145 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63147         [BZ #13550]
63148         * sysdeps/generic/bp-start.h: Remove file.
63149         * csu/libc-start.c: Don't include <bp-start.h>.
63150         (LIBC_START_MAIN): Set up __environ directly instead of using
63151         INIT_ARGV_and_ENVIRON.
63152         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63153         <bp-start.h>.
63155         [BZ #13550]
63156         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63157         definitions.
63158         (CHECK_FCNTL): Likewise.
63159         (CHECK_N_PAGES): Likewise.
63161         [BZ #13550]
63162         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63163         definitions.
63164         (CHECK_SIGSET_NULL_OK): Likewise.
63165         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63166         <bp-checks.h>.
63167         (sigpending): Don't use CHECK_SIGSET.
63168         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63169         <bp-checks.h>.
63170         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63171         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63172         <bp-checks.h>.
63173         (do_sigsuspend): Don't use CHECK_SIGSET.
63174         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63175         use CHECK_SIGSET.
63176         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63177         (do_sigwait): Don't use CHECK_SIGSET.
63178         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63179         use CHECK_SIGSET.
63180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63181         include <bp-checks.h>.
63182         (sigpending): Don't use CHECK_SIGSET.
63183         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63184         include <bp-checks.h>.
63185         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63186         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63187         <bp-checks.h>.
63188         (sigpending): Don't use CHECK_SIGSET.
63189         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63190         <bp-checks.h>.
63191         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63193         [BZ #13550]
63194         * sysdeps/generic/bp-semctl.h: Remove file.
63195         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63196         <bp-checks.h> and <bp-semctl.h>.
63197         (__old_semctl): Don't use CHECK_SEMCTL.
63198         (__new_semctl): Likewise.
63199         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63200         and <bp-semctl.h>.
63201         (__old_semctl): Don't use CHECK_SEMCTL.
63202         (__new_semctl): Likewise.
63203         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63204         <bp-checks.h> and <bp-semctl.h>.
63205         (__old_semctl): Don't use CHECK_SEMCTL.
63206         (__new_semctl): Likewise.
63207         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63208         <bp-checks.h> and <bp-semctl.h>.
63209         (semctl): Don't use CHECK_SEMCTL.
63211         [BZ #13550]
63212         * Makerules (elide-bp-thunks): Remove variable.
63213         (elide-routines.oS): Don't use $(elide-bp-thunks).
63214         (elide-routines.os): Likewise.
63215         (elide-routines.o): Likewise.
63216         (elide-routines.op): Likewise.
63217         (elide-routines.og): Likewise.
63218         (objects): Don't use $(bp-thunks).
63219         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63220         include.
63221         (common-generated): Do not add s-proto-bp.d.
63222         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63223         (int): Likewise.
63224         (typ): Likewise.
63225         Do not generate makefile rules for bounded-pointer thunks.
63226         * sysdeps/generic/bp-thunks.h: Remove file.
63227         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63228         * sysdeps/unix/s-proto-bp.S: Likewise.
63230         [BZ #15062]
63231         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63232         parts of result separately when argument is not close to line from
63233         -i to i and one part of argument is small.
63234         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63235         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63236         * math/libm-test.inc (cacos_test): Add more tests.
63237         (casin_test): Likewise.
63238         (casinh_test): Likewise.
63239         * sysdeps/i386/fpu/libm-test-ulps: Update.
63240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63242 2013-01-31  David S. Miller  <davem@davemloft.net>
63244         * po/de.po: Update from translation team.
63246 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63248         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63250 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63252         * configure.in (_AC_PROG_CC_C89): New definition.
63253         * configure: Regenerate.
63255         * configure.in (AC_PROG_CPP): New definition.
63256         * configure: Regenerate.
63258 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63260         * debug/tst-backtrace.h: New file.
63261         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63262         (ret): Remove variable.
63263         (x): Likewise.
63264         (FAIL): Remove macro.
63265         (NO_INLINE): Likewise.
63266         (fn1): Use match function instead of strstr.
63267         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63268         (ret): Remove variable.
63269         (x): Likewise.
63270         (FAIL): Remove macro.
63271         (NO_INLINE): Likewise.
63272         (fn): Use match function instead of strstr.
63273         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63274         (ret): Remove variable.
63275         (x): Likewise.
63276         (FAIL): Remove macro.
63277         (NO_INLINE): Likewise.
63278         (handle_signal): Use match function instead of strstr.
63279         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63280         (ret): Remove variable.
63281         (x): Likewise.
63282         (FAIL): Remove macro.
63283         (NO_INLINE): Likewise.
63284         (handle_signal): Use match function instead of strstr.
63286 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63288         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63290 2013-01-23  David S. Miller  <davem@davemloft.net>
63292         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63293         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63294         argument of CAS if possible.
63295         * sysdeps/sparc/sparc64/bits/atomic.h
63296         (__arch_compare_and_exchange_val_32_acq): Likewise.
63297         (__arch_compare_and_exchange_val_64_acq): Likewise.
63299 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63301         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63302         * sysdeps/posix/ulimit.c: ... this.
63303         Include <limits.h>.
63304         * sysdeps/unix/bsd/ulimit.c: Remove file.
63306 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63308         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63309         (LDFLAGS-tst-array5): Likewise.
63311 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63313         [BZ #15036]
63314         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63315         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63316         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63317         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63319 2013-01-21  David S. Miller  <davem@davemloft.net>
63321         * sysdeps/sparc/backtrace.c: New file.
63322         * sysdeps/sparc/sparc32/backtrace.h: New file.
63323         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63324         * sysdeps/sparc/sparc64/backtrace.h: New file.
63325         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63326         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63327         -funwind-tables.
63329 2013-01-21  Andreas Schwab  <schwab@suse.de>
63331         [BZ #15020]
63332         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63333         closed its stdout.
63335 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63338         "mpa2.h".
63339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63341 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63342             Mark Mitchell  <mark@codesourcery.com>
63343             Tom de Vries  <tom@codesourcery.com>
63344             Paul Pluzhnikov  <ppluzhnikov@google.com>
63346         * debug/tst-backtrace2.c: New file.
63347         * debug/tst-backtrace3.c: Likewise.
63348         * debug/tst-backtrace4.c: Likewise.
63349         * debug/tst-backtrace5.c: Likewise.
63350         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63351         (CFLAGS-tst-backtrace3.c): Likewise.
63352         (CFLAGS-tst-backtrace4.c): Likewise.
63353         (CFLAGS-tst-backtrace5.c): Likewise.
63354         (LDFLAGS-tst-backtrace2): Likewise.
63355         (LDFLAGS-tst-backtrace3): Likewise.
63356         (LDFLAGS-tst-backtrace4): Likewise.
63357         (LDFLAGS-tst-backtrace5): Likewise.
63358         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63359         tst-backtrace4 and tst-backtrace5.
63361 2013-01-18  Anton Blanchard  <anton@samba.org>
63362             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63364         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63365         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63367         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63369         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63370         "+r" and remove output regs list as redundant.  Add explicit inline
63371         asm to specify register of return val to work around compiler codegen
63372         bug.  Remove (int) cast on return value.  Add return type parameter to
63373         use in macro so that this macro does not truncate return value for
63374         64-bit values.
63375         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63376         pass to INTERNAL_VSYSCALL_NCS.
63377         (INLINE_VSYSCALL): Add 'long int' as return type to
63378         INTERNAL_VSYSCALL_NCS macro invocation.
63379         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63380         INTERNAL_VSYSCALL_NCS macro invocation.
63381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63383 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63385         [BZ #14496]
63386         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63387         Fix application of SIMD FP exception mask.
63389         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63390         mp_no from a power of two.
63391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63392         __mpexp_twomm1.  Use __pow_mp.
63394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63395         multiplication.
63397 2013-01-17  David S. Miller  <davem@davemloft.net>
63399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63401 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63403         [BZ #15023]
63404         * include/complex.h: Condition contents on [!_COMPLEX_H].
63405         (__kernel_casinhf): New prototype.
63406         (__kernel_casinh): Likewise.
63407         (__kernel_casinhl): Likewise.
63408         * math/Makefile (libm_calls): Add k_casinh.
63409         * math/k_casinh.c: New file.
63410         * math/k_casinhf.c: Likewise.
63411         * math/k_casinhl.c: Likewise.
63412         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63413         finite nonzero arguments.
63414         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63415         finite nonzero arguments.
63416         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63417         finite nonzero arguments.
63418         * math/s_casinh.c: Do not include <float.h>.
63419         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63420         * math/s_casinhf.c: Do not include <float.h>.
63421         (__casinhf): Move code for finite nonzero arguments to
63422         k_casinhf.c.
63423         * math/s_casinhl.c: Do not include <float.h>.
63424         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63425         redefine.
63426         (__casinhl): Move code for finite nonzero arguments to
63427         k_casinhl.c.
63428         * math/libm-test.inc (cacos_test): Add more tests.
63429         * sysdeps/i386/fpu/libm-test-ulps: Update.
63430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63432 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63434         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63435         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63436         [!HAVE_MREMAP]: Remove [defined linux] case.
63437         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63439 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63441         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63443 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63445         * elf/elf.h (R_386_SIZE32): New relocation.
63446         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63447         R_386_SIZE32.
63448         (elf_machine_rela): Likewise.
63449         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63450         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63452 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63454         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63455         (FP_FAST_FMA): Do not define.
63456         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63457         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63458         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63459         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63460         !_SOFT_FLOAT]: Likewise.
63461         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63462         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63463         value.
63464         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63465         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63466         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63467         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63468         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63469         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63470         file.
63472 2013-01-16  Andreas Schwab  <schwab@suse.de>
63474         [BZ #14327]
63475         * include/stdlib.h (__mktemp): Add declaration.
63476         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63477         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63479 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63481         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63482         definitions.
63483         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63484         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63485         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63486         definitions here.
63487         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63488         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63489         definitions.
63490         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63491         and ONE.
63492         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63493         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63494         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63495         definitions.
63496         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63497         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63498         definitions.
63499         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63501         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63503 2013-01-15  David S. Miller  <davem@davemloft.net>
63505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63506         trunc{,f} to libm-sysdep_routes.
63507         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63509         file.
63510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63512         file.
63513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63514         file.
63515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63517         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63518         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63519         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63520         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63521         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63522         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63525         nearbyint{,f} to libm-sysdep_routes.
63526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63528         New file.
63529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63530         file.
63531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63532         New file.
63533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63534         file.
63535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63537         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63538         file.
63539         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63540         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63541         file.
63542         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63543         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63544         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63546         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63547         libc_feholdexcept and libc_fesetenv.
63549 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63551         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63553 2013-01-14  David S. Miller  <davem@davemloft.net>
63555         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63556         (SPARC_ASM_VIS2_IFUNC): Likewise.
63557         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63559         use of 'siam' instruction.
63560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63561         Likewise.
63562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63563         Likewise.
63564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63565         Likewise.
63566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63571         file.
63572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63573         file.
63574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63575         file.
63576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63577         file.
63578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63583         new VIS2 routines.
63584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63587         Likewise.
63588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63593         routines to libm-sysdep_routines.
63594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63597         fdim/fdimf to libm-sysdep_routines.
63598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63599         file.
63600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63602         file.
63603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63606         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63607         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63608         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63609         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63611 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63613         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63614         to optimize copies.
63616         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63621         local variable MPTWO.
63622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63623         Likewise.
63625 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63627         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63628         GLOB_NOESCAPE.
63630 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63632         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63634 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63636         * manual/pattern.texi (glob_t): Document gl_flags.
63637         (glob64_t): Likewise.
63639 2013-01-11  David S. Miller  <davem@davemloft.net>
63641         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63642         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63643         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63644         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63645         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63646         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63647         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63648         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63649         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63650         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63651         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63652         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63653         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63655         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63656         sparc V9 rather than using V8 code.
63657         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63658         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63661         Move to...
63662         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63663         Here.
63665 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63667         [BZ #14941]
63668         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63669         not in the main loop.
63670         * configure: Regenerated.
63672 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63674         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63675         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63676         to just #else.
63677         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63678         [!__GLIBC_HAVE_LONG_LONG] case.
63679         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63680         condition to just #else.
63681         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63682         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63683         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63684         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63685         unconditional.
63686         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63687         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63688         #elif condition to just #else.
63689         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63690         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63691         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63692         #elif condition to just #else.
63694 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63696         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63697         (EF_MIPS_ARCH_64): Fix value.
63698         (EF_MIPS_ARCH_32R2): New.
63699         (EF_MIPS_ARCH_64R2): New.
63701 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63703         * Makeconfig (+link-pie-before-libc): New.
63704         (+link-pie-after-libc): Likewise.
63705         (+link-pie-tests): Likewise.
63706         (+link-pie): Rewritten.
63707         (link-before-libc): Remove $(config-LDFLAGS).
63708         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63709         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63710         (config-LDFLAGS): Renamed to ...
63711         (rtld-LDFLAGS): This.
63712         (rtld-tests-LDFLAGS): New macro.
63713         (link-libc-rpath-link): Likewise.
63714         (link-libc-tests-rpath-link): Likewise.
63715         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63716         (link-libc): Prepand $(link-libc-rpath-link).
63717         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63718         (test-program-prefix): New macro.
63719         (test-via-rtld-prefix): Likewise.
63720         (test-program-cmd): Likewise.
63721         (host-test-program-cmd): Likewise.
63722         * Makefile ($(common-objpfx)testrun.sh): Replace
63723         $(run-program-prefix) with $(test-program-prefix).
63724         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63725         $(rtld-LDFLAGS).
63726         ($(common-objpfx)shlib.lds): Likewise.
63727         (build-module-helper): Likewise.
63728         ($(common-objpfx)format.lds): Likewise.
63729         * Rules (binaries-pie-tests): New.
63730         (binaries-pie-notests): Likewise.
63731         (binaries-pie): Rewritten.
63732         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63733         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63734         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63735         (make-test-out): Replace $(host-built-program-cmd) with
63736         $(host-test-program-cmd).
63737         * config.make.in (build-hardcoded-path-in-tests): New variable.
63738         * configure.in (--enable-hardcoded-path-in-tests): New configure
63739         option.
63740         (hardcoded_path_in_tests): New AC_SUBST.
63741         * configure: Regenerated.
63742         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63743         $(built-program-cmd) with $(test-program-cmd).
63744         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63745         (test_program_cmd): This.
63746         * elf/Makefile ($(objpfx)order.out): Run test with
63747         $(test-program-prefix).
63748         ($(objpfx)order2.out): Likewise.
63749         ($(objpfx)tst-initorder.out): Likewise.
63750         ($(objpfx)tst-initorder2.out): Likewise.
63751         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63752         $(test-program-cmd).
63753         ($(objpfx)tst-array1-static.out): Likewise.
63754         ($(objpfx)tst-array2.out): Likewise.
63755         ($(objpfx)tst-array3.out): Likewise.
63756         ($(objpfx)tst-array4.out): Likewise.
63757         ($(objpfx)tst-array5.out): Likewise.
63758         ($(objpfx)tst-array5-static.out): Likewise.
63759         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63760         $(test-program-cmd).
63761         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63762         $(run-program-prefix) with $(test-program-prefix).
63763         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63764         (test_program_prefix): This.
63765         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63766         $(run-program-prefix) with $(test-program-prefix).
63767         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63768         (test_program_prefix): This.
63769         * iconvdata/tst-tables.sh: Likewise.
63770         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63771         $(run-program-prefix) with $(test-program-prefix).
63772         ($(objpfx)tst-translit.out): Likewise.
63773         ($(objpfx)tst-gettext2.out): Likewise.
63774         ($(objpfx)tst-gettext4.out): Likewise.
63775         ($(objpfx)tst-gettext6.out): Likewise.
63776         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63777         (test_program_prefix): This.
63778         * intl/tst-gettext2.sh: Likewise.
63779         * intl/tst-gettext4.sh  Likewise.
63780         * intl/tst-gettext6.sh: Likewise.
63781         * intl/tst-translit.sh: Likewise.
63782         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63783         with $(test-program-cmd).
63784         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63785         $(run-program-prefix) with $(test-program-prefix).
63786         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63787         (test_program_prefix): This.
63788         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63789         $(run-program-prefix) with $(test-program-prefix).
63790         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63791         (test_program_prefix): This.
63792         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63793         * posix/Makefile ($(objpfx)globtest.out): Replace
63794         $(run-via-rtld-prefix) and $(test-wrapper) with
63795         $(test-program-prefix) and $(test-via-rtld-prefix).
63796         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63797         $(test-program-prefix).
63798         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63799         $(host-test-program-cmd).
63800         (tst-spawn-ARGS): Likewise.
63801         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63802         $(test-program-prefix).
63803         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63804         (test_via_rtld_prefix): This.
63805         (test_wrapper): Renamed to ...
63806         (test_program_prefix): This.
63807         (run_program_prefix): Replaced by test_program_prefix.
63808         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63809         (test_program_prefix): This.
63810         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63811         with $(host-test-program-cmd).
63812         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63813         $(run-program-prefix) with $(test-program-prefix).
63814         ($(objpfx)tst-printf.out): Likewise.
63815         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63816         $(test-program-cmd).
63817         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63818         (test_program_prefix): This.
63819         * stdio-common/tst-unbputc.sh: Likewise.
63820         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63821         $(run-program-prefix) with $(test-program-prefix).
63822         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63823         (test_program_prefix): This.
63824         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63825         $(built-program-cmd) with $(test-program-cmd).
63827 2013-01-11  Andreas Jaeger  <aj@suse.de>
63829         [BZ #15003]
63830         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63831         value. Sync with Linux 3.7.
63833 2013-01-10  David S. Miller  <davem@davemloft.net>
63835         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63839 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63841         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63842         never set.
63843         * configure: Regenerated.
63845 2013-01-10  David S. Miller  <davem@davemloft.net>
63847         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63848         sparc V9 rather than using V8 code.
63849         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63850         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63852 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63854         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63855         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63856         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63857         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63858         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63859         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63860         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63861         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63862         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63863         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63864         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63865         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63866         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63867         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63868         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63869         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63870         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63871         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63872         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63873         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63874         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63875         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63876         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63877         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63878         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63879         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63880         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63882 2013-01-10  David S. Miller  <davem@davemloft.net>
63884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63886 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63888         * posix/Makefile (tests-static): New variable.
63889         (tests): Add $(tests-static).
63890         (tst-exec-static-ARGS): New variable.
63891         (tst-spawn-static-ARGS): Likewise.
63892         * posix/tst-exec-static.c: New file.
63893         * posix/tst-spawn-static.c: Likewise.
63894         * posix/tst-exec.c: Support run directly.
63895         * posix/tst-spawn.c: Likewise.
63897 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63899         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63900         long.
63901         * math/bits/mathcalls.h (llrint): Likewise.
63902         (llround): Likewise.
63903         * stdlib/stdlib.h (struct drand48_data): Likewise.
63904         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63905         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63906         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63907         Likewise.
63908         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63909         Likewise.
63910         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63911         (elf_greg_t): Likewise.
63912         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63913         (__jmp_buf): Likewise.
63914         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63915         definitions.
63916         (llrint): Likewise, for all definitions.
63917         (llrintl): Likewise.
63919         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63920         Remove [__GNUC__] condition.
63921         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63922         condition to just [__USE_ISOC99].
63923         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63925 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63927         [BZ #14200]
63928         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63929         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63930         defined.
63931         (_POSIX_V6_ILP32_OFF32): Likewise.
63932         (_XBS5_ILP32_OFF32): Likewise.
63933         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63934         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63936 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63938         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63941         doubles __mpexp_twomm1.  Adjust usage.
63942         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63943         Remove.
63945 2013-01-10  Andreas Schwab  <schwab@suse.de>
63947         [BZ #14964]
63948         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63949         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63951 2013-01-09  David S. Miller  <davem@davemloft.net>
63953         [BZ #15003]
63954         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63955         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63956         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63957         (TCP_FASTOPEN): Define.
63958         (tcp_repair_opt): New structure.
63959         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63960         enum values.
63961         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63962         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63963         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63964         (tcp_cookie_transactions): New structure.
63966 2013-01-09  Anton Blanchard  <anton@samba.org>
63968         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63969         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63973 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63975         * include/features.h (__USE_ANSI): Remove.
63977 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63979         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63981         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63983 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63985         * sysdeps/s390/fpu/libm-test-ulps: Update.
63987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63989         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63990         (__acr): Likewise.
63991         (__cpy): Likewise.
63992         (norm): Likewise.
63993         (denorm): Likewise.
63994         (__mp_dbl): Likewise.
63995         (__dbl_mp): Likewise.
63996         (add_magnitudes): Likewise.
63997         (sub_magnitudes): Likewise.
63998         (__add): Likewise.
63999         (__sub): Likewise.
64000         (__mul): Likewise.
64001         (__inv): Likewise.
64002         (__dvd): Likewise.
64003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64004         (__acr): Likewise.
64005         (__cpy): Likewise.
64006         (norm): Likewise.
64007         (denorm): Likewise.
64008         (__mp_dbl): Likewise.
64009         (__dbl_mp): Likewise.
64010         (add_magnitudes): Likewise.
64011         (sub_magnitudes): Likewise.
64012         (__add): Likewise.
64013         (__sub): Likewise.
64014         (__mul): Likewise.
64015         (__inv): Likewise.
64016         (__dvd): Likewise.
64017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64018         (__acr): Likewise.
64019         (__cpy): Likewise.
64020         (norm): Likewise.
64021         (denorm): Likewise.
64022         (__mp_dbl): Likewise.
64023         (__dbl_mp): Likewise.
64024         (add_magnitudes): Likewise.
64025         (sub_magnitudes): Likewise.
64026         (__add): Likewise.
64027         (__sub): Likewise.
64028         (__mul): Likewise.
64029         (__inv): Likewise.
64030         (__dvd): Likewise.
64032 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64034         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64035         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64036         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64037         2 && __USE_EXTERN_INLINES]: Likewise.
64039 2013-01-08  Andreas Jaeger  <aj@suse.de>
64041         [BZ# 14985]
64042         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64043         Remove.
64044         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64045         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64047 2013-01-07  Anton Blanchard  <anton@samba.org>
64049         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64050         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64051         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64052         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64053         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64054         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64055         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64056         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64058         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64059         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64060         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64061         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64063         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64064         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64065         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64066         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64067         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64068         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64069         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64070         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64071         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64072         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64073         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64074         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64075         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64076         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64077         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64078         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64079         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64081         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64082         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64083         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64084         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64085         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64086         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64087         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64088         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64089         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64090         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64091         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64093 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64095         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64096         (__MALLOC_PMT): Likewise.
64097         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64098         [__GNUC__], only on [_LIBC].
64099         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64100         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64101         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64102         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64103         forward declaration.
64104         (realloc_hook_ini): Likewise.
64105         (memalign_hook_ini): Likewise.
64106         (__libc_memalign): Do not use __MALLOC_PMT in variable
64107         declaration.
64108         (__libc_valloc): Likewise.
64109         (__libc_pvalloc): Likewise.
64110         (__libc_calloc): Likewise.
64111         (__posix_memalign): Likewise.
64113         [BZ #14996]
64114         * math/s_casinh.c: Include <float.h>.
64115         (__casinh): Do not do computation with squaring and square root
64116         for large arguments.
64117         * math/s_casinhf.c: Include <float.h>.
64118         (__casinhf): Do not do computation with squaring and square root
64119         for large arguments.
64120         * math/s_casinhl.c: Include <float.h>.
64121         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64122         (__casinhl): Do not do computation with squaring and square root
64123         for large arguments.
64124         * math/libm-test.inc (casin_test): Add more tests.
64125         (casinh_test): Likewise.
64126         * sysdeps/i386/fpu/libm-test-ulps: Update.
64127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64129 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64131         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64132         (__x86_64_raw_data_cache_size): Likewise.
64133         (__x86_64_data_cache_size_half): Likewise.
64134         (__x86_64_raw_data_cache_size_half): Likewise.
64135         (__x86_64_shared_cache_size): Likewise.
64136         (__x86_64_raw_shared_cache_size): Likewise.
64137         (__x86_64_shared_cache_size_half): Likewise.
64138         (__x86_64_raw_shared_cache_size_half): Likewise.
64139         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64140         to ...
64141         (__x86_data_cache_size): This.
64142         (__x86_64_raw_data_cache_size): Renamed to ...
64143         (__x86_raw_data_cache_size): This.
64144         (__x86_64_data_cache_size_half): Renamed to ...
64145         (__x86_data_cache_size_half): This.
64146         (__x86_64_raw_data_cache_size_half): Renamed to ...
64147         (__x86_raw_data_cache_size_half): This.
64148         (__x86_64_shared_cache_size): Renamed to ...
64149         (__x86_shared_cache_size): This.
64150         (__x86_64_raw_shared_cache_size): Renamed to ...
64151         (__x86_raw_shared_cache_size): This.
64152         (__x86_64_shared_cache_size_half): Renamed to ...
64153         (__x86_shared_cache_size_half): This.
64154         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64155         (__x86_raw_shared_cache_size_half): This.
64156         * sysdeps/x86_64/memcpy.S: Updated.
64157         * sysdeps/x86_64/memset.S: Likewise.
64158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64159         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64160         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64162 2013-01-04  David S. Miller  <davem@davemloft.net>
64164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64166 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64168         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64169         1 to avoid redefinition warning.
64170         (__USE_GNU): Don't define.
64171         (init_signaling_nan): Protoize.
64173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64175 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64177         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64179         (__cpymn): Likewise.
64180         (norm): Remove commented code.
64181         (denorm): Likewise.
64182         (__mp_dbl): Likewise.
64183         (__inv): Likewise.
64184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64185         (__cpymn): Likewise.
64186         (norm): Remove commented code.
64187         (denorm): Likewise.
64188         (__mp_dbl): Likewise.
64189         (__inv): Likewise.
64191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64192         mp_no value for 1.0 and 2.0.
64193         (norm): Use RADIXI instead of radixi.d.
64194         (denorm): Likewise.
64195         (__mul): Use 0.0 instead of zero.d.
64196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64197         mp_no value for 1.0 and 2.0.
64198         (norm): Use RADIXI instead of radixi.d.
64199         (denorm): Likewise.
64200         (__mul): Use 0.0 instead of zero.d.
64202 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64204         [BZ #14994]
64205         * math/s_casinh.c (__casinh): Reduce finite argument to first
64206         quadrant then set signs of results at the end.
64207         * math/s_casinhf.c (__casinhf): Likewise.
64208         * math/s_casinhl.c (__casinhl): Likewise.
64209         * math/libm-test.inc (casin_test): Add more tests.
64210         (casinh_test): Likewise.
64211         * sysdeps/i386/fpu/libm-test-ulps: Update.
64212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64214 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64216         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64218         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64220         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64221         declarations.
64222         (denorm): Likewise.
64223         (__mp_dbl): Likewise.
64224         (__inv): Likewise.
64226         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64227         and adjust the header comment.
64229         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64230         variable name from declaration.
64232 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64235         Initialize COMMON_CPUID_INDEX_7 element.
64236         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64237         (CPUID_RTM): Likewise.
64238         (HAS_RTM): Likewise.
64239         (COMMON_CPUID_INDEX_7): New enum.
64241 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64243         [BZ #14981]
64244         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64245         size is zero, record memory as freed.
64247 2013-01-03  Andreas Jaeger  <aj@suse.de>
64249         * po/ia.po: Add new Interlingua translation.
64251 2012-01-03  Allan McRae  <allan@archlinux.org>
64253         * locale/programs/localedef.c: Fix description of '--posix' flag.
64255 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64257         * NEWS: Update dates in second copyright notice.
64258         * README: Update copyright dates in example.
64259         * manual/libc.texinfo: Update copyright dates.
64260         * scripts/test-installation.pl: Update copyright date in --version
64261         output.
64263         * hurd/ctty-input.c: Fix copyright notice formatting.
64264         * hurd/ctty-output.c: Likewise.
64265         * hurd/dtable.c: Likewise.
64266         * hurd/hurd-raise.c: Likewise.
64267         * hurd/hurdprio.c: Likewise.
64268         * hurd/msgportdemux.c: Likewise.
64269         * misc/sys/file.h: Likewise.
64270         * misc/sys/ioctl.h: Likewise.
64271         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64272         * sysdeps/mach/hurd/chdir.c: Likewise.
64273         * sysdeps/mach/hurd/fchdir.c: Likewise.
64274         * sysdeps/mach/hurd/rename.c: Likewise.
64275         * sysdeps/mach/hurd/rmdir.c: Likewise.
64276         * sysdeps/mach/hurd/seekdir.c: Likewise.
64277         * sysdeps/mach/hurd/setsid.c: Likewise.
64278         * sysdeps/posix/wait3.c: Likewise.
64280         * All files with FSF copyright notices: Update copyright dates
64281         using scripts/update-copyrights.
64282         * intl/plural.c: Regenerated.
64283         * locale/programs/charmap-kw.h: Likewise.
64284         * locale/programs/locfile-kw.h: Likewise.
64286 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64288         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64289         four values.
64291         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64292         calculation loop and add branch prediction.
64294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64295         check access beyond bounds of m1np.
64297         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64298         MPTWO.
64299         (__inv): Remove local variable MPTWO to use the global
64300         constant.
64301         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64302         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64303         variable MPTWO.
64304         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64305         MP3HALFS static const.
64307 2013-01-01  David S. Miller  <davem@davemloft.net>
64309         * po/ca.po: Update from translation team.
64311 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64313         * scripts/update-copyrights: New file.
64314         * Makeconfig: Reformat copyright notice.
64315         * ctype/ctype.h: Likewise.
64316         * debug/swprintf_chk.c: Likewise.
64317         * elf/dl-cache.c: Likewise.
64318         * elf/dl-debug.c: Likewise.
64319         * elf/dl-object.c: Likewise.
64320         * grp/initgroups.c: Likewise.
64321         * hurd/Makefile: Likewise.
64322         * hurd/hurd/signal.h: Likewise.
64323         * hurd/hurdfault.c: Likewise.
64324         * hurd/hurdioctl.c: Likewise.
64325         * hurd/hurdlookup.c: Likewise.
64326         * hurd/intr-msg.c: Likewise.
64327         * iconv/gconv_open.c: Likewise.
64328         * libio/swprintf.c: Likewise.
64329         * locale/lc-ctype.c: Likewise.
64330         * locale/nl_langinfo.c: Likewise.
64331         * mach/Machrules: Likewise.
64332         * mach/Makefile: Likewise.
64333         * malloc/obstack.h: Likewise.
64334         * manual/Makefile: Likewise.
64335         * manual/tsort.awk: Likewise.
64336         * misc/bits/stab.def: Likewise.
64337         * nis/nis_print_group_entry.c: Likewise.
64338         * nis/nis_table.c: Likewise.
64339         * nis/nss_compat/compat-pwd.c: Likewise.
64340         * nis/nss_compat/compat-spwd.c: Likewise.
64341         * po/Makefile: Likewise.
64342         * posix/fnmatch.c: Likewise.
64343         * posix/regex.h: Likewise.
64344         * resolv/Makefile: Likewise.
64345         * resolv/nss_dns/dns-network.c: Likewise.
64346         * resolv/res_hconf.c: Likewise.
64347         * scripts/gen-sorted.awk: Likewise.
64348         * soft-fp/soft-fp.h: Likewise.
64349         * stdio-common/printf.h: Likewise.
64350         * stdlib/monetary.h: Likewise.
64351         * stdlib/random.c: Likewise.
64352         * stdlib/random_r.c: Likewise.
64353         * sysdeps/generic/Makefile: Likewise.
64354         * sysdeps/gnu/Makefile: Likewise.
64355         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64357         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64358         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64360         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64361         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64362         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64363         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64365         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64366         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64367         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64368         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64369         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64370         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64371         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64372         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64373         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64374         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64375         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64376         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64377         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64378         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64379         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64380         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64381         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64382         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64383         * sysdeps/mach/hurd/errnos.awk: Likewise.
64384         * sysdeps/mach/hurd/fork.c: Likewise.
64385         * sysdeps/mach/hurd/getcwd.c: Likewise.
64386         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64387         * sysdeps/mach/hurd/mmap.c: Likewise.
64388         * sysdeps/mach/hurd/utimes.c: Likewise.
64389         * sysdeps/mach/hurd/xmknod.c: Likewise.
64390         * sysdeps/posix/profil.c: Likewise.
64391         * sysdeps/posix/readdir_r.c: Likewise.
64392         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64393         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64394         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64395         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64397         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64398         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64399         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64401         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64402         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64403         * sysdeps/pthread/lio_listio.c: Likewise.
64404         * sysdeps/sparc/dl-procinfo.h: Likewise.
64405         * sysdeps/unix/i386/sysdep.S: Likewise.
64406         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64407         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64408         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64409         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64411         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64412         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64413         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64414         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64415         * sysdeps/wordsize-32/divdi3.c: Likewise.
64416         * time/sys/time.h: Likewise.
64417         * wcsmbs/Makefile: Likewise.
64419 2013-01-01  David S. Miller  <davem@davemloft.net>
64421         * po/fr.po: Update from translation team.
64423         * catgets/gencat.c: Update copyright year.
64424         * csu/version.c: Likewise.
64425         * debug/catchsegv.sh: Likewise.
64426         * debug/pcprofiledump.c: Likewise.
64427         * debug/xtrace.sh: Likewise.
64428         * elf/ldconfig.c: Likewise.
64429         * elf/ldd.bash.in: Likewise.
64430         * elf/pldd.c: Likewise.
64431         * elf/sotruss.ksh: Likewise.
64432         * elf/sprof.c: Likewise.
64433         * iconv/iconv_prog.c: Likewise.
64434         * iconv/iconvconfig.c: Likewise.
64435         * locale/programs/locale.c: Likewise.
64436         * locale/programs/localedef.c: Likewise.
64437         * login/programs/pt_chown.c: Likewise.
64438         * malloc/memusage.sh: Likewise.
64439         * malloc/memusagestat.c: Likewise.
64440         * malloc/mtrace.pl: Likewise.
64441         * nscd/nscd.c: Likewise.
64442         * nss/getent.c: Likewise.
64443         * nss/makedb.c: Likewise.
64444         * posix/getconf.c: Likewise.
64446 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64448         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64449         numbers.
64451 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64453         * math/bits/mathcalls.h (modf): Use __nonnull.
64455 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64457         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64458         (split): Use macro CN instead of the bare value.
64459         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64460         could be used.
64461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64462         instead of the bare value.
64463         (power1): Likewise.
64465 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64468         __ATAN_TWOM.
64469         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64471         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64472         their values.
64473         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64474         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64475         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64476         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64478 2012-12-28  Andreas Jaeger  <aj@suse.de>
64480         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64481         values are from Linux 3.7.
64483         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64484         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64486 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64488         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64489         TRUE case.
64491         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64492         (norm): Likewise.
64493         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64494         variables with preprocessor constants.
64495         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64496         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64497         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64499 2012-12-27  Bruno Haible  <bruno@clisp.org>
64501         [BZ #14317]
64502         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64503         only if needed.
64505 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64508         and use variable directly.
64509         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64511         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64512         MPONE.
64513         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64515         variable MPONE.
64516         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64517         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64518         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64519         include directive.  Remove local variable MPONE.
64520         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64521         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64522         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64524 2012-12-25  David S. Miller  <davem@davemloft.net>
64526         * version.h (RELEASE): Set to "development".
64527         (VERSION): Set to "2.17.90".
64528         * NEWS: Add 2.18 section.
64530 2012-12-21  David S. Miller  <davem@davemloft.net>
64532         * po/hr.po: Update from translation team.
64534 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64536         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64538 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64540         * NEWS:  Mention new memcpy for MIPS.
64542 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64544         * manual/contrib.texi (Contributors): Spelling correction.
64546 2012-12-15  David S. Miller  <davem@davemloft.net>
64548         * po/ru.po: Update from translation team.
64550 2012-12-13  David S. Miller  <davem@davemloft.net>
64552         * NEWS: Mention IFUNC testsuite enhancements.
64554         * po/pl.po: Update from translation team.
64555         * po/bg.po: Likewise.
64557         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64558         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64560 2012-12-11  David S. Miller  <davem@davemloft.net>
64562         * po/sv.po: Update from translation team.
64564         * po/vi.po: Update from translation team.
64566         * po/cs.po: Update from translation team.
64568         * po/de.po: Update from translation team.
64569         * po/eo.po: Likewise.
64570         * po/nl.po: Likewise.
64572 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64574         [BZ #14246]
64575         * manual/argp.texi (Argp Helper Functions): Move node to follow
64576         Argp Parsing State.
64578         [BZ #14872]
64579         * manual/conf.texi (Limits on File System Capacity): Mention if
64580         terminating null is included in the max size.
64582 2012-12-10  Andreas Jaeger  <aj@suse.de>
64584         * po/cs.po: Update from translation team.
64586 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64588         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64589         void pointer and cast to uintptr_t.
64590         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64591         path.
64592         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64593         * sysdeps/s390/s390-64/memset.S: Likewise.
64595 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64597         [BZ #14833]
64598         * menual/message.texi (Message Translation): Fix typos.
64599         (Helper programs for gettext): Likewise.
64601 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64603         [BZ #14898]
64604         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64605         Change to -1.
64607 2012-12-07  David S. Miller  <davem@davemloft.net>
64609         * po/libc.pot: Update.
64611 2012-12-07  Richard Henderson  <rth@redhat.com>
64613         [BZ #10114]
64614         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64615         normal/normal case to before the switch.
64616         (_FP_DIV): Likewise.
64618 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64619             Mike Frysinger  <vapier@gentoo.org>
64621         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64622         check for __NR_fadvise64_64.
64624 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64626         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64627         0, not just to plain "0" as a statement.
64628         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64629         with cw.
64631 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64633         * NEWS: Use sourceware.org in Bugzilla URL.
64635 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64638         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64640         * stdio-common/tst-put-error.c (do_test): Add newline to the
64641         padded test to ensure flush.
64643 2012-12-05  Jeff Law  <law@redhat.com>
64645         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64647 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64649         * README: Don't refer to ports add-on as distributed separately.
64650         Mention AArch64 in list of systems supported in the ports add-on.
64652         * LICENSES: Add more non-FSF copyright and license notices.
64654         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64655         ((unused)).
64657         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64659         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64660         10000 as width of padded output.
64662 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64664         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64666         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64667         variable LX with __attribute__ ((unused)).
64668         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64669         Likewise.
64670         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64672         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64673         with __attribute__ ((unused)).
64675 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64677         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64679 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64681         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64682         (CFLAGS-nldbl-acos.c): New variable.
64683         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64684         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64685         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64686         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64687         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64688         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64689         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64690         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64691         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64692         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64693         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64694         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64695         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64696         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64697         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64698         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64699         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64700         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64701         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64702         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64703         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64704         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64705         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64706         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64707         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64708         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64709         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64710         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64711         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64712         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64713         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64714         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64715         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64716         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64717         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64718         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64719         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64720         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64721         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64722         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64723         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64724         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64725         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64726         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64727         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64728         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64729         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64730         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64731         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64732         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64733         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64734         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64735         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64736         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64737         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64738         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64739         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64740         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64741         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64742         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64743         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64744         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64745         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64746         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64747         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64748         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64749         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64750         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64751         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64752         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64753         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64754         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64755         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64756         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64757         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64758         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64759         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64760         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64761         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64762         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64763         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64764         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64765         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64766         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64767         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64768         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64769         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64770         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64771         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64772         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64773         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64774         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64775         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64776         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64777         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64778         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64779         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64782         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64784         [BZ #14914]
64785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64786         whole low double instead of just low 47 bits when splitting values
64787         into two parts.
64789 2012-12-03  Allan McRae  <allan@archlinux.org>
64791         * manual/stdio.texi (Predefined Printf Handlers): Remove
64792         @hsep and @vsep usage.
64794 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64796         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64797         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64799 2012-12-03  Jeff Law  <law@redhat.com>
64801         * time/sys/time.h (settimeofday): Do not mark TV argument
64802         as __nonnull.
64804 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64806         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64807         when currently writing and seek to current position when not.
64808         * libio/Makefile (tests): Remove bug-fclose1.
64809         * libio/bug-fclose1.c: Delete.
64811 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64813         * manual/arith.texi (feenableexcept): Fix typo.
64814         (fedisableexcept): Likewise.
64816 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64818         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64819         second, differently-typed declaration, rather than a cast.
64821 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64823         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64824         * include/rpc/svc.h: ... here.
64826 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64828         [BZ #13013]
64829         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64830         depending n and resplen2 to catch cases where answer
64831         equals answerp2.
64833 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64835         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64836         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64838 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64840         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64842 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64844         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64846 2012-11-28  Jeff Law  <law@redhat.com>
64848         [BZ #13761]
64849         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64850         dataset_temporary.  Track alloca usage into alloca_used.
64851         If dataset is large allocate and release it via malloc/free.
64853 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64855         [BZ #14197]
64856         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64858 2012-11-28  David S. Miller  <davem@davemloft.net>
64860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64862 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64864         [BZ #14803]
64865         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64866         of pi/2 rounded to nearest to 64 bits.
64867         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64868         nearest to 64 bits.
64869         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64870         bits.
64872 2012-11-28  Jeff Law <law@redhat.com>
64873             Martin Osvald <mosvald@redhat.com>
64875         [BZ #14889]
64876         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64877         * sunrpc/svc.c: Include time.h.
64878         (__svc_accept_failed): New function.
64879         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64880         any reason other than EINTR, call __svc_accept_failed.
64881         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64882         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64884 2012-11-28  Andreas Schwab  <schwab@suse.de>
64886         * scripts/abilist.awk: Also handle indirect functions in .opd
64887         section.
64889 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64891         [BZ #13881]
64892         * sysdeps/x86/fpu/powl_helper.c: New file.
64893         * sysdeps/x86/fpu/Makefile: Likewise.
64894         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64895         (p3): New object.
64896         (__ieee754_powl): Use __powl_helper for finite arguments except
64897         integer exponents below 8.
64898         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64899         (p3): New object.
64900         (__ieee754_powl): Use __powl_helper for finite arguments except
64901         integer exponents below 8.
64902         * math/libm-test.inc (pow_test): Add more tests and enable some
64903         previously disabled tests.
64904         * sysdeps/i386/fpu/libm-test-ulps: Update.
64905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64907 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64908             Carlos O'Donell  <carlos_odonell@mentor.com>
64910         * nss/makedb.c (is_prime): Assert that input is odd and greater
64911         than 4.  Note that fact in a comment too.
64912         (next_prime): Add 4 to input.
64914 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64916         [BZ #11741]
64917         * libio/Makefile (tests): Add test case tst-fwrite-error.
64918         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64919         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64920         * libio/tst-fwrite-error.c: New test case.
64922 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64924         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64925         before casting to void *.
64926         * include/libc-internal.h (__pointer_type): New macro.
64927         (__integer_if_pointer_type_sub): Likewise.
64928         (__integer_if_pointer_type): Likewise.
64929         (cast_to_integer): Likewise.
64930         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64931         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64932         before casting to atomic64_t.
64933         (atomic_exchange_acq): Likewise.
64934         (__arch_exchange_and_add_body): Likewise.
64935         (__arch_add_body): Likewise.
64936         (atomic_add_negative): Likewise.
64937         (atomic_add_zero): Likewise.
64939 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64941         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64942         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64943         (add_fdes): Likewise.
64944         (linear_search_fdes): Likewise.
64945         (binary_search_unencoded_fdes): Likewise.
64947 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64949         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64951 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64953         * configure.in: Autodetect C++ header directories.
64954         * configure: Regenerated.
64956 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64958         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64960 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64964 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64966         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64967         LDBL_MANT_DIG == 106]: Disable some tests.
64968         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64969         Likewise.
64970         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64971         Likewise.
64973         [BZ #14871]
64974         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64975         input for small inputs.  Return +/- pi/2 for large inputs.
64976         * math/libm-test.inc (atan_test): Add more tests.
64978         * sysdeps/generic/unwind-dw2-fde-glibc.c
64979         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64980         __attribute__ ((unused)).
64982         [BZ #14645]
64983         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64984         x * y if x and y are nonzero and z is zero.
64986         [BZ #14811]
64987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64988         nonzero exponents with absolute value below 0x1p-117 to +/-
64989         0x1p-117.
64991         [BZ #14869]
64992         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64993         up arguments below 2**-450, not just those below 2**-500.
64994         * math/libm-test.inc (hypot_test): Add another test.
64996         [BZ #14868]
64997         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64998         Return a+b for ratio over 2**120, not 2**60.
64999         * math/libm-test.inc (hypot_test): Add another test.
65001         * math/libm-test.inc (clog_test): Use
65002         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65003         (clog10_test): Likewise.
65005         [BZ #6778]
65006         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65008 2012-11-22  Andreas Schwab  <schwab@suse.de>
65010         * sysdeps/i386/fpu/libm-test-ulps: Update.
65012 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65014         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65015         printf output with newline.
65017 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65019         [BZ #14865]
65020         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65021         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65022         -z nodlopen, -z initfirst and -z execstack support.
65023         * configure: Regenerated.
65025         * elf/elf.h (DF_1_NODIRECT): New macro.
65026         (DF_1_IGNMULDEF): Likewise.
65027         (DF_1_NOKSYMS): Likewise.
65028         (DF_1_NOHDR): Likewise.
65029         (DF_1_EDITED): Likewise.
65030         (DF_1_NORELOC): Likewise.
65031         (DF_1_SYMINTPOSE): Likewise.
65032         (DF_1_GLOBAUDIT): Likewise.
65033         (DF_1_SINGLETON): Likewise.
65034         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65035         DT_1_SUPPORTED_MASK bits.
65036         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65038 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65040         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65042 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65044         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65045         macro.
65047         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65048         (sendmmsg): Move declarations...
65049         * socket/sys/socket.h: ... here.
65050         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65051         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65052         include it from...
65053         * socket/recvmmsg.c: ... this new file.
65054         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65055         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65056         definition of __sendmmsg hidden.
65057         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65058         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65059         Move ENOSYS stub into and include it from...
65060         * socket/sendmmsg.c: ... this new file.
65061         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65062         (sysdep_routines): Move recvmmsg and sendmmsg...
65063         * socket/Makefile (routines): ... here.
65064         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65065         (GLIBC_PRIVATE): Add __sendmmsg.
65066         * include/sys/socket.h (__sendmmsg): Add declarations.
65067         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65068         sendmmsg.
65070 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65072         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65073         variable I1 with __attribute__ ((unused)).
65074         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65076 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65078         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65079         DUMMY variables with __attribute__ ((unused)).
65081         * bits/byteswap.h: Include <bits/types.h>.
65082         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65084 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65086         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65087         string_t.  Do not manually set errno.
65088         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65089         length with __strnlen.  Make sure to both set errno and return it on
65090         failure.
65092 2012-11-19  David S. Miller  <davem@davemloft.net>
65094         With help from Joseph Myers.
65095         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65096         very large arguments properly.
65097         * math/libm-test.inc (atan_test): New tests.
65098         (atan2_test): New tests.
65099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65102 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65104         [BZ #14856]
65105         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65106         Define to 3.
65108         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65109         [POSIX] (EADDRNOTAVAIL): Likewise.
65110         [POSIX] (EAFNOSUPPORT): Likewise.
65111         [POSIX] (EALREADY): Likewise.
65112         [POSIX] (ECONNABORTED): Likewise.
65113         [POSIX] (ECONNREFUSED): Likewise.
65114         [POSIX] (ECONNRESET): Likewise.
65115         [POSIX] (EDESTADDRREQ): Likewise.
65116         [POSIX] (EDQUOT): Likewise.
65117         [POSIX] (EHOSTUNREACH): Likewise.
65118         [POSIX] (EIDRM): Likewise.
65119         [POSIX] (EISCONN): Likewise.
65120         [POSIX] (ELOOP): Likewise.
65121         [POSIX] (EMULTIHOP): Likewise.
65122         [POSIX] (ENETDOWN): Likewise.
65123         [POSIX] (ENETUNREACH): Likewise.
65124         [POSIX] (ENOBUFS): Likewise.
65125         [POSIX] (ENODATA): Likewise.
65126         [POSIX] (ENOLINK): Likewise.
65127         [POSIX] (ENOMSG): Likewise.
65128         [POSIX] (ENOPROTOOPT): Likewise.
65129         [POSIX] (ENOSR): Likewise.
65130         [POSIX] (ENOSTR): Likewise.
65131         [POSIX] (ENOTCONN): Likewise.
65132         [POSIX] (ENOTSOCK): Likewise.
65133         [POSIX] (EOPNOTSUPP): Likewise.
65134         [POSIX] (EOVERFLOW): Likewise.
65135         [POSIX] (EPROTO): Likewise.
65136         [POSIX] (EPROTONOSUPPORT): Likewise.
65137         [POSIX] (EPROTOTYPE): Likewise.
65138         [POSIX] (ESTALE): Likewise.
65139         [POSIX] (ETIME): Likewise.
65140         [POSIX] (ETXTBSY): Likewise.
65141         [POSIX] (EWOULDBLOCK): Likewise.
65142         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65143         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65144         [POSIX] (SEEK_CUR): Likewise.
65145         [POSIX] (SEEK_END): Likewise.
65146         [POSIX || UNIX98] (mode_t): Do not require.
65147         [POSIX] (off_t): Likewise.
65148         [POSIX] (pid_t): Likewise.
65149         [POSIX] (sys/stat.h): Do not allow header.
65150         [POSIX] (unistd.h): Likewise.
65151         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65152         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65153         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65154         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65155         require.
65156         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65157         sigevent): Specify elements.
65158         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65159         entry.
65160         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65161         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65163         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65164         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65165         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65166         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65167         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65168         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65169         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65170         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65171         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65172         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65173         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65174         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65175         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65176         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65177         Likewise.
65178         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65179         Likewise.
65180         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65181         Likewise.
65182         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65183         Likewise.
65184         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65185         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65186         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65187         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65188         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65189         Specify lower bound on value.
65190         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65191         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65192         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65193         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65194         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65195         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65196         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65197         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65198         value.
65199         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65200         as optional.
65201         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65202         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65203         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65204         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65206         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65207         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65208         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65209         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65210         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65211         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65212         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65213         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65214         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65215         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65216         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65217         entry.
65218         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65219         optional.
65220         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65221         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65222         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65223         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65224         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65225         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65226         Likewise.
65227         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65228         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65229         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65230         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65231         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65232         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65233         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65234         as optional.
65235         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65236         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65237         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65238         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65239         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65240         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65241         specify as optional.
65242         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65243         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65244         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65245         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65246         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65247         [XPG3] (NL_LANGMAX): Likewise.
65248         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65249         [POSIX || XPG3] (NL_NMAX): Likewise.
65250         [POSIX || XPG3] (NL_SETMAX): Likewise.
65251         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65252         [XPG3] (NZERO): Likewise.
65253         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65254         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65255         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65256         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65257         (REG_ERANGE): Expect.
65258         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65259         optional-constant.
65260         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65261         Use (void) in prototype.
65262         [POSIX] (*_t): Allow.
65263         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65264         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65265         (WRDE_BADVAL): Expect.
65267         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65268         expect.
65269         [XPG3 || XPG4] (O_RSYNC): Likewise.
65270         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65271         Likewise.
65272         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65273         [XPG3 || XPG4] (sigqueue): Likewise.
65274         [XPG3 || XPG4] (sigtimedwait): Likewise.
65275         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65276         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65277         [XPG3 || XPG4] (vsnprintf): Likewise.
65278         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65279         Likewise.
65280         [XPG3 || XPG4] (blksize_t): Likewise.
65281         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65282         Likewise.
65283         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65284         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65285         [XPG3 || XPG4] (struct itimerspec): Likewise.
65286         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65287         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65288         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65289         [XPG3 || XPG4] (clockid_t): Likewise.
65290         [XPG3 || XPG4] (timer_t): Likewise.
65291         [XPG3 || XPG4] (clock_getres): Likewise.
65292         [XPG3 || XPG4] (clock_gettime): Likewise.
65293         [XPG3 || XPG4] (clock_settime): Likewise.
65294         [XPG3 || XPG4] (nanosleep): Likewise.
65295         [XPG3 || XPG4] (timer_create): Likewise.
65296         [XPG3 || XPG4] (timer_delete): Likewise.
65297         [XPG3 || XPG4] (timer_gettime): Likewise.
65298         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65299         [XPG3 || XPG4] (timer_settime): Likewise.
65300         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65301         [XPG3 || XPG4] (getlogin_r): Likewise.
65302         [XPG3 || XPG4] (pread): Likewise.
65303         [XPG3 || XPG4] (pthread_atfork): Likewise.
65304         [XPG3 || XPG4] (pwrite): Likewise.
65306         [BZ #14835]
65307         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65308         <bits/siginfo.h>.
65310 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65312         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65313         finalizing MALLSTREAM.
65315         * sysdeps/mach/hurd/syncfs.c: New file.
65317 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65319         [BZ #14719]
65320         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65321         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65322         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65323         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65324         (_nss_dns_gethostbyname4_r): Likewise.
65325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65326         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65328 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65330         [BZ #13763]
65331         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65333 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65335         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65336         * elf/cache.c (print_entry): Print ",AArch64" for
65337         FLAG_AARCH64_LIB64
65339         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65340         * elf/cache.c (print_entry): Print ",hard-float" for
65341         FLAG_ARM_LIBHF.
65343 2012-11-18  David S. Miller  <davem@davemloft.net>
65345         With help from Joseph Myers.
65346         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65347         cutoff to 2**-13.
65348         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65349         cutoff to 2**-25.
65350         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65351         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65352         small.
65353         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65354         * math/libm-test.inc (y0_test): New tests.
65355         (y1_test): New tests.
65356         * sysdeps/i386/fpu/libm-test-ulps: Update.
65357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65360 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65362         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65363         64-bit targets.
65364         * configure: Regenerated.
65366 2012-11-17  David S. Miller  <davem@davemloft.net>
65368         [BZ #14811]
65369         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65370         nonzero exponents with absolute value below 0x1p-128 to +/-
65371         0x1p-128.
65373 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65375         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65377         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65379         * posix/getconf-speclist.c: New file.
65380         * posix/posix-envs.def: Likewise.
65381         * posix/confstr.c (START_ENV_GROUP): New macro.
65382         (END_ENV_GROUP): Likewise.
65383         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65384         (KNOWN_PRESENT_ENV_STRING): Likewise.
65385         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65386         (UNKNOWN_ENVIRONMENT): Likewise.
65387         (confstr): Include posix-envs.def instead of handling
65388         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65389         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65390         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65391         (END_ENV_GROUP): Likewise.
65392         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65393         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65394         (UNKNOWN_ENVIRONMENT): Likewise.
65395         (__sysconf): Include posix-envs.def instead of handling associated
65396         cases directly here.
65397         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65398         preprocessing getconf-speclist.c rather than running getconf or
65399         generating empty file.
65401 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65403         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65405 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65407         [BZ #14672]
65408         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65410 2012-11-16  David S. Miller  <davem@davemloft.net>
65412         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65413         smaller than LDBL_EPSILON/2.0L, just return xm1.
65415 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65417         * elf/tst-array1.c (init): Set constructor priority to 1000.
65418         (fini): Set destructor priority to 1000.
65419         * elf/tst-array2dep.c: Likewise.
65421 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65423         [BZ #11741]
65424         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65425         (_IO_new_file_xsputn): Also return EOF if none of the input
65426         data was written when overflow failed.
65427         * libio/iopadn.c (_IO_padn): Likewise.
65428         * libio/iowpadn.c (_IO_wpadn): Likewise.
65429         * stdio-common/tst-put-error.c: Add copyright notice.
65430         (do_test): Add case for printing padded string.
65431         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65432         _IO_padn returned error.
65433         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65434         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65435         return EOF.
65437 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65439         * libio/libioP.h: Add comment note that the references to C++
65440         bits are now obsolete.
65442 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65444         * math/libm-test.inc (check_complex): Use asprintf.
65446 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65448         * debug/pcprofiledump.c (print_version): Update copyright year.
65449         * malloc/memusagestat.c (print_version): Likewise.
65451 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65453         [BZ #14831]
65454         * elf/Makefile (tests): Add tst-audit8.
65455         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65456         ($(objpfx)tst-audit8.out): New target.
65457         (tst-audit8-ENV): New variable.
65458         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65459         audit if l_reloc_result is NULL.
65460         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65461         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65462         * elf/tst-audit8.c: New file.
65464 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65466         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65467         * misc/Makefile (CFLAGS-select.c): Define.
65468         * posix/Makefile (CFLAGS-pause.c): Define.
65470 2012-11-13  David S. Miller  <davem@davemloft.net>
65472         * crypt/Makefile: Move test targets after toplevel Rules
65473         inclusion.  Grab any necessary sysdep routines when linking.
65474         * crypt/md5.c (md5_process_block): Remove define, we will always
65475         name it __md5_process_block.
65476         (md5_finish_ctx): Update md5_process_block call.
65477         (md5_stream): Likewise.
65478         (md5_process_bytes): Likewise.
65479         (md5_process_block): Rename to __md5_process_block and move to ...
65480         * crypt/md5-block.c: ... here.
65481         * crypt/sha256.c (sha256_process_block): Move to ...
65482         * crypt/sha256-block.c: ... here.
65483         * crypt/sha512.c (sha512_process_block): Move to ...
65484         * crypt/sha512-block.c: ... here.
65485         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65486         path.
65487         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65488         * sysdeps/sparc/sparc64/multiarch/Makefile
65489         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65490         crypt subdir.
65491         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65492         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65493         multiarch changes.
65494         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65495         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65496         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65497         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65498         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65499         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65500         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65501         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65502         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65503         file.
65504         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65505         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65506         file.
65507         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65509 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65511         * timezone/tzselect.ksh: Update from tzcode git revision
65512         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65513         * timezone/zdump.c: Likewise.
65514         * timezone/zic.c: Likewise.
65515         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65516         in TZVERSION setting, not $(PKGVERSION).
65517         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65518         REPORT_BUGS_TO settings.
65520         [BZ #14838]
65521         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65522         macro.
65524 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65526         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65527         detection to immediately after _FP_ROUND().
65528         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65529         bits are 0.
65531 2012-11-11  David S. Miller  <davem@davemloft.net>
65533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65534         inttypes.h
65535         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65536         __close rather than their public counterparts.
65538 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65540         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65541         file.
65542         [UNIX98] (sem_timedwait): Do not expect.
65543         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65544         [XPG4 || UNIX98] (sockatmark): Do not expect.
65545         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65546         (clock_getcpuclockid): Do not expect.
65547         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65548         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65549         Do not expect.
65550         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65551         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65552         [UNIX98] (vwscanf): Likewise.
65553         [UNIX98] (vswscanf): Likewise.
65555 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65557         * timezone/version.h: Remove file.
65558         * timezone/README: Do not refer to version.h.
65559         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65560         $(objpfx)version.h.
65561         ($(objpfx)zdump.o): Likewise.
65562         ($(objpfx)version.h): New target.
65564         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65565         2012i.
65566         * timezone/README: Don't mention modification to tzselect.ksh.
65567         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65568         work on unmodified tzselect.ksh.  Substitute version numbers in
65569         tzselect.ksh.
65571         * Makefile (format-me): Remove.
65572         (INSTALL): Adjust indentation.  Use commands directly instead of
65573         using $(format-me).
65575         * aclocal.m4 (ACX_PKGVERSION): New macro.
65576         (ACX_BUGURL): Likewise.
65577         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65578         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65579         (REPORT_BUGS_TO): Likewise.
65580         * configure: Regenerated.
65581         * config.h.in (PKGVERSION): New macro.
65582         (REPORT_BUGS_TO): Likewise.
65583         * config.make.in (PKGVERSION): New variable.
65584         (PKGVERSION_TEXI): Likewise.
65585         (REPORT_BUGS_TO): Likewise.
65586         (REPORT_BUGS_TEXI): Likewise.
65587         * Makefile (format-me): Use -I$(common-objpfx)manual.
65588         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65589         ($(common-objpfx)manual/%): New target.
65590         (manual/%): Remove target.
65591         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65592         (print_version): Use PKGVERSION.
65593         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65594         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65595         and REPORT_BUGS_TO.
65596         ($(objpfx)xtrace): Likewise.
65597         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65598         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65599         (print_version): Use PKGVERSION.
65600         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65601         (do_version): Use PKGVERSION.
65602         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65603         REPORT_BUGS_TO.
65604         (common-ldd-rewrite): Likewise.
65605         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65606         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65607         (print_version): Use PKGVERSION.
65608         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65609         * elf/pldd.c (argp_program_bug_address): Remove variable.
65610         (more_help): New function.
65611         (argp): Use more_help.
65612         (print_version): Use PKGVERSION.
65613         * elf/sln.c (main): Use PKGVERSION.
65614         (usage): Use REPORT_BUGS_TO.
65615         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65616         (top level): Use PKGVERSION.
65617         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65618         (print_version): Use PKGVERSION.
65619         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65620         (print_version): Use PKGVERSION.
65621         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65622         (print_version): Use PKGVERSION.
65623         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65624         (print_version): Use PKGVERSION.
65625         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65626         (print_version): Use PKGVERSION.
65627         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65628         (print_version): Use PKGVERSION.
65629         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65630         and BUGURL.
65631         ($(objpfx)memusage): Likewise.
65632         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65633         (do_version): Use PKGVERSION.
65634         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65635         (print_version): Use PKGVERSION.
65636         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65637         ($PKGVERSION): New variable.
65638         ($REPORT_BUGS_TO): Likewise.
65639         (usage): Use $REPORT_BUGS_TO.
65640         (top level): Use $PKGVERSION.
65641         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65642         ($(objpfx)pkgvers.texi): New rule.
65643         ($(objpfx)stamp-pkgvers): Likewise.
65644         * manual/install.texi: Include pkgvers.texi.
65645         (--with-pkgversion): Document new configure option.
65646         (--with-bugurl): Likewise.
65647         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65648         than necessarily for this particular distribution.  Use
65649         REPORT_BUGS_TO for where to report bugs.
65650         * INSTALL: Regenerated.
65651         * manual/libc.texinfo: Include pkgvers.texi.
65652         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65653         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65654         (print_version): Use PKGVERSION.
65655         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65656         (print_version): Use PKGVERSION.
65657         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65658         (print_version): Use PKGVERSION.
65659         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65660         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65661         macro.
65662         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65663         (print_version): Use PKGVERSION.
65664         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65665         (print_version): Use PKGVERSION.
65666         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65667         and PKGVERSION.
65669         * timezone/checktab.awk: Update from tzcode 2012i.
65670         * timezone/ialloc.c: Likewise.
65671         * timezone/private.h: Likewise.
65672         * timezone/scheck.c: Likewise.
65673         * timezone/tzfile.h: Likewise.
65674         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65675         (TZVERSION): Hardcode tzcode version number.
65676         * timezone/zdump.c: Update from tzcode 2012i.
65677         * timezone/zic.c: Likewise.
65678         * timezone/version.h: New file.
65679         * timezone/README: Describe version.h.  Update upstream location.
65681         [BZ #14824]
65682         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65683         (mktemp): Enable declaration.
65684         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65688         Likewise.
65689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65690         Likewise.
65691         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65692         Likewise.
65693         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65694         Likewise.
65695         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65696         Likewise.
65697         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65698         Likewise.
65700         [BZ #14821]
65701         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65702         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65703         for copies of such integer values.
65704         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65705         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65707 2012-11-09  Andreas Jaeger  <aj@suse.de>
65709         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65710         definitions and declarations that are provided by
65711         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65713 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65715         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65716         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65717         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65718         definition.
65720 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65722         * elf/elf.h: Update comment before AArch64 relocations.
65724 2012-11-07  David S. Miller  <davem@davemloft.net>
65726         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65727         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65728         (__start_context): Declare.
65729         (__makecontext_ret): Delete.
65730         (__makecontext): Hook up __start_context instead of
65731         __makecontext_ret.
65732         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65733         (sysdep_routines): Add __start_context when in stdlib.
65735 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65737         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65738         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65739         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65740         hardcoded "nm".
65741         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65742         (READELF): New variable.  Use it instead of hardcoded "readelf".
65744 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65746         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65747         * sysdeps/x86/Makefile: Here.
65748         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65749         * sysdeps/x86/tst-xmmymm.sh: This.
65751 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65753         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65754         expectations.
65755         [UNIX98] (pthread_barrier_t): Do not expect.
65756         [UNIX98] (pthread_barrierattr_t): Likewise.
65757         [UNIX98] (pthread_spinlock_t): Likewise.
65758         [UNIX98] (pthread_barrier_destroy): Likewise.
65759         [UNIX98] (pthread_barrier_init): Likewise.
65760         [UNIX98] (pthread_barrier_wait): Likewise.
65761         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65762         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65763         [UNIX98] (pthread_barrierattr_init): Likewise.
65764         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65765         [UNIX98] (pthread_getcpuclockid): Likewise.
65766         [UNIX98] (pthread_mutex_timedlock): Likewise.
65767         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65768         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65769         [UNIX98] (pthread_sigmask): Likewise.
65770         [UNIX98] (pthread_spin_destroy): Likewise.
65771         [UNIX98] (pthread_spin_init): Likewise.
65772         [UNIX98] (pthread_spin_lock): Likewise.
65773         [UNIX98] (pthread_spin_trylock): Likewise.
65774         [UNIX98] (pthread_spin_unlock): Likewise.
65775         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65776         Do not expect.
65777         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65778         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65779         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65780         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65781         [XPG3 || XPG4] (pthread_key_t): Likewise.
65782         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65783         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65784         [XPG3 || XPG4] (pthread_once_t): Likewise.
65785         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65786         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65787         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65788         [XPG3 || XPG4] (pthread_t): Likewise.
65790         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65791         not expect.
65792         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65794         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65795         Change function return type to int.
65797         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65798         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65799         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65800         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65801         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65802         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65803         [!POSIX] (posix_madvise): Likewise.
65804         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65805         && !UNIX98].
65806         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65807         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65808         (mode_t): Likewise.
65809         (posix_mem_offset): Likewise.
65810         (posix_typed_mem_get_info): Likewise.
65811         (posix_typed_mem_open): Likewise.
65813         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65814         Change condition to [XOPEN2K8].
65816         * conform/conformtest.pl: Preprocess allow-header data with -x c
65817         instead of from stdin.
65818         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65819         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65820         [C99-based standards] (cerfc): Likewise.
65821         [C99-based standards] (cexp2): Likewise.
65822         [C99-based standards] (cexpm1): Likewise.
65823         [C99-based standards] (clog10): Likewise.
65824         [C99-based standards] (clog1p): Likewise.
65825         [C99-based standards] (clog2): Likewise.
65826         [C99-based standards] (clgamma): Likewise.
65827         [C99-based standards] (ctgamma): Likewise.
65828         [C99-based standards] (cerff): Likewise.
65829         [C99-based standards] (cerfcf): Likewise.
65830         [C99-based standards] (cexp2f): Likewise.
65831         [C99-based standards] (cexpm1f): Likewise.
65832         [C99-based standards] (clog10f): Likewise.
65833         [C99-based standards] (clog1pf): Likewise.
65834         [C99-based standards] (clog2f): Likewise.
65835         [C99-based standards] (clgammaf): Likewise.
65836         [C99-based standards] (ctgammaf): Likewise.
65837         [C99-based standards] (cerfl): Likewise.
65838         [C99-based standards] (cerfcl): Likewise.
65839         [C99-based standards] (cexp2l): Likewise.
65840         [C99-based standards] (cexpm1l): Likewise.
65841         [C99-based standards] (clog10l): Likewise.
65842         [C99-based standards] (clog1pl): Likewise.
65843         [C99-based standards] (clog2l): Likewise.
65844         [C99-based standards] (clgammal): Likewise.
65845         [C99-based standards] (ctgammal): Likewise.
65846         * conform/data/inttypes.h-data [C99-based standards]: Include
65847         stdint.h-data.  Remove all expectations for stdint.h contents.
65848         [C99-based standards] (PRI*): Do not allow.
65849         [C99-based standards] (SCN*): Likewise.
65850         [C99-based standards] (*_t): Likewise.
65851         [C99-based-standards] (PRId8): Expect macro.
65852         [C99-based-standards] (PRIi8): Likewise.
65853         [C99-based-standards] (PRIo8): Likewise.
65854         [C99-based-standards] (PRIu8): Likewise.
65855         [C99-based-standards] (PRIx8): Likewise.
65856         [C99-based-standards] (PRIX8): Likewise.
65857         [C99-based-standards] (SCNd8): Likewise.
65858         [C99-based-standards] (SCNi8): Likewise.
65859         [C99-based-standards] (SCNo8): Likewise.
65860         [C99-based-standards] (SCNu8): Likewise.
65861         [C99-based-standards] (SCNx8): Likewise.
65862         [C99-based-standards] (PRIdLEAST8): Likewise.
65863         [C99-based-standards] (PRIiLEAST8): Likewise.
65864         [C99-based-standards] (PRIoLEAST8): Likewise.
65865         [C99-based-standards] (PRIuLEAST8): Likewise.
65866         [C99-based-standards] (PRIxLEAST8): Likewise.
65867         [C99-based-standards] (PRIXLEAST8): Likewise.
65868         [C99-based-standards] (SCNdLEAST8): Likewise.
65869         [C99-based-standards] (SCNiLEAST8): Likewise.
65870         [C99-based-standards] (SCNoLEAST8): Likewise.
65871         [C99-based-standards] (SCNuLEAST8): Likewise.
65872         [C99-based-standards] (SCNxLEAST8): Likewise.
65873         [C99-based-standards] (PRIdFAST8): Likewise.
65874         [C99-based-standards] (PRIiFAST8): Likewise.
65875         [C99-based-standards] (PRIoFAST8): Likewise.
65876         [C99-based-standards] (PRIuFAST8): Likewise.
65877         [C99-based-standards] (PRIxFAST8): Likewise.
65878         [C99-based-standards] (PRIXFAST8): Likewise.
65879         [C99-based-standards] (SCNdFAST8): Likewise.
65880         [C99-based-standards] (SCNiFAST8): Likewise.
65881         [C99-based-standards] (SCNoFAST8): Likewise.
65882         [C99-based-standards] (SCNuFAST8): Likewise.
65883         [C99-based-standards] (SCNxFAST8): Likewise.
65884         [C99-based-standards] (PRId16): Likewise.
65885         [C99-based-standards] (PRIi16): Likewise.
65886         [C99-based-standards] (PRIo16): Likewise.
65887         [C99-based-standards] (PRIu16): Likewise.
65888         [C99-based-standards] (PRIx16): Likewise.
65889         [C99-based-standards] (PRIX16): Likewise.
65890         [C99-based-standards] (SCNd16): Likewise.
65891         [C99-based-standards] (SCNi16): Likewise.
65892         [C99-based-standards] (SCNo16): Likewise.
65893         [C99-based-standards] (SCNu16): Likewise.
65894         [C99-based-standards] (SCNx16): Likewise.
65895         [C99-based-standards] (PRIdLEAST16): Likewise.
65896         [C99-based-standards] (PRIiLEAST16): Likewise.
65897         [C99-based-standards] (PRIoLEAST16): Likewise.
65898         [C99-based-standards] (PRIuLEAST16): Likewise.
65899         [C99-based-standards] (PRIxLEAST16): Likewise.
65900         [C99-based-standards] (PRIXLEAST16): Likewise.
65901         [C99-based-standards] (SCNdLEAST16): Likewise.
65902         [C99-based-standards] (SCNiLEAST16): Likewise.
65903         [C99-based-standards] (SCNoLEAST16): Likewise.
65904         [C99-based-standards] (SCNuLEAST16): Likewise.
65905         [C99-based-standards] (SCNxLEAST16): Likewise.
65906         [C99-based-standards] (PRIdFAST16): Likewise.
65907         [C99-based-standards] (PRIiFAST16): Likewise.
65908         [C99-based-standards] (PRIoFAST16): Likewise.
65909         [C99-based-standards] (PRIuFAST16): Likewise.
65910         [C99-based-standards] (PRIxFAST16): Likewise.
65911         [C99-based-standards] (PRIXFAST16): Likewise.
65912         [C99-based-standards] (SCNdFAST16): Likewise.
65913         [C99-based-standards] (SCNiFAST16): Likewise.
65914         [C99-based-standards] (SCNoFAST16): Likewise.
65915         [C99-based-standards] (SCNuFAST16): Likewise.
65916         [C99-based-standards] (SCNxFAST16): Likewise.
65917         [C99-based-standards] (PRId32): Likewise.
65918         [C99-based-standards] (PRIi32): Likewise.
65919         [C99-based-standards] (PRIo32): Likewise.
65920         [C99-based-standards] (PRIu32): Likewise.
65921         [C99-based-standards] (PRIx32): Likewise.
65922         [C99-based-standards] (PRIX32): Likewise.
65923         [C99-based-standards] (SCNd32): Likewise.
65924         [C99-based-standards] (SCNi32): Likewise.
65925         [C99-based-standards] (SCNo32): Likewise.
65926         [C99-based-standards] (SCNu32): Likewise.
65927         [C99-based-standards] (SCNx32): Likewise.
65928         [C99-based-standards] (PRIdLEAST32): Likewise.
65929         [C99-based-standards] (PRIiLEAST32): Likewise.
65930         [C99-based-standards] (PRIoLEAST32): Likewise.
65931         [C99-based-standards] (PRIuLEAST32): Likewise.
65932         [C99-based-standards] (PRIxLEAST32): Likewise.
65933         [C99-based-standards] (PRIXLEAST32): Likewise.
65934         [C99-based-standards] (SCNdLEAST32): Likewise.
65935         [C99-based-standards] (SCNiLEAST32): Likewise.
65936         [C99-based-standards] (SCNoLEAST32): Likewise.
65937         [C99-based-standards] (SCNuLEAST32): Likewise.
65938         [C99-based-standards] (SCNxLEAST32): Likewise.
65939         [C99-based-standards] (PRIdFAST32): Likewise.
65940         [C99-based-standards] (PRIiFAST32): Likewise.
65941         [C99-based-standards] (PRIoFAST32): Likewise.
65942         [C99-based-standards] (PRIuFAST32): Likewise.
65943         [C99-based-standards] (PRIxFAST32): Likewise.
65944         [C99-based-standards] (PRIXFAST32): Likewise.
65945         [C99-based-standards] (SCNdFAST32): Likewise.
65946         [C99-based-standards] (SCNiFAST32): Likewise.
65947         [C99-based-standards] (SCNoFAST32): Likewise.
65948         [C99-based-standards] (SCNuFAST32): Likewise.
65949         [C99-based-standards] (SCNxFAST32): Likewise.
65950         [C99-based-standards] (PRId64): Likewise.
65951         [C99-based-standards] (PRIi64): Likewise.
65952         [C99-based-standards] (PRIo64): Likewise.
65953         [C99-based-standards] (PRIu64): Likewise.
65954         [C99-based-standards] (PRIx64): Likewise.
65955         [C99-based-standards] (PRIX64): Likewise.
65956         [C99-based-standards] (SCNd64): Likewise.
65957         [C99-based-standards] (SCNi64): Likewise.
65958         [C99-based-standards] (SCNo64): Likewise.
65959         [C99-based-standards] (SCNu64): Likewise.
65960         [C99-based-standards] (SCNx64): Likewise.
65961         [C99-based-standards] (PRIdLEAST64): Likewise.
65962         [C99-based-standards] (PRIiLEAST64): Likewise.
65963         [C99-based-standards] (PRIoLEAST64): Likewise.
65964         [C99-based-standards] (PRIuLEAST64): Likewise.
65965         [C99-based-standards] (PRIxLEAST64): Likewise.
65966         [C99-based-standards] (PRIXLEAST64): Likewise.
65967         [C99-based-standards] (SCNdLEAST64): Likewise.
65968         [C99-based-standards] (SCNiLEAST64): Likewise.
65969         [C99-based-standards] (SCNoLEAST64): Likewise.
65970         [C99-based-standards] (SCNuLEAST64): Likewise.
65971         [C99-based-standards] (SCNxLEAST64): Likewise.
65972         [C99-based-standards] (PRIdFAST64): Likewise.
65973         [C99-based-standards] (PRIiFAST64): Likewise.
65974         [C99-based-standards] (PRIoFAST64): Likewise.
65975         [C99-based-standards] (PRIuFAST64): Likewise.
65976         [C99-based-standards] (PRIxFAST64): Likewise.
65977         [C99-based-standards] (PRIXFAST64): Likewise.
65978         [C99-based-standards] (SCNdFAST64): Likewise.
65979         [C99-based-standards] (SCNiFAST64): Likewise.
65980         [C99-based-standards] (SCNoFAST64): Likewise.
65981         [C99-based-standards] (SCNuFAST64): Likewise.
65982         [C99-based-standards] (SCNxFAST64): Likewise.
65983         [C99-based-standards] (PRIdMAX): Likewise.
65984         [C99-based-standards] (PRIiMAX): Likewise.
65985         [C99-based-standards] (PRIoMAX): Likewise.
65986         [C99-based-standards] (PRIuMAX): Likewise.
65987         [C99-based-standards] (PRIxMAX): Likewise.
65988         [C99-based-standards] (PRIXMAX): Likewise.
65989         [C99-based-standards] (SCNdMAX): Likewise.
65990         [C99-based-standards] (SCNiMAX): Likewise.
65991         [C99-based-standards] (SCNoMAX): Likewise.
65992         [C99-based-standards] (SCNuMAX): Likewise.
65993         [C99-based-standards] (SCNxMAX): Likewise.
65994         [C99-based-standards] (PRIdPTR): Likewise.
65995         [C99-based-standards] (PRIiPTR): Likewise.
65996         [C99-based-standards] (PRIoPTR): Likewise.
65997         [C99-based-standards] (PRIuPTR): Likewise.
65998         [C99-based-standards] (PRIxPTR): Likewise.
65999         [C99-based-standards] (PRIXPTR): Likewise.
66000         [C99-based-standards] (SCNdPTR): Likewise.
66001         [C99-based-standards] (SCNiPTR): Likewise.
66002         [C99-based-standards] (SCNoPTR): Likewise.
66003         [C99-based-standards] (SCNuPTR): Likewise.
66004         [C99-based-standards] (SCNxPTR): Likewise.
66005         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66006         allow.
66007         * conform/data/stdint.h-data: Update comments to clarify
66008         requirements.
66009         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66010         type.
66011         [C99-based standards] (INT8_MAX): Likewise.
66012         [C99-based standards] (INT16_MIN): Likewise.
66013         [C99-based standards] (INT16_MAX): Likewise.
66014         [C99-based standards] (INT32_MIN): Likewise.
66015         [C99-based standards] (INT32_MAX): Likewise.
66016         [C99-based standards] (INT64_MIN): Likewise.
66017         [C99-based standards] (INT64_MAX): Likewise.
66018         [C99-based standards] (UINT8_MAX): Likewise.
66019         [C99-based standards] (UINT16_MAX): Likewise.
66020         [C99-based standards] (UINT32_MAX): Likewise.
66021         [C99-based standards] (UINT64_MAX): Likewise.
66022         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66023         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66024         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66025         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66026         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66027         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66028         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66029         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66030         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66031         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66032         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66033         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66034         [C99-based standards] (INT_FAST8_MIN): Likewise.
66035         [C99-based standards] (INT_FAST8_MAX): Likewise.
66036         [C99-based standards] (INT_FAST16_MIN): Likewise.
66037         [C99-based standards] (INT_FAST16_MAX): Likewise.
66038         [C99-based standards] (INT_FAST32_MIN): Likewise.
66039         [C99-based standards] (INT_FAST32_MAX): Likewise.
66040         [C99-based standards] (INT_FAST64_MIN): Likewise.
66041         [C99-based standards] (INT_FAST64_MAX): Likewise.
66042         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66043         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66044         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66045         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66046         [C99-based standards] (INTPTR_MIN): Likewise.
66047         [C99-based standards] (INTPTR_MAX): Likewise.
66048         [C99-based standards] (UINTPTR_MAX): Likewise.
66049         [C99-based standards] (INTMAX_MIN): Likewise.
66050         [C99-based standards] (INTMAX_MAX): Likewise.
66051         [C99-based standards] (UINTMAX_MAX): Likewise.
66052         [C99-based standards] (PTRDIFF_MIN): Likewise.
66053         [C99-based standards] (PTRDIFF_MAX): Likewise.
66054         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66055         [C99-based standards] (SIZE_MAX): Likewise.
66056         [C99-based standards] (WCHAR_MAX): Likewise.
66057         [C99-based standards] (WINT_MAX): Likewise.
66058         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66059         constraint on value.
66060         [C99-based standards] (WCHAR_MIN): Likewise.
66061         [C99-based standards] (WINT_MIN): Likewise.
66062         [C99-based standards] (*_t): Allow.
66063         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66064         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66065         Include math.h-data and complex.h-data.  Remove all expectations
66066         of math.h and complex.h contents.
66067         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66068         at end of line.
66069         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66070         (struct tm): Expect tag.
66071         [C99-based-standards] (wcstof): Expect function.
66072         [C99-based-standards] (wcstold): Likewise.
66073         [C99-based-standards] (wcstoll): Likewise.
66074         [C99-based-standards] (wcstoull): Likewise.
66075         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66076         macro-int-constant.  Specify type.
66077         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66078         constraint on value.
66079         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66080         Specify type.
66081         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66082         Specify value.
66083         [ISO C standards]: Do not allow headers.
66084         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66085         wcs[abcdefghijklmnopqrstuvwxyz]*.
66086         [ISO C standards] (*_t): Do not allow.
66087         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66088         Expect function.
66089         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66090         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66091         Specify type.
66092         [ISO C standards]: Do not allow headers.
66093         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66094         is[abcdefghijklmnopqrstuvwxyz]*.
66095         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66096         to[abcdefghijklmnopqrstuvwxyz]*.
66097         [ISO C standards] (*_t): Do not allow.
66098         * conform/data/stdalign.h-data: New file.
66099         * conform/data/stdbool.h-data: Likewise.
66100         * conform/data/stdnoreturn.h-data: Likewise.
66102 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66104         [BZ #14815]
66105         * manual/filesys.texi (Directory Entries): Typo fix.
66106         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66108 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66110         * elf/elf.h (EM_AARCH64): New macro.
66111         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66112         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66113         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66114         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66115         (R_AARCH64_TLSDESC): Likewise.
66116         (NT_ARM_TLS): Likewise.
66117         (NT_ARM_HW_BREAK): Likewise.
66118         (NT_ARM_HW_WATCH): Likewise.
66120 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66122         [BZ #14811]
66123         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66124         (__ieee754_powl): Saturate nonzero exponents with absolute value
66125         below 0x1p-79 to +/- 0x1p-79.
66126         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66127         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66128         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66129         nonzero exponents with absolute value below 0x1p-32 to +/-
66130         0x1p-32.
66131         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66132         (__ieee754_powl): Saturate nonzero exponents with absolute value
66133         below 0x1p-79 to +/- 0x1p-79.
66134         * math/libm-test.inc (pow_test): Add more tests.
66136 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66138         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66139         _dl_s390_cap_flags with kernel. Increase string length.
66140         (_dl_s390_platforms): Add z196 and zEC12.
66142 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66144         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66145         Change XOPEN21K to XOPEN2K.
66147 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66149         * string/memmove.c: Use memcpy when possible.
66151 2012-11-06  Andreas Jaeger  <aj@suse.de>
66153         * po/eo.po: Update from translation team.
66155 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66157         [BZ #14793]
66158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66159         exponent and small x and y exponents, scale x or y up.  Increase
66160         by 2 the exponent used in scaling up.
66161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66163         * math/libm-test.inc (fma_test): Add more tests.
66164         (fma_test_towardzero): Likewise.
66165         (fma_test_downward): Likewise.
66166         (fma_test_upward): Likewise.
66168 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66170         [BZ #14805]
66171         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66172         fenv_t *.
66174         [BZ #14801]
66175         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66176         namespace for names of struct fields.
66177         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66178         fenv_t fields.
66179         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66180         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66182 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66184         [BZ #3665]
66185         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66187 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66189         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66190         PTR_DEMANGLE.
66192         [BZ #5246]
66193         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66194         PTR_DEMANGLE.
66196 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66198         [BZ #14797]
66199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66200         definitely overflow as x * y not x * y + z.
66201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66203         * math/libm-test.inc (fma_test): Add more tests.
66204         (fma_test_towardzero): Likewise.
66205         (fma_test_downward): Likewise.
66206         (fma_test_upward): Likewise.
66208 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66210         [BZ #157]
66212         * include/stub-tag.h: Remove file.
66213         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66214         '#include' of it.
66215         * manual/maint.texi (Porting): Don't reference it.
66216         * Makerules ($(objpfx)stubs): Likewise.
66217         * dirent/closedir.c: Don't include <stub-tag.h>.
66218         * dirent/dirfd.c: Likewise.
66219         * dirent/fdopendir.c: Likewise.
66220         * dirent/getdents.c: Likewise.
66221         * dirent/getdents64.c: Likewise.
66222         * dirent/opendir.c: Likewise.
66223         * dirent/readdir.c: Likewise.
66224         * dirent/readdir64.c: Likewise.
66225         * dirent/readdir64_r.c: Likewise.
66226         * dirent/readdir_r.c: Likewise.
66227         * dirent/rewinddir.c: Likewise.
66228         * dirent/seekdir.c: Likewise.
66229         * dirent/telldir.c: Likewise.
66230         * gmon/profil.c: Likewise.
66231         * grp/setgroups.c: Likewise.
66232         * inet/if_index.c: Likewise.
66233         * io/access.c: Likewise.
66234         * io/chdir.c: Likewise.
66235         * io/chmod.c: Likewise.
66236         * io/chown.c: Likewise.
66237         * io/close.c: Likewise.
66238         * io/dup.c: Likewise.
66239         * io/dup2.c: Likewise.
66240         * io/dup3.c: Likewise.
66241         * io/euidaccess.c: Likewise.
66242         * io/faccessat.c: Likewise.
66243         * io/fchdir.c: Likewise.
66244         * io/fchmod.c: Likewise.
66245         * io/fchmodat.c: Likewise.
66246         * io/fchown.c: Likewise.
66247         * io/fchownat.c: Likewise.
66248         * io/fcntl.c: Likewise.
66249         * io/flock.c: Likewise.
66250         * io/fstatfs.c: Likewise.
66251         * io/fstatfs64.c: Likewise.
66252         * io/fstatvfs.c: Likewise.
66253         * io/fstatvfs64.c: Likewise.
66254         * io/futimens.c: Likewise.
66255         * io/fxstat.c: Likewise.
66256         * io/fxstat64.c: Likewise.
66257         * io/fxstatat.c: Likewise.
66258         * io/fxstatat64.c: Likewise.
66259         * io/getcwd.c: Likewise.
66260         * io/isatty.c: Likewise.
66261         * io/lchmod.c: Likewise.
66262         * io/lchown.c: Likewise.
66263         * io/link.c: Likewise.
66264         * io/linkat.c: Likewise.
66265         * io/lseek.c: Likewise.
66266         * io/lseek64.c: Likewise.
66267         * io/lxstat64.c: Likewise.
66268         * io/mkdir.c: Likewise.
66269         * io/mkdirat.c: Likewise.
66270         * io/mkfifo.c: Likewise.
66271         * io/mkfifoat.c: Likewise.
66272         * io/open.c: Likewise.
66273         * io/open64.c: Likewise.
66274         * io/openat.c: Likewise.
66275         * io/openat64.c: Likewise.
66276         * io/pipe.c: Likewise.
66277         * io/pipe2.c: Likewise.
66278         * io/poll.c: Likewise.
66279         * io/posix_fadvise.c: Likewise.
66280         * io/posix_fadvise64.c: Likewise.
66281         * io/posix_fallocate.c: Likewise.
66282         * io/posix_fallocate64.c: Likewise.
66283         * io/read.c: Likewise.
66284         * io/readlink.c: Likewise.
66285         * io/readlinkat.c: Likewise.
66286         * io/rmdir.c: Likewise.
66287         * io/sendfile.c: Likewise.
66288         * io/sendfile64.c: Likewise.
66289         * io/statfs.c: Likewise.
66290         * io/statfs64.c: Likewise.
66291         * io/statvfs.c: Likewise.
66292         * io/statvfs64.c: Likewise.
66293         * io/symlink.c: Likewise.
66294         * io/symlinkat.c: Likewise.
66295         * io/ttyname.c: Likewise.
66296         * io/ttyname_r.c: Likewise.
66297         * io/umask.c: Likewise.
66298         * io/unlink.c: Likewise.
66299         * io/unlinkat.c: Likewise.
66300         * io/utime.c: Likewise.
66301         * io/utimensat.c: Likewise.
66302         * io/write.c: Likewise.
66303         * io/xmknod.c: Likewise.
66304         * io/xmknodat.c: Likewise.
66305         * io/xstat.c: Likewise.
66306         * io/xstat64.c: Likewise.
66307         * login/getpt.c: Likewise.
66308         * login/grantpt.c: Likewise.
66309         * login/unlockpt.c: Likewise.
66310         * math/e_acoshl.c: Likewise.
66311         * math/e_acosl.c: Likewise.
66312         * math/e_asinl.c: Likewise.
66313         * math/e_atan2l.c: Likewise.
66314         * math/e_atanhl.c: Likewise.
66315         * math/e_coshl.c: Likewise.
66316         * math/e_expl.c: Likewise.
66317         * math/e_fmodl.c: Likewise.
66318         * math/e_gammal_r.c: Likewise.
66319         * math/e_hypotl.c: Likewise.
66320         * math/e_j0l.c: Likewise.
66321         * math/e_j1l.c: Likewise.
66322         * math/e_jnl.c: Likewise.
66323         * math/e_lgammal_r.c: Likewise.
66324         * math/e_log10l.c: Likewise.
66325         * math/e_log2l.c: Likewise.
66326         * math/e_logl.c: Likewise.
66327         * math/e_powl.c: Likewise.
66328         * math/e_rem_pio2l.c: Likewise.
66329         * math/e_sinhl.c: Likewise.
66330         * math/e_sqrtl.c: Likewise.
66331         * math/fclrexcpt.c: Likewise.
66332         * math/fedisblxcpt.c: Likewise.
66333         * math/feenablxcpt.c: Likewise.
66334         * math/fegetenv.c: Likewise.
66335         * math/fegetexcept.c: Likewise.
66336         * math/fegetround.c: Likewise.
66337         * math/feholdexcpt.c: Likewise.
66338         * math/fesetenv.c: Likewise.
66339         * math/fesetround.c: Likewise.
66340         * math/feupdateenv.c: Likewise.
66341         * math/fgetexcptflg.c: Likewise.
66342         * math/fraiseexcpt.c: Likewise.
66343         * math/fsetexcptflg.c: Likewise.
66344         * math/ftestexcept.c: Likewise.
66345         * math/k_cosl.c: Likewise.
66346         * math/k_rem_pio2l.c: Likewise.
66347         * math/k_sinl.c: Likewise.
66348         * math/k_tanl.c: Likewise.
66349         * math/s_asinhl.c: Likewise.
66350         * math/s_atanl.c: Likewise.
66351         * math/s_cbrtl.c: Likewise.
66352         * math/s_erfl.c: Likewise.
66353         * math/s_expm1l.c: Likewise.
66354         * math/s_log1pl.c: Likewise.
66355         * math/s_tanhl.c: Likewise.
66356         * misc/acct.c: Likewise.
66357         * misc/brk.c: Likewise.
66358         * misc/chflags.c: Likewise.
66359         * misc/chroot.c: Likewise.
66360         * misc/fchflags.c: Likewise.
66361         * misc/fgetxattr.c: Likewise.
66362         * misc/flistxattr.c: Likewise.
66363         * misc/fremovexattr.c: Likewise.
66364         * misc/fsetxattr.c: Likewise.
66365         * misc/fsync.c: Likewise.
66366         * misc/ftruncate.c: Likewise.
66367         * misc/futimes.c: Likewise.
66368         * misc/futimesat.c: Likewise.
66369         * misc/getdomain.c: Likewise.
66370         * misc/getdtsz.c: Likewise.
66371         * misc/gethostid.c: Likewise.
66372         * misc/gethostname.c: Likewise.
66373         * misc/getloadavg.c: Likewise.
66374         * misc/getpagesize.c: Likewise.
66375         * misc/getsysstats.c: Likewise.
66376         * misc/getxattr.c: Likewise.
66377         * misc/gtty.c: Likewise.
66378         * misc/ioctl.c: Likewise.
66379         * misc/lgetxattr.c: Likewise.
66380         * misc/listxattr.c: Likewise.
66381         * misc/llistxattr.c: Likewise.
66382         * misc/lremovexattr.c: Likewise.
66383         * misc/lsetxattr.c: Likewise.
66384         * misc/lutimes.c: Likewise.
66385         * misc/madvise.c: Likewise.
66386         * misc/mincore.c: Likewise.
66387         * misc/mlock.c: Likewise.
66388         * misc/mlockall.c: Likewise.
66389         * misc/mmap.c: Likewise.
66390         * misc/mprotect.c: Likewise.
66391         * misc/msync.c: Likewise.
66392         * misc/munlock.c: Likewise.
66393         * misc/munlockall.c: Likewise.
66394         * misc/munmap.c: Likewise.
66395         * misc/preadv.c: Likewise.
66396         * misc/preadv64.c: Likewise.
66397         * misc/ptrace.c: Likewise.
66398         * misc/pwritev.c: Likewise.
66399         * misc/pwritev64.c: Likewise.
66400         * misc/readv.c: Likewise.
66401         * misc/reboot.c: Likewise.
66402         * misc/remap_file_pages.c: Likewise.
66403         * misc/removexattr.c: Likewise.
66404         * misc/revoke.c: Likewise.
66405         * misc/select.c: Likewise.
66406         * misc/setdomain.c: Likewise.
66407         * misc/setegid.c: Likewise.
66408         * misc/seteuid.c: Likewise.
66409         * misc/sethostid.c: Likewise.
66410         * misc/sethostname.c: Likewise.
66411         * misc/setregid.c: Likewise.
66412         * misc/setreuid.c: Likewise.
66413         * misc/setxattr.c: Likewise.
66414         * misc/sstk.c: Likewise.
66415         * misc/stty.c: Likewise.
66416         * misc/swapoff.c: Likewise.
66417         * misc/swapon.c: Likewise.
66418         * misc/sync.c: Likewise.
66419         * misc/syncfs.c: Likewise.
66420         * misc/syscall.c: Likewise.
66421         * misc/truncate.c: Likewise.
66422         * misc/ualarm.c: Likewise.
66423         * misc/usleep.c: Likewise.
66424         * misc/ustat.c: Likewise.
66425         * misc/utimes.c: Likewise.
66426         * misc/vhangup.c: Likewise.
66427         * misc/writev.c: Likewise.
66428         * posix/_exit.c: Likewise.
66429         * posix/alarm.c: Likewise.
66430         * posix/execve.c: Likewise.
66431         * posix/fexecve.c: Likewise.
66432         * posix/fork.c: Likewise.
66433         * posix/fpathconf.c: Likewise.
66434         * posix/getaddrinfo.c: Likewise.
66435         * posix/getegid.c: Likewise.
66436         * posix/geteuid.c: Likewise.
66437         * posix/getgid.c: Likewise.
66438         * posix/getgroups.c: Likewise.
66439         * posix/getlogin.c: Likewise.
66440         * posix/getlogin_r.c: Likewise.
66441         * posix/getpgid.c: Likewise.
66442         * posix/getpid.c: Likewise.
66443         * posix/getppid.c: Likewise.
66444         * posix/getresgid.c: Likewise.
66445         * posix/getresuid.c: Likewise.
66446         * posix/getsid.c: Likewise.
66447         * posix/getuid.c: Likewise.
66448         * posix/glob64.c: Likewise.
66449         * posix/nanosleep.c: Likewise.
66450         * posix/pathconf.c: Likewise.
66451         * posix/pause.c: Likewise.
66452         * posix/posix_madvise.c: Likewise.
66453         * posix/pread.c: Likewise.
66454         * posix/pread64.c: Likewise.
66455         * posix/pwrite.c: Likewise.
66456         * posix/pwrite64.c: Likewise.
66457         * posix/sched_getaffinity.c: Likewise.
66458         * posix/sched_getp.c: Likewise.
66459         * posix/sched_gets.c: Likewise.
66460         * posix/sched_primax.c: Likewise.
66461         * posix/sched_primin.c: Likewise.
66462         * posix/sched_rr_gi.c: Likewise.
66463         * posix/sched_setaffinity.c: Likewise.
66464         * posix/sched_setp.c: Likewise.
66465         * posix/sched_sets.c: Likewise.
66466         * posix/sched_yield.c: Likewise.
66467         * posix/setgid.c: Likewise.
66468         * posix/setlogin.c: Likewise.
66469         * posix/setpgid.c: Likewise.
66470         * posix/setresgid.c: Likewise.
66471         * posix/setresuid.c: Likewise.
66472         * posix/setsid.c: Likewise.
66473         * posix/setuid.c: Likewise.
66474         * posix/sleep.c: Likewise.
66475         * posix/spawni.c: Likewise.
66476         * posix/sysconf.c: Likewise.
66477         * posix/times.c: Likewise.
66478         * posix/wait.c: Likewise.
66479         * posix/wait3.c: Likewise.
66480         * posix/wait4.c: Likewise.
66481         * posix/waitpid.c: Likewise.
66482         * resolv/gai_sigqueue.c: Likewise.
66483         * resource/getpriority.c: Likewise.
66484         * resource/getrlimit.c: Likewise.
66485         * resource/getrusage.c: Likewise.
66486         * resource/nice.c: Likewise.
66487         * resource/setpriority.c: Likewise.
66488         * resource/setrlimit.c: Likewise.
66489         * resource/ulimit.c: Likewise.
66490         * rt/aio_cancel.c: Likewise.
66491         * rt/aio_fsync.c: Likewise.
66492         * rt/aio_read.c: Likewise.
66493         * rt/aio_sigqueue.c: Likewise.
66494         * rt/aio_suspend.c: Likewise.
66495         * rt/aio_write.c: Likewise.
66496         * rt/clock_getres.c: Likewise.
66497         * rt/clock_gettime.c: Likewise.
66498         * rt/clock_nanosleep.c: Likewise.
66499         * rt/clock_settime.c: Likewise.
66500         * rt/lio_listio.c: Likewise.
66501         * rt/mq_close.c: Likewise.
66502         * rt/mq_getattr.c: Likewise.
66503         * rt/mq_notify.c: Likewise.
66504         * rt/mq_open.c: Likewise.
66505         * rt/mq_receive.c: Likewise.
66506         * rt/mq_send.c: Likewise.
66507         * rt/mq_setattr.c: Likewise.
66508         * rt/mq_timedreceive.c: Likewise.
66509         * rt/mq_timedsend.c: Likewise.
66510         * rt/mq_unlink.c: Likewise.
66511         * rt/shm_open.c: Likewise.
66512         * rt/shm_unlink.c: Likewise.
66513         * rt/timer_create.c: Likewise.
66514         * rt/timer_delete.c: Likewise.
66515         * rt/timer_getoverr.c: Likewise.
66516         * rt/timer_gettime.c: Likewise.
66517         * rt/timer_settime.c: Likewise.
66518         * setjmp/__longjmp.c: Likewise.
66519         * setjmp/setjmp.c: Likewise.
66520         * signal/kill.c: Likewise.
66521         * signal/killpg.c: Likewise.
66522         * signal/raise.c: Likewise.
66523         * signal/sigaction.c: Likewise.
66524         * signal/sigaltstack.c: Likewise.
66525         * signal/sigblock.c: Likewise.
66526         * signal/sigignore.c: Likewise.
66527         * signal/sigintr.c: Likewise.
66528         * signal/signal.c: Likewise.
66529         * signal/sigpause.c: Likewise.
66530         * signal/sigpending.c: Likewise.
66531         * signal/sigqueue.c: Likewise.
66532         * signal/sigreturn.c: Likewise.
66533         * signal/sigset.c: Likewise.
66534         * signal/sigsetmask.c: Likewise.
66535         * signal/sigstack.c: Likewise.
66536         * signal/sigsuspend.c: Likewise.
66537         * signal/sigtimedwait.c: Likewise.
66538         * signal/sigvec.c: Likewise.
66539         * signal/sigwait.c: Likewise.
66540         * signal/sigwaitinfo.c: Likewise.
66541         * signal/sysv_signal.c: Likewise.
66542         * socket/accept.c: Likewise.
66543         * socket/accept4.c: Likewise.
66544         * socket/bind.c: Likewise.
66545         * socket/connect.c: Likewise.
66546         * socket/getpeername.c: Likewise.
66547         * socket/getsockname.c: Likewise.
66548         * socket/getsockopt.c: Likewise.
66549         * socket/isfdtype.c: Likewise.
66550         * socket/listen.c: Likewise.
66551         * socket/recv.c: Likewise.
66552         * socket/recvfrom.c: Likewise.
66553         * socket/recvmsg.c: Likewise.
66554         * socket/send.c: Likewise.
66555         * socket/sendmsg.c: Likewise.
66556         * socket/sendto.c: Likewise.
66557         * socket/setsockopt.c: Likewise.
66558         * socket/shutdown.c: Likewise.
66559         * socket/sockatmark.c: Likewise.
66560         * socket/socket.c: Likewise.
66561         * socket/socketpair.c: Likewise.
66562         * stdio-common/ctermid.c: Likewise.
66563         * stdio-common/cuserid.c: Likewise.
66564         * stdio-common/remove.c: Likewise.
66565         * stdio-common/rename.c: Likewise.
66566         * stdio-common/renameat.c: Likewise.
66567         * stdio-common/tempname.c: Likewise.
66568         * stdlib/getcontext.c: Likewise.
66569         * stdlib/makecontext.c: Likewise.
66570         * stdlib/setcontext.c: Likewise.
66571         * stdlib/swapcontext.c: Likewise.
66572         * stdlib/system.c: Likewise.
66573         * streams/fattach.c: Likewise.
66574         * streams/fdetach.c: Likewise.
66575         * streams/getmsg.c: Likewise.
66576         * streams/getpmsg.c: Likewise.
66577         * streams/putmsg.c: Likewise.
66578         * streams/putpmsg.c: Likewise.
66579         * sysdeps/unix/bsd/getpt.c: Likewise.
66580         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66581         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66582         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66584         Likewise.
66585         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66586         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66587         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66588         * sysvipc/msgctl.c: Likewise.
66589         * sysvipc/msgget.c: Likewise.
66590         * sysvipc/msgrcv.c: Likewise.
66591         * sysvipc/msgsnd.c: Likewise.
66592         * sysvipc/semctl.c: Likewise.
66593         * sysvipc/semget.c: Likewise.
66594         * sysvipc/semop.c: Likewise.
66595         * sysvipc/semtimedop.c: Likewise.
66596         * sysvipc/shmat.c: Likewise.
66597         * sysvipc/shmctl.c: Likewise.
66598         * sysvipc/shmdt.c: Likewise.
66599         * sysvipc/shmget.c: Likewise.
66600         * termios/tcdrain.c: Likewise.
66601         * termios/tcflow.c: Likewise.
66602         * termios/tcflush.c: Likewise.
66603         * termios/tcgetattr.c: Likewise.
66604         * termios/tcgetpgrp.c: Likewise.
66605         * termios/tcsendbrk.c: Likewise.
66606         * termios/tcsetattr.c: Likewise.
66607         * termios/tcsetpgrp.c: Likewise.
66608         * time/adjtime.c: Likewise.
66609         * time/clock.c: Likewise.
66610         * time/getitimer.c: Likewise.
66611         * time/gettimeofday.c: Likewise.
66612         * time/setitimer.c: Likewise.
66613         * time/settimeofday.c: Likewise.
66614         * time/stime.c: Likewise.
66615         * time/time.c: Likewise.
66617 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66619         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66620         /usr/old/bin.
66622         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66623         instead of spaces.
66624         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66626 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66628         [BZ #14796]
66629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66630         FE_TONEAREST before applying Dekker multiplication and Knuth
66631         addition.  Clear inexact exceptions and check for exact zero
66632         results afterwards.
66633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66634         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66636         * math/libm-test.inc (fma_test): Add more tests.
66637         (fma_test_towardzero): Likewise.
66638         (fma_test_downward): Likewise.
66639         (fma_test_upward): Likewise.
66640         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66641         function.
66642         (libc_fesetround): New macro.
66643         (libc_fesetroundf): Likewise.
66644         (libc_fesetroundl): Likewise.
66645         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66646         function.
66647         (libc_fesetround_387): Likewise.
66648         (libc_fesetroundf): New macro.
66649         (libc_fesetround): Likewise.
66650         (libc_fesetroundl): Likewise.
66651         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66652         function.
66653         (libc_fesetroundf): New macro.
66654         (libc_fesetround): Likewise.
66655         (libc_fesetroundl): Likewise.
66656         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66657         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66658         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66659         libm_hidden_ver.
66660         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66661         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66662         libm_hidden_def.
66663         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66664         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66665         libm_hidden_ver.
66666         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66667         libm_hidden_def.
66669         [BZ #3439]
66670         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66671         integer constant usable in #if and use that to give value to enum
66672         constant.
66673         (FE_DIVBYZERO): Likewise.
66674         (FE_UNDERFLOW): Likewise.
66675         (FE_OVERFLOW): Likewise.
66676         (FE_INVALID): Likewise.
66677         (FE_INVALID_SNAN): Likewise.
66678         (FE_INVALID_ISI): Likewise.
66679         (FE_INVALID_IDI): Likewise.
66680         (FE_INVALID_ZDZ): Likewise.
66681         (FE_INVALID_IMZ): Likewise.
66682         (FE_INVALID_COMPARE): Likewise.
66683         (FE_INVALID_SOFTWARE): Likewise.
66684         (FE_INVALID_SQRT): Likewise.
66685         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66686         (FE_TONEAREST): Likewise.
66687         (FE_TOWARDZERO): Likewise.
66688         (FE_UPWARD): Likewise.
66689         (FE_DOWNWARD): Likewise.
66690         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66691         (FE_DIVBYZERO): Likewise.
66692         (FE_OVERFLOW): Likewise.
66693         (FE_UNDERFLOW): Likewise.
66694         (FE_INEXACT): Likewise.
66695         (FE_TONEAREST): Likewise.
66696         (FE_DOWNWARD): Likewise.
66697         (FE_UPWARD): Likewise.
66698         (FE_TOWARDZERO): Likewise.
66699         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66700         (FE_UNDERFLOW): Likewise.
66701         (FE_OVERFLOW): Likewise.
66702         (FE_DIVBYZERO): Likewise.
66703         (FE_INVALID): Likewise.
66704         (FE_TONEAREST): Likewise.
66705         (FE_TOWARDZERO): Likewise.
66706         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66707         (FE_OVERFLOW): Likewise.
66708         (FE_UNDERFLOW): Likewise.
66709         (FE_DIVBYZERO): Likewise.
66710         (FE_INEXACT): Likewise.
66711         (FE_TONEAREST): Likewise.
66712         (FE_TOWARDZERO): Likewise.
66713         (FE_UPWARD): Likewise.
66714         (FE_DOWNWARD): Likewise.
66715         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66716         (FE_DIVBYZERO): Likewise.
66717         (FE_OVERFLOW): Likewise.
66718         (FE_UNDERFLOW): Likewise.
66719         (FE_INEXACT): Likewise.
66720         (FE_TONEAREST): Likewise.
66721         (FE_DOWNWARD): Likewise.
66722         (FE_UPWARD): Likewise.
66723         (FE_TOWARDZERO): Likewise.
66725 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66727         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66729 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66731         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66732         commands.  Quote $PWD.
66733         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66734         -x" by "export".
66735         (remove_newlines): Remove.
66737 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66739         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66740         * stdlib/stdlib.h (atof): Moved to ...
66741         * include/bits/stdlib-float.h: Here.  New file.
66742         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66743         * stdlib/bits/stdlib-float.h: New file.
66744         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66745         -mno-sse -mno-mmx.
66746         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66747         <xmmintrin.h>.
66749 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66751         * conform/conformtest.pl (@headers): Add fenv.h.
66752         * conform/data/fenv.h-data: New file.
66753         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66754         include of <math/fenv.h>.
66756         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66757         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66758         && !UNIX98].  Enables tests for XOPEN2K8.
66759         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66760         POSIX2008]: Likewise.
66762         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66763         (struct rusage): Do not expect type or its members.
66765         [BZ #3439]
66766         * math/math.h (FP_NAN): Define macro to integer constant usable in
66767         #if and use that to give value to enum constant.
66768         (FP_INFINITE): Likewise.
66769         (FP_ZERO): Likewise.
66770         (FP_SUBNORMAL): Likewise.
66771         (FP_NORMAL): Likewise.
66773 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66775         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66776         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66777         arguments.
66779 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66781         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66782         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66783         autoconf-time if not.
66784         * configure.in: Remove AC_PREREQ.
66786 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66788         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66789         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66790         of the internal implementation.
66792 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66794         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66795         except include of <misc/sys/syslog.h>.
66797 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66800         function returns with a NULL context exit with zero.
66802 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66804         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66806 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66808         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66809         (run_program_cmd): This.
66810         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66811         (tst_langinfo): New variable.  Use it.
66813 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66815         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66816         floating point opcodes.
66818 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66820         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66821         variable.
66823         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66825         * sysdeps/mach/hurd/powerpc: Remove directory.
66826         * sysdeps/mach/powerpc: Likewise.
66828 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66830         * scripts/check-local-headers.sh: Ignore c++ headers.
66832 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66834         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66835         __libc_cleanup_region_start argument.
66837 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66839         [BZ #14784]
66840         [BZ #14785]
66841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66842         x * y using scaling, not as x * y + z.
66843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66845         * math/libm-test.inc (fma_test): Add more tests.
66846         (fma_test_towardzero): Likewise.
66847         (fma_test_downward): Likewise.
66848         (fma_test_upward): Likewise.
66850 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66852         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66854 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66856         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66857         New variable.
66859 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66861         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66863 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66866         Fix sort order.
66867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66868         Likewise.
66870 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66873         Fix the order of the list for glibc 2.17.
66874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66875         Likewise.
66877 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66881 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66883         [BZ #14610]
66884         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66885         for low part of x being zero before using __atanl (y).
66886         * math/libm-test.inc (atan2_test): Add another test.
66888         * manual/install.texi (Configuring and compiling): Document
66889         general use of test-wrapper and test-wrapper-env.
66890         * INSTALL: Regenerated.
66892         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66893         (__fma): Do not extract and scale down low bits on after-rounding
66894         systems when result rounded to normal precision would have normal
66895         exponent.
66896         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66897         (__fmal): Do not extract and scale down low bits on after-rounding
66898         systems when result rounded to normal precision would have normal
66899         exponent.
66900         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66901         (__fmal): Do not extract and scale down low bits on after-rounding
66902         systems when result rounded to normal precision would have normal
66903         exponent.
66904         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66905         macro.
66906         (fma_test): Add more tests.
66907         (fma_test_towardzero): Likewise.
66908         (fma_test_downward): Likewise.
66909         (fma_test_upward): Likewise.
66911 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66913         * sysdeps/i386/tininess.h: Renamed to ...
66914         * sysdeps/x86/tininess.h: This.
66915         * sysdeps/x86_64/tininess.h: Removed.
66917 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66919         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66920         input.  Use $(build-program-cmd).
66921         ($(objpfx)tst-array1-static.out): Likewise.
66922         ($(objpfx)tst-array2.out): Likewise.
66923         ($(objpfx)tst-array3.out): Likewise.
66924         ($(objpfx)tst-array4.out): Likewise.
66925         ($(objpfx)tst-array5.out): Likewise.
66926         ($(objpfx)tst-array5-static.out): Likewise.
66928 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66930         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66931         if defined.
66933         * nss/nsswitch.h (nss_interface_function): Provide new
66934         macro for use with NSS functions.
66935         * grp/initgroups.c: Use new macro.
66936         * nss/getXXbyYY.c: Likewise.
66937         * nss/getXXbyYY_r.c: Likewise.
66938         * nss/getXXent.c: Likewise.
66939         * nss/getXXent_r.c: Likewise.
66940         * sysdeps/posix/getaddrinfo.c: Likewise.
66942 2012-10-30  Andreas Jaeger  <aj@suse.de>
66944         * po/ru.po: Update Russion translation from translation project.
66946 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66948         [BZ #14152]
66949         [BZ #14783]
66950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66951         result and shift together with sticky bit instead of replicating
66952         round-to-nearest rounding.
66953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66955         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66956         missing underflow exceptions.
66957         (fma_test_towardzero): Add more tests.
66958         (fma_test_downward): Likewise.
66959         (fma_test_upward): Likewise.
66961         [BZ #14047]
66962         * sysdeps/generic/tininess.h: New file.
66963         * sysdeps/i386/tininess.h: Likewise.
66964         * sysdeps/sh/tininess.h: Likewise.
66965         * sysdeps/x86_64/tininess.h: Likewise.
66966         * stdlib/tst-strtod-underflow.c: Likewise.
66967         * stdlib/tst-tininess.c: Likewise.
66968         * stdlib/strtod_l.c: Include <tininess.h>.
66969         (round_and_return): Do not set errno for exact underflow cases.
66970         Force an underflow exception when setting errno for underflow.
66971         Determine underflow based on rounding to normal precision if
66972         TININESS_AFTER_ROUNDING.
66973         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66974         ERANGE for exact underflow cases.
66975         * stdlib/Makefile (tests): Add tst-tininess and
66976         tst-strtod-underflow.
66977         ($(objpfx)tst-tininess): Use $(link-libm).
66978         ($(objpfx)tst-strtod-underflow): Likewise.
66980 2012-10-30  Andreas Jaeger  <aj@suse.de>
66982         [BZ#14767]
66983         * elf/Makefile (tests): Remove conditional for have-initfini-array
66984         since this is now always required and the variable does not exist
66985         anymore.
66986         (tests-static): Likewise.
66987         (modules-names): Likewise.
66989         * po/eo.po: Add Esperanto translation from translation project.
66991         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66992         merged with constructor/destructor.
66993         (init_array): Likewise.
66994         * elf/tst-array2dep.c (fini_array): Likewise.
66995         (init_array): Likewise.
66997 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66999         * manual/message.texi: Delete @cartouche tags.
67001 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67003         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67004         EOPNOTSUPP.
67005         * sysdeps/mach/hurd/fsync.c: Likewise.
67007         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67008         [_POSIX_REALTIME_SIGNALS]: Change condition to
67009         [_POSIX_REALTIME_SIGNALS > 0].
67011 2012-10-27  Andreas Jaeger  <aj@suse.de>
67013         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67014         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67016         [__WORDSIZE != 64]: Likewise.
67018 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67020         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67021         *  iconvdata/tst-tables.sh: Likewise.
67023 2012-10-25  David S. Miller  <davem@davemloft.net>
67025         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67026         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67027         of strtoull.
67029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67030         ifunc-impl-list.c
67031         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67032         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67033         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67034         file.
67036 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67038         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67039         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67040         __getdirentries.
67042 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67043             Jim Blandy  <jimb@codesourcery.com>
67045         * scripts/cross-test-ssh.sh: New file.
67046         * manual/install.texi (Configuring and compiling): Document use of
67047         cross-test-ssh.sh.
67048         * INSTALL: Regenerated.
67050 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67052         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67053         EOPNOTSUPP.
67055 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67057         * Makeconfig (run-program-prefix): Fix comment.
67059 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67060             Jim Blandy  <jimb@codesourcery.com>
67062         * Makeconfig (test-wrapper): New variable,
67063         (test-wrapper-env): Likewise.
67064         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67065         (run-built-tests): Define to yes.
67066         (run-program-prefix): Use $(test-wrapper).
67067         (built-program-cmd): Likewise.
67068         * Rules (make-test-out): Use $(test-wrapper-env) and
67069         $(host-built-program-cmd).
67070         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67071         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67072         tst-pathopt.sh.
67073         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67074         $(test-wrapper-env) to tst-rtld-load-self.sh.
67075         ($(objpfx)order2.out): Use $(test-wrapper).
67076         ($(objpfx)tst-initorder.out): Likewise.
67077         ($(objpfx)tst-initorder2.out): Likewise.
67078         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67079         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67080         (test_wrapper_env): New variable.  Use it to run ld.so.
67081         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67082         Use it to run ld.so.
67083         (test_wrapper_env): Likewise.
67084         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67085         $(test-wrapper) to run-iconv-test.sh.
67086         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67087         (ICONV): Use $test_wrapper.
67088         * posix/Makefile ($(objpfx)globtest.out): Pass
67089         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67090         globtest.sh, not $(run-program-prefix).
67091         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67092         (test_wrapper): Likewise.
67093         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67094         set together with run_via_rtld_prefix.
67095         (run_program_prefix): Define in terms of test_wrapper and
67096         run_via_rtld_prefix.
67098 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67100         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67101         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67102         Targets removed.
67104         [BZ #14743]
67105         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67106         Declare __clock_getres, __clock_gettime, __clock_settime,
67107         __clock_nanosleep, and __clock_getcpuclockid.
67108         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67109         Remove librt_hidden_def (clock_gettime).
67110         * sysdeps/unix/clock_gettime.c: Likewise.
67111         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67112         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67113         * rt/clock_getres.c: Define __clock_getres as an alias.
67114         * sysdeps/posix/clock_getres.c: Likewise.
67115         * rt/clock_settime.c: Define __clock_settime as an alias.
67116         * sysdeps/unix/clock_settime.c: Likewise.
67117         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67118         * sysdeps/unix/clock_nanosleep.c: Likewise.
67119         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67120         * rt/clock-compat.c: New file.
67121         * rt/Makefile (librt-routines): Add clock-compat and move
67122         $(clock-routines) to ...
67123         (routines): ... here, new variable.
67124         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67125         Don't add get_clockfreq here.
67126         * rt/Versions (libc: GLIBC_2.17): New version set.
67127         Add clock_* symbols here.
67128         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67129         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67130         (GLIBC_2.17): Add clock_* symbols.
67131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67133         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67135         Likewise.
67136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67137         Likewise.
67138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67142         * NEWS: Mention the move.
67144         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67145         Use __open, __read, __close rather than their public counterparts.
67146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67147         (__get_clockfreq_via_cpuinfo): Likewise.
67148         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67149         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67151         * config.h.in (HAVE_IFUNC): New #undef.
67152         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67153         was successful.
67154         * configure: Regenerated.
67156 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67158         * configure.in: Move READELF check to start of file.
67159         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67160         libc_cv_asm_gnu_indirect_function in the process.
67161         * configure: Regenerated.
67163 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67165         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67166         send the output to /dev/null.
67167         (libc_cv_cc_with_libunwind): Likewise.
67168         (libc_cv_as_noexecstack): Likewise.
67169         * configure: Regenerate.
67171 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67173         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67175         * posix/globtest.sh (TMPDIR): Do not set.
67176         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67177         (testout): Likewise.
67179 2012-10-24  Andreas Jaeger  <aj@suse.de>
67181         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67182         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67183         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67184         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67185         posix_fadvise64, posix_fallocate64.
67187         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67188         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67189         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67190         Likewise.
67191         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67192         Likewise.
67193         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67196         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67197         <bits/fcntl-linux.h>.
67198         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67201         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67202         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67203         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67204         [__WORDSIZE != 64]: Likewise.
67206 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67208         * Makeconfig (run-built-tests): New variable.
67209         * Rules [$(cross-compiling) = yes]: Change condition to
67210         [$(run-built-tests) = no].
67211         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67212         to [$(run-built-tests) = yes].
67213         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67214         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67215         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67216         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67217         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67218         * io/Makefile [$(cross-compiling) = no]: Likewise.
67219         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67220         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67221         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67222         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67223         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67224         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67225         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67226         * string/Makefile [$(cross-compiling) = no]: Likewise.
67228         * posix/Makefile ($(objpfx)globtest.out): Pass
67229         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67230         $(rtld-installed-name).
67231         * posix/globtest.sh (elf_objpfx): Remove variable.
67232         (rtld_installed_name): Likewise.
67233         (library_path): Likewise.
67234         (run_program_prefix): New variable.  Use for running globtest
67235         binary.
67237 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67238             Joseph Myers  <joseph@codesourcery.com>
67240         * Makeconfig (host-built-program-cmd): New variable.
67241         * elf/Makefile (tst-stackguard1-ARGS): Use
67242         $(host-built-program-cmd).
67243         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67244         (tst-spawn-ARGS): Likewise.
67245         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67247 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67248             Jim Blandy  <jimb@codesourcery.com>
67250         * Makeconfig (run-via-rtld-prefix): New variable.
67251         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67252         (built-program-cmd): Likewise.
67254 2012-10-22  Andreas Jaeger  <aj@suse.de>
67256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67257         __O_RSYNC if it exists, otherwise to O_SYNC.
67259 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67260             Joseph Myers  <joseph@codesourcery.com>
67262         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67263         /dev/null.
67264         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67265         from /dev/null
67266         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67267         /dev/null.
67269 2012-10-22  Andreas Jaeger  <aj@suse.de>
67271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67272         Define always.
67273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67276         bits/fcntl-linux.h.
67278         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67279         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67281         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67282         to __O_LARGEFILE.
67283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67284         to __O_LARGEFILE.
67286 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67287             Joseph Myers  <joseph@codesourcery.com>
67289         * config.make.in (NM): New variable.
67291 2012-10-21  Andreas Jaeger  <aj@suse.de>
67293         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67294         definitions and declarations that are provided by
67295         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67297 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67299         [BZ #14683]
67300         * elf/Makefile (tests-static): Add tst-leaks1-static.
67301         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67302         ($(objpfx)tst-leaks1-static): New rule.
67303         ($(objpfx)tst-leaks1-static-mem): Likewise.
67304         (tst-leaks1-static-ENV): New macro.
67305         * elf/dl-open.c (dl_open_worker): Check the main application
67306         only if SHARED is defined.
67307         * elf/tst-leaks1-static.c: New file.
67309 2012-10-20  Andreas Jaeger  <aj@suse.de>
67311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67312         generic values for Linux.
67313         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67314         and declarations that are provided by <bits/fcntl-linux.h> and
67315         include <bits/fcntl-linux.h>.
67316         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67317         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67319 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67321         * io/fcntl.h: Move include of <bits/types.h> to the top and
67322         include it unconditionally.
67324 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67326         * wcsmbs/Makefile (tests-ifunc): New variable.
67327         (tests): Add $(tests-ifunc).
67328         * wcsmbs/test-wcschr-ifunc.c: New file.
67329         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67330         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67331         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67332         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67333         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67335         * string/Makefile (tests-ifunc): New variable.
67336         (tests): Add $(tests-ifunc).
67337         * string/test-memccpy.c (TEST_NAME): New macro.
67338         * string/test-memchr.c (TEST_NAME): Likewise.
67339         * string/test-memcmp.c (TEST_NAME): Likewise.
67340         * string/test-memcpy.c (TEST_NAME): Likewise.
67341         * string/test-memmem.c (TEST_NAME): Likewise.
67342         * string/test-memmove.c (TEST_NAME): Likewise.
67343         * string/test-memset.c (TEST_NAME): Likewise.
67344         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67345         * string/test-stpcpy.c (TEST_NAME): Likewise.
67346         * string/test-stpncpy.c (TEST_NAME): Likewise.
67347         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67348         * string/test-strcasestr.c (TEST_NAME): Likewise.
67349         * string/test-strcat.c (TEST_NAME): Likewise.
67350         * string/test-strchr.c (TEST_NAME): Likewise.
67351         * string/test-strcmp.c(TEST_NAME): Likewise.
67352         * string/test-strcpy.c (TEST_NAME): Likewise.
67353         * string/test-strcspn.c (TEST_NAME): Likewise.
67354         * string/test-strlen.c (TEST_NAME): Likewise.
67355         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67356         * string/test-strncmp.c (TEST_NAME): Likewise.
67357         * string/test-strncpy.c (TEST_NAME): Likewise.
67358         * string/test-strnlen.c (TEST_NAME): Likewise.
67359         * string/test-strpbrk.c (TEST_NAME): Likewise.
67360         * string/test-strrchr.c (TEST_NAME): Likewise.
67361         * string/test-strspn.c (TEST_NAME): Likewise.
67362         * string/test-strstr.c (TEST_NAME): Likewise.
67363         * string/test-bcopy-ifunc.c: New file.
67364         * string/test-bzero-ifunc.c: Likewise.
67365         * string/test-memccpy-ifunc.c: Likewise.
67366         * string/test-memchr-ifunc.c: Likewise.
67367         * string/test-memcmp-ifunc.c: Likewise.
67368         * string/test-memcpy-ifunc.c: Likewise.
67369         * string/test-memmem-ifunc.c: Likewise.
67370         * string/test-memmove-ifunc.c: Likewise.
67371         * string/test-mempcpy-ifunc.c: Likewise.
67372         * string/test-memset-ifunc.c: Likewise.
67373         * string/test-rawmemchr-ifunc.c: Likewise.
67374         * string/test-stpcpy-ifunc.c: Likewise.
67375         * string/test-stpncpy-ifunc.c: Likewise.
67376         * string/test-strcasecmp-ifunc.c: Likewise.
67377         * string/test-strcasestr-ifunc.c: Likewise.
67378         * string/test-strcat-ifunc.c: Likewise.
67379         * string/test-strchr-ifunc.c: Likewise.
67380         * string/test-strchrnul-ifunc.c: Likewise.
67381         * string/test-strcmp-ifunc.c: Likewise.
67382         * string/test-strcpy-ifunc.c: Likewise.
67383         * string/test-strcspn-ifunc.c: Likewise.
67384         * string/test-strlen-ifunc.c: Likewise.
67385         * string/test-strncasecmp-ifunc.c: Likewise.
67386         * string/test-strncat-ifunc.c: Likewise.
67387         * string/test-strncmp-ifunc.c: Likewise.
67388         * string/test-strncpy-ifunc.c: Likewise.
67389         * string/test-strnlen-ifunc.c: Likewise.
67390         * string/test-strpbrk-ifunc.c: Likewise.
67391         * string/test-strrchr-ifunc.c: Likewise.
67392         * string/test-strspn-ifunc.c: Likewise.
67393         * string/test-strstr-ifunc.c: Likewise.
67395         * debug/Makefile (tests-ifunc): New variable.
67396         (tests): Add $(tests-ifunc).
67397         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67398         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67399         * debug/test-stpcpy_chk-ifunc.c: New file.
67400         * debug/test-strcpy_chk-ifunc.c: Likewise.
67402 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67404         [BZ #13601]
67405         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67406         header is not read in.
67408 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67410         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67411         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67412         directly.  Pass built executable to script as
67413         $(built-program-cmd).
67414         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67415         $testprogram without using LD_LIBRARY_PATH and $ldso.
67417         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67418         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67419         $(rtld-installed-name).
67420         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67421         (rtld_installed_name): Likewise.
67422         (library_path): Likewise.
67423         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67424         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67425         $(run-program-prefix) to tst-tables.sh.
67426         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67427         it to run tst-table-from and tst-table-to.
67428         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67429         Pass it to tst-table.sh.
67430         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67431         $(run-program-prefix) to tst-gettext.sh.
67432         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67433         tst-translit.sh.
67434         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67435         tst-gettext2.sh.
67436         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67437         to run tst-gettext.
67438         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67439         to run tst-gettext2.
67440         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67441         to run tst-translit.
67442         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67443         $(run-program-prefix) to tst-mtrace.sh.
67444         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67445         to run tst-mtrace.
67446         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67447         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67448         $(rtld-installed-name).
67449         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67450         (rtld_installed_name): Likewise.
67451         (run_program_prefix): New variable.  Use it to run wordexp-test.
67453         * Makeconfig (ARCH): Remove all definitions.
67454         (machine): Likewise.
67455         [ARCH]: Remove conditional code.
67456         [!objdir]: Give error.
67457         [!objdir] (objpfx): Remove.
67458         [!objdir] (common-objpfx): Likewise.
67459         [!objdir] (common-objdir): Likewise.
67460         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67461         AC_CONFIG_FILES call.
67462         * configure: Regenerated.
67464         [BZ #13888]
67465         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67466         or TMPDIR.
67467         (testout): Likewise.
67469         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67470         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67471         $(rtld-installed-name).
67472         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67473         (rtld_installed_name): Likewise.
67474         (runit): Remove function.
67475         (run_getconf): New variable,  Use it for running getconf binary.
67477 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67479         [BZ #14716]
67480         * string/test-memmem.c (check_result): New function.
67481         (do_one_test): Use it.
67482         (check1): New function.
67483         (test_main): Use it.
67485 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67487         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67489 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67491         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67492         (_G_LSEEK64): Likewise.
67493         (_G_MMAP64): Likewise.
67494         (_G_FSTAT64): Likewise.
67495         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67496         (_G_LSEEK64): Likewise.
67497         (_G_MMAP64): Likewise.
67498         (_G_FSTAT64): Likewise.
67499         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67500         unconditional.  Call __mmap64 directly.
67501         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67502         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67503         __lseek64 directly.
67504         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67505         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67506         __mmap64 directly.
67507         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67508         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67509         __lseek64 directly.
67510         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67511         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67512         __lseek64 directly.
67513         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67514         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67515         __lseek64 directly.
67516         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67517         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67518         __fxstat64 directly.
67519         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67520         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67521         unconditional.
67522         (freopen64) [!_G_OPEN64]: Remove conditional code.
67523         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67524         unconditional.
67525         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67526         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67527         unconditional.
67528         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67529         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67530         unconditional.
67531         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67532         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67533         unconditional.
67534         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67535         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67536         unconditional.
67537         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67538         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67539         unconditional.
67540         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67541         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67542         unconditional.
67543         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67545 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67547         [BZ #12140]
67548         * manual/memory.texi (Malloc Tunable Parameters): Add note
67549         about free list pointers overwriting some perturb bytes.
67550         Wording suggested by Roland McGrath.
67552 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67554         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67555         (lgamma_test): Likewise.
67556         (tgamma_test): Likewise.
67558 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67560         [BZ #14700]
67561         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67562         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67564 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67566         * NEWS: Mention BZ #14716.
67567         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67568         when removing AVAILABLE1_USES_J macro.
67570 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67572         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67573         (__bswap_64): __uint64_t for unsigned 64-bit int.
67575 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67577         * include/string.h (memmem): Declare libc hidden alias.
67578         * string/memmem.c (memmem): Define libc hidden alias.
67579         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67580         __read, __close instead of open, read, close.
67582 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67585         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67586         global and hidden.
67587         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67588         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67589         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67590         Likewise.
67591         (__rawmemchr_sse2): Likewise.
67592         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67593         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67594         (__strchr_sse2): Likewise.
67595         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67596         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67597         (__strcasecmp_sse2): Likewise.
67598         (__strncasecmp_sse2): Likewise.
67599         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67600         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67601         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67602         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67603         (__strrchr_sse2): Likewise.
67604         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67605         ifunc-impl-list.c.
67606         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67607         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67608         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67609         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67610         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67612         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67613         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67614         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67615         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67616         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67617         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67618         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67619         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67620         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67621         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67622         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67623         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67624         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67625         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67626         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67627         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67628         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67629         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67630         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67631         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67632         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67633         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67634         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67635         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67637         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67638         global and hidden.
67639         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67640         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67641         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67642         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67643         Likewise.
67644         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67645         Likewise.
67646         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67647         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67648         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67649         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67650         ifunc-impl-list.c.
67651         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67652         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67653         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67654         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67655         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67656         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67657         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67658         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67660         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67661         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67662         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67663         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67664         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67665         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67666         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67667         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67668         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67669         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67670         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67671         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67672         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67673         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67674         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67676         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67677         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67678         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67679         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67680         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67681         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67682         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67683         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67684         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67685         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67686         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67687         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67688         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67689         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67690         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67691         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67693         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67694         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67695         * include/ifunc-impl-list.h: New file.
67696         * misc/ifunc-impl-list.c: Likewise.
67697         * misc/Makefile (routines): Add ifunc-impl-list.
67698         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67699         * string/test-string.h: Include <ifunc-impl-list.h>.
67700         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67701         TEST_NAME]: New variables.
67702         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67703         are defined.
67704         (test_init): Call __libc_ifunc_impl_list to initialize
67705         func_list if TEST_IFUNC and TEST_NAME are defined.
67707         * string/Makefile (strop-tests): Add bcopy and bzero.
67708         * string/test-bcopy.c: New file.
67709         * string/test-bzero.c: Likewise.
67710         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67711         defined.
67712         * string/test-memset.c: Support bzero test if TEST_BZERO is
67713         defined.
67714         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67715         __libc_memmove.
67716         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67717         __libc_memset.
67718         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67719         of memset.
67721 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67723         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67724         * configure: Regenerated.
67726         * Makeconfig (+link-static-before-libc): Don't include
67727         $(link-static-libc).
67729         * libio/libio.h (_IO_pos_t): Remove.
67731 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67733         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67734         McGrath.
67736 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67738         * crypt/crypt-entry.c: Include fips-private.h.
67739         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67740         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67741         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67742         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67744 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67746         * crypt/crypt-private.h: Include stdbool.h.
67747         (_ufc_setup_salt_r): Return bool.
67748         * crypt/crypt-entry.c: Include errno.h.
67749         (__crypt_r): Return NULL with EINVAL for bad salt.
67750         * crypt/crypt_util.c (bad_for_salt): New.
67751         (_ufc_setup_salt_r): Check that salt is long enough and within
67752         the specified alphabet.
67753         * crypt/badsalttest.c: New file.
67754         * crypt/Makefile (tests): Add it.
67755         ($(objpfx)badsalttest): New.
67757 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67759         * NEWS: Add entry for BZ #14602.
67761 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67763         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67764         type-generic.
67765         * math/libm-test.inc: Update comment listing what functions and
67766         macros are tested.
67767         (isgreater_test): New function.
67768         (isgreaterequal_test): Likewise.
67769         (isless_test): Likewise.
67770         (islessequal_test): Likewise.
67771         (islessgreater_test): Likewise.
67772         (isunordered_test): Likewise.
67773         (main): Call the new functions.
67775 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67777         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67778         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67779         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67780         * sysdeps/i386/configure: Regenerated.
67781         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67782         * sysdeps/mach/configure: Regenerated.
67783         * sysdeps/mach/hurd/configure: Regenerated.
67784         * sysdeps/powerpc/configure: Regenerated.
67785         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67786         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67787         * sysdeps/s390/s390-32/configure: Regenerated.
67788         * sysdeps/s390/s390-64/configure: Regenerated.
67789         * sysdeps/sh/configure: Regenerated.
67790         * sysdeps/sparc/configure: Regenerated.
67791         * sysdeps/unix/sysv/linux/configure: Regenerated.
67792         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67793         * sysdeps/x86_64/configure: Regenerated.
67795         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67796         defined.  Don't check if MAP is NULL.
67798 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67800         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67801         (_G_stat64): Likewise.
67802         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67803         (_G_stat64): Likewise.
67804         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67805         instead of struct _G_stat64.
67806         * libio/fileops.c (mmap_remap_check): Likewise.
67807         (decide_maybe_mmap): Likewise.
67808         (_IO_new_file_seekoff): Likewise.
67809         (_IO_file_stat): Likewise.
67810         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67811         _G_off64_t.
67812         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67813         instead of struct _G_stat64.
67814         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67816 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67818         [BZ #14602]
67819         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67820         Replace with ...
67821         (CHECK_EOL): New macro.
67822         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67823         CHECK_EOL.
67824         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67825         Replace with CHECK_EOL.
67826         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67827         Replace with CHECK_EOL.
67829 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67831         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67832         type-generic.
67833         * math/libm-test.inc: Update comment listing what functions and
67834         macros are tested.
67835         (finite_test): New function.
67836         (isinf_test): Likewise.
67837         (isnan_test): Likewise.
67838         (fpclassify_test): Test subnormal input.
67839         (isfinite_test): Likewise.
67840         (isnormal_test): Likewise.
67841         (main): Call the new functions.
67843 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67845         [BZ #14660]
67846         * Makerules (%.dynsym): Force C locale when running
67847         $(OBJDUMP) --dynamic-syms.
67849 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67851         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67852         <stdint.h>.
67854 2012-10-06  David S. Miller  <davem@davemloft.net>
67856         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67857         upper 32-bits of the length value in %o2 since we use branch-on-register
67858         tests which consider the entire 64-bit register.
67860 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67862         * string/test-strstr.c (check2): Add a test for page boundary.
67864 2012-10-05  David S. Miller  <davem@davemloft.net>
67866         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67867         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67868         file.
67869         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67870         sysdep_routines.
67871         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67872         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67873         and bzero when HWCAP_SPARC_CRYPTO is present.
67875 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67877         [BZ #14602]
67878         * string/test-strstr.c (check2): New function.
67879         (test_main): Call check2.
67881         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67882         and bug-strchr1.
67883         * string/bug-strcasestr1.c (do_test): Moved to ...
67884         * string/test-strcasestr.c (check1): Here.  New function.
67885         (do_one_test): Break out result checking code into ...
67886         (check_result): This.  New function.
67887         (do_one_test): Call check_result.
67888         (test_main): Call check1.
67889         * string/bug-strchr1.c (do_test): Moved to ...
67890         * string/test-strchr.c (check1): Here.  New function.
67891         (do_one_test): Break out result checking code into ...
67892         (check_result): This.  New function.
67893         (do_one_test): Call check_result.
67894         (test_main): Call check1.
67895         * string/bug-strstr1.c (main): Moved to ...
67896         * string/test-strstr.c (check1): Here.  New function.
67897         (do_one_test): Break out result checking code into ...
67898         (check_result): This.  New function.
67899         (do_one_test): Call check_result.
67900         (test_main): Call check1.
67901         * string/bug-strcasestr1.c: Removed.
67902         * string/bug-strchr1.c: Likewise.
67903         * string/bug-strstr1.c: Likewise.
67905         * elf/Makefile (dl-routines): Add hwcaps.
67906         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67907         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67908         (_dl_important_hwcaps): Moved to ...
67909         * elf/dl-hwcaps.c: Here.  New file.
67910         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67912         [BZ #14557]
67913         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67914         if IS_IN_rtld isn't defined.
67916         * elf/dl-support.c (_dl_sysinfo_map): New.
67917         Include "get-dynamic-info.h" and "setup-vdso.h".
67918         (_dl_non_dynamic_init): Call setup_vdso.
67919         * elf/dynamic-link.h: Don't include <assert.h>.
67920         (elf_get_dynamic_info): Moved to ...
67921         * elf/get-dynamic-info.h: Here.  New file.
67922         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67923         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67924         * elf/setup-vdso.h: Here.  New file.
67925         * elf/rtld.c: Include "setup-vdso.h".
67926         (dl_main): Call setup_vdso.
67928 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67930         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67931         creal in comment listing functions tested.  List finite, isinf,
67932         isnan, isless, islessequal, isgreater, isgreaterequal,
67933         islessgreater, isunordered, lgamma_r and pow10 as functions and
67934         macros not tested.  Mention which functions not tested are aliases
67935         for other functions.  Fix typo.  Note that signs of NaNs are not
67936         tested.
67938         * scripts/config.guess: Update from config.git.
67939         * scripts/config.sub: Likewise.
67941 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67943         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67944         * misc/madvise.c (madvise): Renamed to __madvise.
67945         Make madvise a weak alias.
67946         * include/sys/mman.h: Declare __madvise.
67947         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67948         * sysdeps/unix/syscalls.list
67949         (madvise): Make __madvise the strong name, and madvise a weak alias.
67950         * sysdeps/unix/sysv/linux/syscalls.list
67951         (madvise, mmap): Remove redundant entries.
67952         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67953         * malloc/malloc.c (mtrim): Likewise.
67954         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67956 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67958         * sysdeps/mach/hurd/dl-cache.c: File removed.
67959         * config.h.in (USE_LDCONFIG): New #undef.
67960         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67961         * configure: Regenerated.
67962         * elf/Makefile (dl-routines): Add dl-cache only under
67963         [$(use-ldconfig) = yes].
67964         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67965         cache on [USE_LDCONFIG].
67966         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67967         [USE_LDCONFIG].
67968         * elf/rtld.c (dl_main): Likewise.
67970 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67972         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67973         _SC_LEVEL4_CACHE_LINESIZE.
67975 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67977         * sysdeps/unix/bsd/confstr.h: File removed.
67979 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67981         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67982         sys/sdt-config.h.
67984 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67986         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67987         Make 'mapoff' field ElfW(Off) rather than off_t.
67989 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67991         * nscd/Makefile: Remove nscd-cflags and all its users.
67992         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67993         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67995         [BZ #10631]
67996         * malloc.c (malloc_printerr): Clarify error message.
67998 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68000         [BZ #14648]
68001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68002         Set bit_FMA_Usable if FMA is supported.
68003         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68004         macro.
68005         (bit_FMA4_Usable): Updated.
68006         (index_FMA_Usable): New macro.
68007         (CPUID_FMA): Likewise.
68008         (HAS_FMA): Defined with bit_FMA_Usable.
68010 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68012         * bits/types.h (__swblk_t): Type removed.
68013         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68014         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68015         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68016         (__SWBLK_T_TYPE): Likewise.
68017         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68018         (__SWBLK_T_TYPE): Likewise.
68019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68020         (__SWBLK_T_TYPE): Likewise.
68021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68022         (__SWBLK_T_TYPE): Likewise.
68024 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68025             Honza Horak <hhorak@redhat.com>
68027         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68028         (xdr_mapname): Use YPMAXMAP as maxsize.
68029         (xdr_peername): Use YPMAXPEER as maxsize.
68030         (xdr_keydat): Use YPAXRECORD as maxsize.
68031         (xdr_valdat): Use YPMAXRECORD as maxsize.
68033 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68035         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68037         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68038         * csu/init-first.c: ... here.
68039         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68040         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68041         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68042         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68043         * sysdeps/i386/init-first.c: File removed.
68044         * sysdeps/sh/init-first.c: File removed.
68046 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68048         [BZ #14645]
68049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68050         if x * y might underflow to zero and z is zero.
68051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68053         * math/libm-test.inc (min_subnorm_value): New variable.
68054         (fma_test): Add more tests.
68055         (fma_test_towardzero): Likewise.
68056         (fma_test_downward): Likewise.
68057         (fma_test_upward): Likewise.
68058         (initialize): Set min_subnorm_value.
68060 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68062         [BZ #14638]
68063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68064         0 + 0.
68065         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68066         mode for addition resulting in exact zero.
68067         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68069         exact 0 + 0.
68070         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68071         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68072         * math/libm-test.inc (fma_test): Add more tests.
68073         (fma_test_towardzero): New function.
68074         (fma_test_downward): Likewise.
68075         (fma_test_upward): Likewise.
68076         (main): Call the new functions.
68078 2012-09-28  David S. Miller  <davem@davemloft.net>
68080         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68082 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68084         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68085         instead of SIGALRM.
68087         * sysdeps/gnu/_G_config.h: Moved to ...
68088         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68089         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68090         * sysdeps/generic/_G_config.h: ... here.
68092         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68094         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68096         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68097         Conditionalize target on [libnss_test1.so-version].
68099         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68101         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68102         (elfobjdir): Move out of conditionals.
68104         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68105         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68106         (__nss_lookup_function): Conditionalize label remove_from_tree on
68107         [!DO_STATIC_NSS || SHARED], matching its only use.
68109 2012-09-28  David S. Miller  <davem@davemloft.net>
68111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68112         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68113         file.
68114         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68115         sysdep_routines.
68116         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68118         when HWCAP_SPARC_CRYPTO is present.
68120 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68122         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68124 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68126         [BZ #6530]
68127         * stdio-common/vfprintf.c (process_string_arg): Revert
68128         2000-07-22 change.
68130 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68132         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68133         for testcase.
68134         * stdio-common/tst-sprintf.c: Include <locale.h>
68135         (main): Test sprintf's handling of incomplete multibyte
68136         characters.
68138 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68140         * elf/dl-runtime.c (VERSYMIDX): Removed.
68141         * elf/dl-version.c (VERSYMIDX): Likewise.
68142         * elf/do-rel.h (VERSYMIDX): Likewise.
68143         (VALIDX): Likewise.
68144         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68145         * elf/rtld.c (VALIDX): Likewise.
68146         (ADDRIDX): Likewise.
68147         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68148         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68149         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68150         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68151         (VALIDX): Likewise.
68152         (ADDRIDX): Likewise.
68154 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68156         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68158 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68160         [BZ #11438]
68161         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68162         to global scope.
68163         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68164         addresses are in the same scope as 192.0.2/24.
68165         * posix/gai.conf: Document new scope table defaults.
68167 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68169         [BZ #5298]
68170         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68171         for ftell.  Compute offsets from write pointers instead.
68172         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68174 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68176         [BZ #14543]
68177         * libio/Makefile (tests): New test case tst-fseek.
68178         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68179         combination works in wide mode.
68180         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68181         state when the external buffer state changes.
68183 2012-09-27  David S. Miller  <davem@davemloft.net>
68185         [BZ #14376]
68186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68187         pass reloc->r_addend in as the 'high' argument to
68188         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68192 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68194         * rt/tst-aio2.c: Include <pthread.h>.
68195         * rt/tst-aio3.c: Likewise.
68197 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68199         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68201 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68203         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68204         contents on [SHARED].
68206 2012-09-26  Marek Polacek  <polacek@redhat.com>
68208         [BZ #14530]
68209         [BZ #13741]
68210         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68211         for C++ and GCC <4.3 as well as for non GCC compilers.
68213 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68217 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68219         * Makefile.in (all, install): Declare with .PHONY.
68220         Reported by Michael Hope <michael.hope@linaro.org>.
68222 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68224         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68225         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68226         system header.
68227         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68228         Likewise.
68229         (sydep_routines): Add the new and the internal functions.
68230         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68231         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68233         (GLIBC_2.17): Add the new function.
68234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68235         (GLIBC_2.17): Likewise.
68236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68237         (GLIBC_2.17): Likewise.
68238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68239         (GLIBC_2.17): Likewise.
68240         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68242 2012-09-25  Alan Modra  <amodra@gmail.com>
68244         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68245         Add release barrier before setting once_control to say
68246         initialisation is done.  Add hints on lwarx.  Use macro in
68247         place of isync.
68248         (clear_once_control): Add release barrier.
68250 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68252         [BZ #13629]
68253         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68254         specially.
68255         * math/s_clog10.c (__clog10): Likewise.
68256         * math/s_clog10f.c (__clog10f): Likewise.
68257         * math/s_clog10l.c (__clog10l): Likewise.
68258         * math/s_clogf.c (__clogf): Likewise.
68259         * math/s_clogl.c (__clogl): Likewise.
68260         * math/Makefile (libm-calls): Add x2y2m1.
68261         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68262         (__x2y2m1): Likewise.
68263         (__x2y2m1l): Likewise.
68264         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68265         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68266         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68267         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68268         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68269         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68270         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68271         * sysdeps/i386/fpu/libm-test-ulps: Update.
68272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68274         [BZ #14621]
68275         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68276         int as type of variable DEPTH.
68277         (glob): Use size_t instead of int as type of variables NEWCOUNT
68278         and OLD_PATHC.
68280 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68282         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68283         Add s_sincosf-sse2.
68284         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68285         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68286         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68287         macros for using routine as __sincosf_ia32.
68288         Use macro for function declaration and weak_alias.
68289         * sysdeps/i386/fpu/libm-test-ulps: Update.
68291         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68294         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68295         subnormal argument.
68296         * math/s_cexpf.c (__cexpf): Likewise.
68297         * math/s_csinf.c (__csinf): Likewise.
68298         * math/s_csinhf.c (__csinhf): Likewise.
68299         * math/s_ctanf.c (__ctanf): Likewise.
68300         * math/s_ctanhf.c (__ctanhf): Likewise.
68301         * math/s_ccosh.c (__ccoshf): Likewise.
68302         * math/s_cexp.c (__cexpl): Likewise.
68303         * math/s_csin.c (__csin): Likewise.
68304         * math/s_csinh.c (__csinh): Likewise.
68305         * math/s_ctan.c (__ctan): Likewise.
68306         * math/s_ctanh.c (ctanh): Likewise.
68307         * math/s_ccoshl.c (__ccoshl): Likewise.
68308         * math/s_cexpl.c (__cexpl): Likewise.
68309         * math/s_csinl.c (__csinl): Likewise.
68310         * math/s_csinhl.c (__csinhl): Likewise.
68311         * math/s_ctanl.c (__ctanl): Likewise.
68312         * math/s_ctanhl.c (__ctanhl): Likewise.
68314 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68316         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68317         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68318         (_IO_off_t): Define to __off_t, not _G_off_t.
68319         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68320         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68321         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68322         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68323         type of __dummy and __dummy2 fields.
68324         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68325         (_G_ssize_t): Likewise.
68326         (_G_off_t): Likewise.
68327         (_G_pid_t): Likewise.
68328         (_G_uid_t): Likewise.
68329         (_G_wchar_t): Likewise.
68330         (_G_wint_t): Likewise.
68331         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68332         (_G_ssize_t): Likewise.
68333         (_G_off_t): Likewise.
68334         (_G_pid_t): Likewise.
68335         (_G_uid_t): Likewise.
68336         (_G_wchar_t): Likewise.
68337         (_G_wint_t): Likewise.
68338         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68339         (_G_ssize_t): Likewise.
68340         (_G_off_t): Likewise.
68341         (_G_pid_t): Likewise.
68342         (_G_uid_t): Likewise.
68343         (_G_wchar_t): Likewise.
68344         (_G_wint_t): Likewise.
68346 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68348         * malloc/arena.c: Include malloc-sysdep.h.
68349         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68350         is sufficient to shrink the heap or an unmap is needed.
68351         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68352         new function check_may_shrink_heap.
68353         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68354         new function check_may_shrink_heap.
68356 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68358         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68359         comments.
68361 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68363         * catgets/test-gencat.sh: Add "set -e".
68364         * elf/tst-pathopt.sh: Likewise.
68365         * grp/tst_fgetgrent.sh: Likewise.
68366         * iconvdata/run-iconv-test.sh: Likewise.
68367         * intl/tst-gettext.sh: Likewise.
68368         * intl/tst-gettext2.sh: Likewise.
68369         * intl/tst-gettext4.sh: Likewise.
68370         * intl/tst-gettext6.sh: Likewise.
68371         * intl/tst-translit.sh: Likewise.
68372         * io/ftwtest-sh: Likewise.
68373         * libio/test-freopen.sh: Likewise.
68374         * malloc/tst-mtrace.sh: Likewise.
68375         * posix/globtest.sh: Likewise.
68376         * posix/tst-getconf.sh: Likewise.
68377         * posix/wordexp-tst.sh: Likewise.
68378         * stdio-common/tst-printf.sh: Likewise.
68379         * stdio-common/tst-unbputc.sh: Likewise.
68380         * stdlib/tst-fmtmsg.sh: Likewise.
68381         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68382         * catgets/Makefile: Do not specify -e option when running
68383         testsuite shell scripts.
68384         * elf/Makefile: Likewise.
68385         * grp/Makefile: Likewise.
68386         * iconvdata/Makefile: Likewise.
68387         * intl/Makefile: Likewise.
68388         * io/Makefile: Likewise.
68389         * libio/Makefile: Likewise.
68390         * malloc/Makefile: Likewise.
68391         * posix/Makefile: Likewise.
68392         * stdio-common/Makefile: Likewise.
68393         * stdlib/Makefile: Likewise.
68394         * sysdeps/x86_64/Makefile: Likewise.
68396         * io/ftwtest-sh: Add copyright header.
68397         * posix/globtest.sh: Likewise.
68398         * posix/tst-getconf.sh: Likewise.
68399         * posix/wordexp-tst.sh: Likewise.
68400         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68402 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68404         [BZ #13679]
68405         * Makeconfig (+link): Defined as $(+link-static) if
68406         $(build-shared) isn't yes.
68407         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68408         isn't yes.
68409         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68411         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68413         [BZ #14562]
68414         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68415         new chunk size with MALLOC_ALIGN_MASK.
68417 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68419         [BZ #5044]
68420         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68421         <rounding-mode.h>.
68422         (__printf_fphex): Determine rounding using get_rounding_mode and
68423         round_away.
68424         * stdio-common/tst-printf-round.c (struct hex_test): New
68425         structure.
68426         (hex_tests): New variable.
68427         (test_hex_in_one_mode): New function.
68428         (do_test): Also run tests for hex float output.
68430 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68432         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68433         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68434         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68435         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68436         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68437         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68438         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68439         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68441 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68443         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68444         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68445         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68446         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68448 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68450         [BZ #14579]
68451         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68452         mode only.
68453         * elf/tst-rtld-load-self.sh: New test.
68454         * elf/Makefile: Run it.
68456 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68458         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68459         (tst-writev-ENV): Remove.
68460         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68462 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68464         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68466 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68468         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68469         unconditional.
68470         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68471         Likewise.
68472         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68473         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68474         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68475         Likewise.
68477 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68479         [BZ #14587]
68480         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68481         * config.make.in (have-cpp-asm-debuginfo): Removed.
68482         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68483         * configure: Regenerated.
68485 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68487         [BZ #5044]
68488         * stdio-common/printf_fp.c: Include <stdbool.h> and
68489         <rounding-mode.h>.
68490         (___printf_fp): Determine rounding using get_rounding_mode and
68491         round_away.
68492         * stdio-common/tst-printf-round.c: New file.
68493         * stdio-common/Makefile (tests): Add tst-printf-round.
68494         (link-libm): New variable.
68495         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68497 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68499         [BZ #14576]
68500         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68501         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68502         Likewise.
68503         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68504         Likewise.
68506 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68508         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68509         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68510         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68511         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68513 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68515         [BZ #14518]
68516         * include/rounding-mode.h: New file.
68517         * sysdeps/generic/get-rounding-mode.h: Likewise.
68518         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68519         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68520         (MAX_VALUE): New macro.
68521         (MIN_VALUE): Likewise.
68522         (overflow_value): New function.
68523         (underflow_value): Likewise.
68524         (round_and_return): Use overflow_value and underflow_value to
68525         determine return values in overflow and underflow cases.  Use
68526         round_away to determine rounding depending on rounding mode.
68527         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68528         determine return values in overflow and underflow cases.
68529         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68530         (struct test_results): New structure.
68531         (struct test): Use struct test_results to store expected results
68532         for all rounding modes.
68533         (TEST): Include expected results for all rounding modes.
68534         (test_in_one_mode): New function.
68535         (do_test): Use test_in_one_mode to compute and check results.
68536         Check results for all rounding modes.
68537         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68538         $(link-libm).
68540 2012-12-09  Allan McRae  <allan@archlinux.org>
68542         * sysdeps/i386/fpu/libm-test-ulps: Update
68544 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68546         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68547         (_G_int32_t): Likewise.
68548         (_G_uint16_t): Likewise.
68549         (_G_uint32_t): Likewise.
68550         (_G_HAVE_BOOL): Likewise.
68551         (_G_HAVE_ATEXIT): Likewise.
68552         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68553         (_G_HAVE_IO_FILE_OPEN): Likewise.
68554         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68555         (_G_int32_t): Likewise.
68556         (_G_uint16_t): Likewise.
68557         (_G_uint32_t): Likewise.
68558         (_G_HAVE_BOOL): Likewise.
68559         (_G_HAVE_ATEXIT): Likewise.
68560         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68561         (_G_HAVE_IO_FILE_OPEN): Likewise.
68562         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68563         (_G_int32_t): Likewise.
68564         (_G_uint16_t): Likewise.
68565         (_G_uint32_t): Likewise.
68566         (_G_HAVE_BOOL): Likewise.
68567         (_G_HAVE_ATEXIT): Likewise.
68568         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68569         (_G_HAVE_IO_FILE_OPEN): Likewise.
68571 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68573         * csu/libc-tls.c: Update copyright years.
68575 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68577         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68578         [!_G_USING_THUNKS]: Remove conditional code.
68579         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68580         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68582         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68583         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68584         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68585         (_G_VTABLE_LABEL_PREFIX): Likewise.
68586         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68587         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68588         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68589         (_G_VTABLE_LABEL_PREFIX): Likewise.
68590         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68591         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68592         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68593         (_G_VTABLE_LABEL_PREFIX): Likewise.
68594         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68596 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68598         * libio/Makefile: Include ../Makeconfig before tests.
68599         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68600         only if $(build-shared) is yes.
68602         * iconv/gconv_db.c: Update copyright years.
68604 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68606         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68607         unwind info if defined PIC. Fix special cases description.
68608         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68610         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68611         DP_HI_MASK entry.
68612         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68614 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68616         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68618         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68619         is NULL.
68621         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68622         (LDLIBS-tst-chk4): This.
68623         (LDFLAGS-tst-chk5): Renamed to ...
68624         (LDLIBS-tst-chk5): This.
68625         (LDFLAGS-tst-chk6): Renamed to ...
68626         (LDLIBS-tst-chk6): This.
68627         (LDFLAGS-tst-lfschk4): Renamed to ...
68628         (LDLIBS-tst-lfschk4): This.
68629         (LDFLAGS-tst-lfschk5): Renamed to ...
68630         (LDLIBS-tst-lfschk5): This.
68631         (LDFLAGS-tst-lfschk6): Renamed to ...
68632         (LDLIBS-tst-lfschk6): This.
68634         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68635         on $(common-objpfx)soversions.mk.
68637 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68639         [BZ #10014]
68640         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68641         example host name.
68643 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68645         * malloc/arena.c (arena_get_retry): New function that gets
68646         another arena for the caller to try its request on.
68647         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68648         current arena cannot fulfill the request.
68649         (__libc_memalign): Likewise.
68650         (__libc_memalign): Likewise.
68651         (__libc_pvalloc): Likewise.
68652         (__libc_calloc): Likewise.
68654 2012-09-05  John Tobey  <john.tobey@gmail.com>
68656         [BZ #13542]
68657         * manual/arith.texi (Operations on Complex): Fix description
68658         of carg branch cut.
68660 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68662         [BZ #10014]
68663         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68664         host name.
68666         [BZ #10038]
68667         * manual/memory.texi (Memory): Make order of menu items match
68668         order of sections.
68670 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68672         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68673         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68674         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68676 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68678         * csu/libc-tls.c (static_dtv): Renamed to ...
68679         (_dl_static_dtv): This.  Make it global.
68680         (_dl_initial_dtv): Removed.
68681         (__libc_setup_tls): Updated.
68682         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68683         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68684         DL_INITIAL_DTV.
68686 2012-09-06  Petr Machata  <pmachata@redhat.com>
68688         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68689         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68690         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68691         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68693 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68695         [BZ #14545]
68696         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68697         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68698         freeing dtv[-1].
68700 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68702         [BZ #14544]
68703         * Makeconfig (link-static-before-libc): Replace $(+prector)
68704         with $(+prectorT).
68705         (link-static-after-libc): Replace $(+postctor) with
68706         $(+postctorT).
68707         (link-bounded): Replace $(+prector)/$(+postctor) with
68708         $(+prectorT)/$(+postctorT).
68709         (+prectorT): New macro.
68710         (+postctorT): Likewise.
68712 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68714         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68715         (round_str): Handle values above the maximum for IBM long double
68716         as inexact.
68717         * stdlib/tst-strtod-round.c (tests): Regenerated.
68719 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68721         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68722         assembler flag.
68723         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68724         zarch_nohighgprs around the zarch optimized routines.
68725         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68726         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68728         for zarch.
68730 2012-09-05  David S. Miller  <davem@davemloft.net>
68732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68734         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68735         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68736         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68737         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68738         entries.
68740 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68742         * malloc/arena.c: Fold copyright years.
68743         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68745 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68747         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68749 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68751         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68753 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68755         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68756         change internal state upon failure.
68758 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68760         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68761         * malloc/memusage.c (mmap): Likewise.
68762         (mmap64, mremap): Likewise.  Adjust name in comment.
68764 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68766         * libio/fileops.c: Fix typos in comments.
68767         * libio/oldfileops.c: Likewise.
68768         * libio/wfileops.c: Likewise.
68770 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68772         [BZ #1349]
68773         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68774         (tst-malloc-usable-ENV): Set environment for test case.
68775         * malloc/hooks.c (malloc_check_get_size): New function to get
68776         requested size.
68777         * malloc/malloc.c (musable): Use malloc_check_get_size.
68778         * malloc/tst-malloc-usable.c: New test case.
68780 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68782         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68784 2012-09-05  Allan McRae  <allan@archlinux.org>
68786         [BZ #13966]
68787         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68788         determine header location.
68789         * configure: Regenerated.
68791 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68793         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68794         float format.
68795         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68796         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68797         format.
68798         (test): Regenerate.
68800 2012-09-04  David S. Miller  <davem@davemloft.net>
68802         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68803         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68804         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68806 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68808         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68809         failures.
68811         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68813 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68815         [BZ #9914]
68816         * libio/iogetdelim.c: Include <limits.h>.
68817         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68818         + len + 1 would overflow.
68820 2012-09-03  Andreas Jaeger  <aj@suse.de>
68822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68823         * sysdeps/i386/fpu/libm-test-ulps: Update.
68825 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68827         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68828         Add s_sinf-sse2, s_conf-sse2.
68830         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68831         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68832         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68833         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68835         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68836         for using routine as __sinf_ia32.
68837         Use macro for function declaration and weak_alias.
68838         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68839         for using routine as __cosf_ia32.
68840         Use macro for function declaration and weak_alias.
68842         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68843         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68845         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68846         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68849         * math/libm-test.inc (cos_test): Add more test cases.
68850         (sin_test): Likewise.
68851         (sincos_test): Likewise.
68853 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68855         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68856         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68857         hidden.
68858         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68860 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68862         [BZ #14538]
68863         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68864         first element of the GOT.
68865         (elf_machine_load_address): Return the difference between
68866         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68868 2012-09-01  Allan McRae  <allan@archlinux.org>
68870         [BZ #13412]
68871         * configure.in (AWK): Require gawk version 3.0 or later.
68872         * configure: Regenerated.
68874 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68876         * sysdeps/unix/sysv/linux/kernel-features.h
68877         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68878         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68879         [__NR_clock_getres]: Make code unconditional.
68880         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68881         (clock_getcpuclockid): Remove code left unreachable by removal of
68882         conditionals.
68883         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68884         code unconditional.
68885         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68886         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68887         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68888         Make code unconditional.
68889         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68890         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68891         * sysdeps/unix/sysv/linux/clock_settime.c
68892         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68893         conditional code.
68894         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68895         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68897 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68899         [BZ #14476]
68900         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68901         scripts/test-installation.pl.
68903         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68904         and $ld_so_version if it is set.
68906 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68908         [BZ #14516]
68909         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68910         failure if reading from procfs failed.
68911         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68913 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68915         * sysdeps/unix/sysv/linux/kernel-features.h
68916         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68917         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68918         Remove conditional code.
68919         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68920         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68921         Remove conditional code.
68922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68923         * sysdeps/unix/sysv/linux/i386/fxstat.c
68924         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68926         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68927         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68928         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68929         * sysdeps/unix/sysv/linux/i386/lxstat.c
68930         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68932         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68933         Remove conditional code.
68934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68935         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68936         Remove conditional code.
68937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68938         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68939         <kernel-features.h>.
68940         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68941         Remove.
68942         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68943         Remove conditional code.
68944         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68945         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68946         Remove conditional.
68948 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68950         [BZ #5400]
68951         * NEWS: Add fixed bug number.
68953 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68955         [BZ #14519]
68956         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68957         underflowing exponent in case of negative sign.
68958         * stdlib/tst-strtod-round-data: Add more tests.
68959         * stdlib/tst-strtod-round.c (tests): Regenerated.
68961         [BZ #3479]
68962         * stdlib/strtod_l.c (NDIG): Remove.
68963         (HEXNDIG): Likewise.
68964         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68965         smallest representable value.
68966         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68967         lie within an exact representation of 1/2 ulp of the result.
68968         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68969         unconditionally.
68970         (TENS_P9_IDX): Define unconditionally.
68971         (TENS_P9_SIZE): Likewise.
68972         (TENS_P10_IDX): Likewise.
68973         (TENS_P10_SIZE): Likewise.
68974         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68975         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68976         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68977         entries for 10^2^13 and 10^2^14.
68978         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68979         (TENS_P13_IDX): Define.
68980         (TENS_P13_SIZE): Likewise.
68981         (TENS_P14_IDX): Likewise.
68982         (TENS_P14_SIZE): Likewise.
68983         (_fpioconst_pow10): Change array size to
68984         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68985         unconditional.
68986         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68987         1024]: Add entries for 10^2^13 and 10^2^14.
68988         [LAST_POW10 > _LAST_POW10]: Remove #error.
68989         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68990         (_fpioconst_pow10): Change array size to
68991         FPIOCONST_POW10_ARRAY_SIZE.
68992         * stdlib/gen-fpioconst.c: New file.
68993         * stdlib/gen-tst-strtod-round.c: Likewise.
68994         * stdlib/tst-strtod-round-data: Likewise.
68995         * stdlib/tst-strtod-round.c: Likewise.
68996         * stdlib/Makefile (tests): Add tst-strtod-round.
68998         [BZ #14459]
68999         * stdlib/strtod_l.c: Include <stdint.h>.
69000         (NDEBUG): Do not define.
69001         (round_and_return): Change EXPONENT parameter to type intmax_t.
69002         Rearrange calculations to avoid internal overflow possibilities.
69003         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69004         Rearrange calculations to avoid internal overflow possibilities.
69005         Assert that number fits inside MPNSIZE limbs.
69006         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69007         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69008         calculations and add assertions to avoid internal overflow
69009         possibilities.  Add casts to avoid signed/unsigned operations.
69010         * stdlib/tst-strtod-overflow.c: New file.
69011         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69013 2012-08-25  Marek Polacek  <polacek@redhat.com>
69015         * time/time.h: Fix some typos in comments.
69017 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69019         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69020         * posix/tst-rfc3484-2.c: Likewise.
69021         * posix/tst-rfc3484-3.c: Likewise.
69023 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69025         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69026         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69028 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69030         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69031         #include of fxstatat64.c.
69033 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69035         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69036         * shadow/getspent_r.c: Likewise.
69037         * shadow/getspnam.c: Likewise.
69038         * shadow/getspnam_r.c: Likewise.
69039         * gshadow/getsgent.c: Likewise.
69040         * gshadow/getsgent_r.c: Likewise.
69041         * gshadow/getsgnam.c: Likewise.
69042         * gshadow/getsgnam_r.c: Likewise.
69043         * inet/getnetbyad.c: Likewise.
69044         * inet/getnetbyad_r.c: Likewise.
69045         * inet/getnetbynm.c: Likewise.
69046         * inet/getnetbynm_r.c: Likewise.
69047         * inet/getnetent.c: Likewise.
69048         * inet/getnetent_r.c: Likewise.
69049         * inet/getproto.c: Likewise.
69050         * inet/getproto_r.c: Likewise.
69051         * inet/getprtent.c: Likewise.
69052         * inet/getprtent_r.c: Likewise.
69053         * inet/getprtname.c: Likewise.
69054         * inet/getprtname_r.c: Likewise.
69055         * inet/getrpcbyname.c: Likewise.
69056         * inet/getrpcbyname_r.c: Likewise.
69057         * inet/getrpcbynumber.c: Likewise.
69058         * inet/getrpcbynumber_r.c: Likewise.
69059         * inet/getrpcent.c: Likewise.
69060         * inet/getrpcent_r.c: Likewise.
69061         * inet/getaliasent.c: Likewise.
69062         * inet/getaliasent_r.c: Likewise.
69063         * inet/getaliasname.c: Likewise.
69064         * inet/getaliasname_r.c: Likewise.
69065         * nscd/getgrgid_r.c: Likewise.
69066         * nscd/getgrnam_r.c: Likewise.
69067         * nscd/gethstbyad_r.c: Likewise.
69068         * nscd/gethstbynm3_r.c: Likewise.
69069         * nscd/getpwnam_r.c: Likewise.
69070         * nscd/getpwuid_r.c: Likewise.
69071         * nscd/getsrvbynm_r.c: Likewise.
69072         * nscd/getsrvbypt_r.c: Likewise.
69073         * nscd/gai.c: Likewise.
69075         * configure.in (build_nscd): New substituted variable, set
69076         by --disable-build-nscd and defaults to $use_nscd.
69077         * configure: Regenerated.
69078         * config.make.in (build-nscd): New substituted variable.
69079         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69080         Change conditional to require [$(build-nscd) = yes] as well.
69081         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69083         [BZ# 13696]
69084         * configure.in (use_nscd): New substituted variable, set by
69085         --disable-nscd.  If enabled, define USE_NSCD.
69086         * configure: Regenerated.
69087         * config.h.in: Add USE_NSCD.
69088         * config.make.in (use-nscd): New substituted variable.
69089         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69090         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69091         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69092         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69093         (CFLAGS-getgrnam_r.c): Likewise.
69094         (CFLAGS-initgroups.c): Likewise.
69095         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69096         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69097         Variables removed.
69098         * inet/getnetgrent_r.c
69099         (nscd_setnetgrent): New function, broken out of ...
69100         (setnetgrent): ... here.  Call it.
69101         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69102         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69103         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69104         * nscd/Makefile (routines, aux): Move definitions after include of
69105         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69106         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69107         Conditionalize on [USE_NSCD].
69108         (is_nscd, nscd_init_cb): Likewise.
69109         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69110         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69111         * nss/nss_db/db-init.c: Likewise.
69112         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69113         [USE_NSCD].
69114         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69115         (make_request): Use it.
69116         (cache_valid_p): New function.
69117         (__check_pf): Use it.
69118         * NEWS: Add item for --disable-nscd.
69120 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69122         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69123         to support sed >= 4.2.1-20-ga9bf076.
69124         * configure: Regenerated.
69126 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69128         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69129         Conditionalize whole body on [IREL].
69131 2012-08-22  Jeff Law <law@redhat.com>
69133         [BZ #14505]
69134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69135         if the family is PF_UNSPEC.
69137 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69139         * Makerules (lib-version): Rename from V.
69140         (install-lib-nosubdir): Change V to lib-version.
69142 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69144         [BZ #14252]
69145         * powerpc32/power6/wcschr.c: New file.
69146         * powerpc32/power6/wcscpy.c: New file.
69147         * powerpc32/power6/wcsrchr.c: New file.
69148         * powerpc64/power6/wcschr.c: New file.
69149         * powerpc64/power6/wcscpy.c: New file.
69150         * powerpc64/power6/wcsrchr.c: New file.
69152 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69154         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69155         (two_way_short_needle): Use it.
69156         * string/strstr.c (AVAILABLE1_USES_J): Define.
69157         * string/strcasestr.c: Likewise.
69159         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69160         array references.
69161         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69163         [BZ #11607]
69164         * NEWS: Add an entry.
69165         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69166         define their defaults.
69167         (two_way_short_needle): Detect end-of-string on-the-fly.
69168         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69169         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69170         * string/bug-strcasestr1.c: New test.
69171         * string/Makefile: Run it.
69173 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69175         [BZ #11607]
69176         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69177         the first character.
69179 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69181         * csu/elf-init.c (__libc_csu_irel): Function removed.
69182         * csu/libc-start.c (apply_irel): New function.
69183         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69185 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69187         * sysdeps/unix/sysv/linux/kernel-features.h
69188         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69189         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69190         <kernel-features.h>.
69191         [__NR_fadvise64_64]: Make code unconditional.
69192         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69193         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69194         !__NR_fadvise64_64)]: Likewise.
69195         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69196         !__NR_fadvise64_64))]: Likewise.
69197         [__NR_fadvise64]: Make code unconditional.
69198         [!__NR_fadvise64]: Remove conditional code.
69199         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69200         <kernel-features.h>.
69201         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69202         unconditional.
69203         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69204         conditional code.
69205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69206         not include <kernel-features.h>.
69207         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69208         unconditional.
69209         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69210         conditional code.
69211         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69212         include <kernel-features.h>.
69213         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69214         unconditional.
69215         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69216         conditional code.
69218 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69220         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69221         slight instruction rearrangements per scrollpipe analysis.
69222         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69224 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69226         * manual/syslog.texi (syslog; vsyslog, closelog):
69227         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69228         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69230         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69231         DSOCAPS to match condition on defining it.
69233 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69235         * sysdeps/unix/sysv/linux/kernel-features.h
69236         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69238         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69239         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69241         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69242         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69244         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69245         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69247         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69248         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69250         * sysdeps/unix/sysv/linux/kernel-features.h
69251         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69252         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69253         unconditional.
69254         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69255         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69256         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69257         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69258         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69259         Make code unconditional.
69260         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69261         (__mmap64) [!__NR_mmap2]: Likewise.
69262         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69263         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69264         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69265         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69266         [__NR_mmap2]: Make code unconditional.
69267         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69268         (__mmap64) [!__NR_mmap2]: Likewise.
69270 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69272         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69274 2012-08-18  Andreas Jaeger  <aj@suse.de>
69276         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69278 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69280         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69281         * include/unistd.h (__have_sock_cloexec): Likewise.
69282         (__have_pipe2): Likewise.
69283         (__have_dup3): Likewise.
69285 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69287         [BZ #9685]
69288         * include/unistd.h (__have_pipe2): Change define into an extern int.
69289         (__have_dup3): Likewise.
69290         * socket/have_sock_cloexec.c: Include fcntl.h.
69291         (__have_pipe2): New variable.
69292         (__have_dup3): Likewise.
69294 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69296         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69298 2012-08-17  Marek Polacek  <polacek@redhat.com>
69300         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69301         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69303 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69305         * configure.in: Add AC_SUBST for sysheaders.
69306         * configure: Regenerated.
69307         * config.make.in (sysheaders): New substituted variable.
69309         * sysdeps/unix/mkfifo.c: Moved ...
69310         * sysdeps/posix/mkfifo.c: ... here.
69311         * sysdeps/unix/mkfifoat.c: Moved ...
69312         * sysdeps/posix/mkfifoat.c: ... here.
69314         * sysdeps/unix/utime.c: Moved ...
69315         * sysdeps/posix/utime.c: ... here.
69317         * sysdeps/unix/time.c: Moved ...
69318         * sysdeps/posix/time.c: ... here.
69319         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69320         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69322         * sysdeps/unix/nice.c: Moved ...
69323         * sysdeps/posix/nice.c: ... here.
69325         * sysdeps/unix/alarm.c: Moved ...
69326         * sysdeps/posix/alarm.c: ... here.
69328         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69330 2012-08-17  Jeff Law <law@redhat.com>
69332         * intl/Makefile (codeset_mo): New variable.
69333         ($(codeset_mo)): New target.
69334         (tst-codeset.out): Depend on that.  Remove explicit rule.
69335         (tst-gettext3.out, tst-gettext5.out): Likewise.
69336         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69337         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69338         * intl/tst-codeset.sh: Remove.
69339         * intl/tst-gettext3.sh: Likewise.
69340         * intl/tst-gettext5.sh: Likewise.
69342 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69344         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69345         * sysdeps/unix/syscalls.list: ... here.
69347         * sysdeps/posix/getaddrinfo.c
69348         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69349         (gaiconf_init, gaiconf_reload): Use them.
69350         [!_STATBUF_ST_NSEC]
69351         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69352         Define using time_t rather than struct timespec.
69354         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69355         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69356         Macros removed.
69357         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69358         [!NO_THREADS].
69359         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69360         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69361         Likewise.
69363         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69364         __libc_cleanup_push argument.
69366         * bits/param.h: New file.
69367         * misc/sys/param.h: New file.
69368         * include/sys/param.h: New file.
69369         * misc/Makefile (headers): Add bits/param.h.
69370         * sysdeps/generic/sys/param.h: File removed.
69371         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69372         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69373         * sysdeps/mach/hurd/bits/param.h: New file.
69374         * sysdeps/mach/hurd/sys/param.h: File removed.
69376         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69377         last change.
69379         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69380         [_IO_MTSAFE_IO].
69381         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69382         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69383         New macros.
69385         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69386         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69387         rather than -D_IO_MTSAFE_IO conditionally.
69388         * stdio-common/Makefile (CPPFLAGS): Likewise.
69389         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69390         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69391         Use $(libio-mtsafe).
69392         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69393         of -D_IO_MTSAFE_IO.
69394         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69395         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69396         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69397         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69398         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69399         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69400         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69401         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69402         (CFLAGS-fread_u_chk.c): Likewise.
69403         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69404         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69405         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69406         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69407         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69408         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69409         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69410         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69411         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69413         * libio/Makefile: Test [$(libc-reentrant) = yes]
69414         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69416         * Makeconfig
69417         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69418         * sysdeps/pthread/configure: File removed.
69419         * sysdeps/pthread/Makeconfig: New file.
69420         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69421         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69423 2012-08-16  Gary Benson  <gbenson@redhat.com>
69425         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69426         unmapping the first object in a namespace.
69428 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69430         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69431         (__internal_setnetgrent): ... this.  Add internal_function to
69432         definition.  Add libc_hidden_def.
69433         (setnetgrent): Update caller.
69434         (internal_endnetgrent): Renamed to ...
69435         (__internal_endnetgrent): ... this.  Add internal_function to
69436         definition.  Add libc_hidden_def.
69437         (endnetgrent): Update caller.
69438         (internal_getnetgrent_r): Renamed to ...
69439         (__internal_getnetgrent_r): ... this.  Add internal_function to
69440         definition.  Add libc_hidden_def.
69441         (__getnetgrent_r): Update caller.
69442         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69444 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69446         * stdlib/longlong.h: Update from GCC.
69448 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69450         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69451         on _QL, which is set by umul_ppmm but never used.
69452         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69453         variables, which are set by GMP macros but never used.
69454         * stdio-common/_itowa.c (_itowa): Likewise.
69455         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69456         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69458 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69460         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69461         struct La_sh_regs is not constant.
69462         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69463         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69464         and struct La_sparc64_regs are not constant.
69466 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69468         * sysdeps/unix/sysv/linux/kernel-features.h
69469         (__ASSUME_POSIX_TIMERS): Remove.
69470         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69471         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69472         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69473         Make code unconditional.
69474         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69475         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69476         Make code unconditional.
69477         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69478         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69479         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69480         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69481         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69482         Make code unconditional.
69483         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69484         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69485         (__libc_missing_posix_timers): Remove.
69487 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69489         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69490         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69492         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69494         * elf/dl-sym.c: Include <stdlib.h>.
69496         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69497         constants, which avoids warnings in 32-bit builds.
69499         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69500         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69502         * misc/lseek.c: File moved to ...
69503         * io/lseek.c: ... here.
69505         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69507         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69508         shifting LEN more than 31 bits at once.
69510 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69512         [BZ #14195]
69513         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69514         segmentation fault for a case of two empty input strings.
69515         * string/test-strncasecmp.c (check1): Renamed to...
69516         (bz12205): ...this.
69517         (bz14195): Add new testcase for two empty input strings and N > 0.
69518         (test_main): Call new testcase, adapt for renamed function.
69520 2012-08-15  Andreas Jaeger  <aj@suse.de>
69522         [BZ #14090]
69523         * crypt/md5test2.c: New test, based on test supplied by Serge
69524         Belyshev <belyshev@depni.sinp.msu.ru>.
69525         * crypt/Makefile (xtests): Add md5test-giant..
69526         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69528 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69530         [BZ #14090]
69531         * crypt/md5.c (md5_process_block): Don't assume the buffer
69532         length is less than 2**32.
69533         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69534         length is less than 2**64.
69536 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69538         * string/str-two-way.h: Include <sys/param.h>.
69539         (MAX): Macro removed.
69541         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69542         Move #define and #undef of memmove to just before and after
69543         including <string.h>.
69545         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69546         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69547         and after including <string.h>.  Move declarations of
69548         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69549         to before #include "string/memmove.c".
69551         * include/dirent.h: Declare __getdirentries.
69553         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69554         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69556 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69558         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69559         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69560         * sysdeps/i386/configure: Regenerated.
69561         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69562         STABS_CURRENT_FILE, and STABS_FUN.
69563         (END): Remove call to STABS_FUN_END.
69564         (STABS_CURRENT_FILE1): Delete.
69565         (STABS_CURRENT_FILE): Likewise.
69566         (STABS_FUN): Likewise.
69567         (STABS_FUN_END): Likewise.
69568         (STABS_FUN2): Likewise.
69569         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69570         * sysdeps/x86_64/configure: Regenerated.
69572 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69574         * elf/dl-open.c: Include <atomic.h>.
69575         * elf/dl-lookup.c: Likewise.
69577 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69579         * sysdeps/unix/sysv/linux/kernel-features.h
69580         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69581         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69582         unconditionally.
69583         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69584         unconditionally.
69585         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69586         condition on __ASSUME_CLONE_THREAD_FLAGS.
69588 2012-08-14  Andreas Jaeger  <aj@suse.de>
69590         * sysdeps/i386/fpu/libm-test-ulps: Update.
69592 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69594         * include/atomic.h (atomic_exchange_and_add): Split into ...
69595         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69596         New atomic macros.
69598 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69602 2012-08-13  Jeff Law <law@redhat.com>
69604         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69605         null byte in the output string.
69607 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69609         * sysdeps/unix/sysv/linux/kernel-features.h
69610         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69611         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69612         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69613         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69614         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69615         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69616         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69618 2012-08-09  Jeff Law <law@redhat.com>
69620         [BZ #13939]
69621         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69622         When avoid_arena is set, don't retry in the that arena.  Pick the
69623         next one, whatever it might be.
69624         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69625         (arena_lock): Pass in new parameter to arena_get2.
69626         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69627         arena_get2.
69628         (__libc_malloc): Unify retrying after main arena failure with
69629         __libc_memalign version.
69630         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69632 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69634         [BZ #14166]
69635         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69636         to __redirect_strstr.
69637         (__strstr_sse42): Use typeof __redirect_strstr.
69638         (__strstr_ia32): Likewise.
69639         (__libc_strstr): New prototype.
69640         (strstr): Renamed to ...
69641         (__libc_strstr): This.
69642         (strstr): New strong alias of __libc_strstr.
69643         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69644         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69645         __redirect_time.
69646         Include <time.h>.
69647         (__libc_time): New prototype.
69648         (time_ifunc): Replace time with __libc_time.
69649         (time): New strong alias and hidden definition of __libc_time.
69650         (__GI_time): Remove strong alias.
69651         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69652         Include <stddef.h>.
69653         (memmove): Redefined to __redirect_memmove.
69654         (__memmove_sse2): Use typeof __redirect_memmove.
69655         (__memmove_ssse3): Likewise.
69656         (__memmove_ssse3_back): Likewise.
69657         (__libc_memmove): New prototype.
69658         (memmove): Renamed to ...
69659         (__libc_memmove): This.
69660         (memmove): New strong alias of __libc_memmove.
69662 2012-08-08  Mark Salter  <msalter@redhat.com>
69664         * elf/elf.h
69665         (R_MN10300_TLS_GD): Define.
69666         (R_MN10300_TLS_LD): Likewise.
69667         (R_MN10300_TLS_LDO): Likewise.
69668         (R_MN10300_TLS_GOTIE): Likewise.
69669         (R_MN10300_TLS_IE): Likewise.
69670         (R_MN10300_TLS_LE): Likewise.
69671         (R_MN10300_TLS_DTPMOD): Likewise.
69672         (R_MN10300_TLS_DTPOFF): Likewise.
69673         (R_MN10300_TLS_TPOFF): Likewise.
69674         (R_MN10300_SYM_DIFF): Likewise.
69675         (R_MN10300_ALIGN): Likewise.
69676         (R_MN10300_NUM): Update.
69678 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69681         Remove.
69683 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69685         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69687         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69688         sysdeps/unix -> sysdeps/posix move.
69689         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69691 2012-08-07      Allan McRae     <allan@archlinux.org>
69693         [BZ #14303]
69694         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69695         (SUNOS_CPP): Likewise.
69696         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69697         not found.
69698         (open_input): Call CPP using execvp.
69700 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69702         * sysdeps/unix/sysv/linux/kernel-features.h
69703         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69704         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69705         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69706         (__ASSUME_WAITID_SYSCALL): Likewise.
69707         * sysdeps/unix/sysv/linux/dl-execstack.c
69708         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69709         code unconditional.
69710         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69711         conditional code.
69712         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69713         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69714         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69715         code.
69716         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69717         unconditional.
69718         [__ASSUME_WAITID_SYSCALL]: Likewise.
69719         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69721 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69723         * sysdeps/unix/closedir.c: Renamed to ...
69724         * sysdeps/posix/closedir.c: ... here.
69725         * sysdeps/unix/dirfd.c: Renamed to ...
69726         * sysdeps/posix/dirfd.c: ... here.
69727         * sysdeps/unix/dirstream.h: Renamed to ...
69728         * sysdeps/posix/dirstream.h: ... here.
69729         * sysdeps/unix/fdopendir.c: Renamed to ...
69730         * sysdeps/posix/fdopendir.c: ... here.
69731         * sysdeps/unix/opendir.c: Renamed to ...
69732         * sysdeps/posix/opendir.c: ... here.
69733         * sysdeps/unix/readdir.c: Renamed to ...
69734         * sysdeps/posix/readdir.c: ... here.
69735         * sysdeps/unix/readdir_r.c: Renamed to ...
69736         * sysdeps/posix/readdir_r.c: ... here.
69737         * sysdeps/unix/rewinddir.c: Renamed to ...
69738         * sysdeps/posix/rewinddir.c: ... here.
69739         * sysdeps/unix/seekdir.c: Renamed to ...
69740         * sysdeps/posix/seekdir.c: ... here.
69741         * sysdeps/unix/telldir.c: Renamed to ...
69742         * sysdeps/posix/telldir.c: ... here.
69743         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69744         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69745         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69746         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69748         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69749         * bits/fcntl.h: ... here.
69751         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69752         not 0.
69753         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69754         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69755         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69756         (struct flock): Move l_start, l_len to the beginning.
69757         Use __pid_t for l_pid.
69758         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69759         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69760         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69761         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69762         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69763         [__USE_LARGEFILE64] (struct flock64): New type.
69764         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69766         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69767         * bits/dirent.h: ... here.
69769         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69770         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69772 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69774         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69775         Change from 2.6.0 to 2.6.16.
69776         * sysdeps/unix/sysv/linux/configure: Regenerated.
69777         * sysdeps/unix/sysv/linux/kernel-features.h
69778         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69779         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69780         version.
69781         (__ASSUME_UTIMES): Likewise.
69782         (__ASSUME_CLONE_STOPPED): Remove.
69783         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69784         architectures, not kernel version.
69785         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69786         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69787         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69788         (__ASSUME_WAITID_SYSCALL): Likewise.
69789         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69790         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69791         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69792         refer to older versions.
69794 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69796         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69797         Define alphasort64 as an alias.
69798         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69799         Define versionsort64 as an alias.
69800         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69801         Define scandir64 as an alias.
69802         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69803         Define scandirat64 as an alias.
69804         * dirent/alphasort64.c (alphasort64):
69805         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69806         * dirent/versionsort64.c: Likewise.
69807         * dirent/scandir64.c: Likewise.
69808         * dirent/scandirat64.c: Likewise.
69809         * sysdeps/wordsize-64/alphasort.c: File removed.
69810         * sysdeps/wordsize-64/alphasort64.c: File removed.
69811         * sysdeps/wordsize-64/scandir.c: File removed.
69812         * sysdeps/wordsize-64/scandir64.c: File removed.
69813         * sysdeps/wordsize-64/scandirat.c: File removed.
69814         * sysdeps/wordsize-64/scandirat64.c: File removed.
69815         * sysdeps/wordsize-64/versionsort.c: File removed.
69816         * sysdeps/wordsize-64/versionsort64.c: File removed.
69817         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69818         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69819         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69820         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69821         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69822         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69823         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69826         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69828         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69830         [defined __arch64__ || defined __sparcv9]
69831         (__INO_T_MATCHES_INO64_T): New macro.
69832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69833         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69834         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69835         * sysdeps/unix/sysv/linux/bits/dirent.h
69836         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69837         (_DIRENT_MATCHES_DIRENT64): New macro.
69839         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69840         Define lockf64 as an alias.
69841         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69842         Define fseeko64 as an alias.
69843         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69844         Define ftello64 as an alias.
69845         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69846         Define _IO_fgetpos64 and fgetpos64 as aliases.
69847         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69848         Define _IO_fsetpos64 and fsetpos64 as aliases.
69849         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69850         Conditionalize body on this.
69851         * libio/fseeko64.c: Likewise.
69852         * libio/ftello64.c: Likewise.
69853         * libio/iofgetpos64.c: Likewise.
69854         * libio/iofsetpos64.c: Likewise.
69855         * sysdeps/wordsize-64/lockf.c: File removed.
69856         * sysdeps/wordsize-64/lockf64.c: File removed.
69857         * sysdeps/wordsize-64/fseeko.c: File removed.
69858         * sysdeps/wordsize-64/fseeko64.c: File removed.
69859         * sysdeps/wordsize-64/ftello.c: File removed.
69860         * sysdeps/wordsize-64/ftello64.c: File removed.
69861         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69862         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69863         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69864         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69865         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69866         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69867         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69869         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69871         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69872         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69873         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69874         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69876         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69878         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69880         [defined __arch64__ || defined __sparcv9]
69881         (__OFF_T_MATCHES_OFF64_T): New macro.
69882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69883         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69884         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69885         (__OFF_T_MATCHES_OFF64_T): New macro.
69887 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69889         * stdlib/secure-getenv.c (__secure_getenv): Replace
69890         GLIBC_2_16 with GLIBC_2_17.
69892 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69894         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69897 2012-08-03  David S. Miller  <davem@davemloft.net>
69899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69901 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69904         Remove.
69905         (__ASSUME_CORRECT_SI_PID): Likewise.
69906         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69907         (__ASSUME_TMPFS_NAME): Likewise.
69908         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69909         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69910         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69911         (HAVE_AUX_SECURE): Make definition unconditional.
69912         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69913         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69915 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69917         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69918         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69919         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69920         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69921         __eloop_threshold instead of SYMLOOP_MAX.
69923         * sysdeps/generic/eloop-threshold.h: New file.
69924         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69925         of MAXSYMLINKS.
69926         * elf/chroot_canon.c (chroot_canon): Likewise.
69928 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69930         [BZ #13717]
69931         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69932         Change to 2.6.0 everywhere.
69933         * sysdeps/unix/sysv/linux/configure: Regenerated.
69934         * sysdeps/unix/sysv/linux/kernel-features.h
69935         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69936         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69937         kernel versions.
69938         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69939         (__ASSUME_FUTEX_REQUEUE): Remove.
69940         (__ASSUME_STATFS64): Define unconditionally.
69941         (__ASSUME_AT_SECURE): Likewise.
69942         (__ASSUME_CORRECT_SI_PID): Likewise.
69943         (__ASSUME_TGKILL): Define without depending on kernel version for
69944         i386.
69945         (__ASSUME_UTIMES): Likewise.
69946         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69947         kernel version.
69948         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69949         (__ASSUME_TMPFS_NAME): Likewise.
69950         * README: Update reference to Linux kernel versions.
69952 2012-08-02  Marek Polacek  <polacek@redhat.com>
69954         [BZ# 14150]
69955         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69956         libc_cv_asm_type_prefix with %.
69957         * configure: Regenerated.
69958         * include/libc-symbols.h: Remove comment about
69959         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69960         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69961         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69962         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69963         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69964         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69965         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69966         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69967         * elf/tst-unique2mod1.c: Likewise.
69968         * elf/tst-unique1mod2.c: Likewise.
69969         * elf/tst-unique1mod1.c: Likewise.
69970         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69971         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69972         Replace ASM_TYPE_DIRECTIVE with .type.
69973         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69974         * sysdeps/i386/sysdep.h: Likewise.
69975         * sysdeps/x86_64/sysdep.h: Likewise.
69976         * sysdeps/sh/sysdep.h: Likewise.
69977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69978         Do not define ASM_TYPE_DIRECTIVE.
69979         * sysdeps/powerpc/sysdep.h: Likewise.
69980         * sysdeps/powerpc/powerpc32/sysdep.h:
69981         Replace ASM_TYPE_DIRECTIVE with .type.
69982         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69983         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69984         * sysdeps/i386/fpu/e_powf.S: Likewise.
69985         * sysdeps/i386/fpu/e_expl.S: Likewise.
69986         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69987         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69988         * sysdeps/i386/fpu/e_pow.S: Likewise.
69989         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69990         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69991         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69992         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69993         * sysdeps/i386/fpu/e_log2.S: Likewise.
69994         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69995         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69996         * sysdeps/i386/fpu/e_powl.S: Likewise.
69997         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69998         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69999         * sysdeps/i386/fpu/e_logl.S: Likewise.
70000         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70001         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70002         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70003         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70004         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70005         * sysdeps/i386/fpu/e_log.S: Likewise.
70006         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70007         * sysdeps/i386/fpu/e_logf.S: Likewise.
70008         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70009         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70010         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70011         * sysdeps/i386/fpu/e_log10.S: Likewise.
70012         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70013         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70014         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70015         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70016         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70017         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70018         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70019         * sysdeps/i386/i686/strtok.S: Likewise.
70020         * sysdeps/i386/i386-mcount.S: Likewise.
70021         * sysdeps/i386/strtok.S: Likewise.
70022         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70023         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70024         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70025         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70026         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70027         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70028         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70029         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70030         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70031         * sysdeps/x86_64/_mcount.S: Likewise.
70032         * sysdeps/x86_64/strtok.S: Likewise.
70033         * sysdeps/sh/_mcount.S: Likewise.
70035 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70037         * libio/iofopen.c: Include <fcntl.h>.
70038         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70039         (_IO_fopen64, fopen64): Define as aliases.
70040         * libio/iofopen64.c: Include <fcntl.h>.
70041         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70042         Conditionalize body on this.
70043         * sysdeps/wordsize-64/iofopen.c: File removed.
70044         * sysdeps/wordsize-64/iofopen64.c: File removed.
70046 2012-08-01  Marek Polacek  <polacek@redhat.com>
70048         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70049         Use dlfcn directly instead of a variable.
70050         (binfmt-subdir): Do not define.
70051         (dlfcn): Likewise.
70053 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70056         Remove all definitions.
70057         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70058         <kernel-features.h>.
70059         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70060         (miss_F_GETOWN_EX): Remove all definitions.
70061         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70062         macro definition.
70063         [!__ASSUME_FCNTL64]: Remove conditional code.
70064         [__ASSUME_FCNTL64]: Make code unconditional.
70065         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70066         <kernel-features.h>.
70067         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70068         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70069         (lockf64) [__NR_fcntl64]: Make code unconditional.
70070         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70072         * sysdeps/unix/sysv/linux/kernel-features.h
70073         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70074         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70075         Make code unconditional.
70076         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70077         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70079         [__NR_vfork]: Make code unconditional.
70080         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70081         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70083         [__NR_vfork]: Make code unconditional.
70084         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70085         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70087 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70089         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70090         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70092         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70093         Define mkstemp64 as an alias.
70094         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70095         Define mkstemps64 as an alias.
70096         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70097         Define mkostemp64 as an alias.
70098         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70099         Define mkostemps64 as an alias.
70100         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70101         Conditionalize body on this.
70102         * misc/mkostemp64.c: Likewise.
70103         * misc/mkostemps64.c: Likewise.
70104         * misc/mkstemps64.c: Likewise.
70105         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70106         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70107         * sysdeps/wordsize-64/mkostemp.c: File removed.
70108         * sysdeps/wordsize-64/mkstemp.c: File removed.
70109         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70110         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70111         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70112         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70114         [BZ #14138]
70115         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70116         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70117         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70118         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70120         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70121         compat_symbol macros from <shlib-compat.h> rather than the underlying
70122         default_symbol_version and symbol_version macros, so that DEFAULT
70123         lines in shlib-versions are respected.
70124         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70126 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70128         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70129         Declare with warn_unused_result.
70130         (setgid, setregid, setegid, setresgid): Likewise.
70131         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70132         Likewise.
70133         * WUR-REPORT: Remove set*id functions.
70135 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70137         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70139 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70141         [BZ #10191]
70142         * include/sys/socket.h (__libc_accept, __libc_accept4):
70143         Add attribute_hidden.
70144         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70146         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70147         use of PTR_MANGLE.
70148         * inet/getnetgrent_r.c (setup): Likewise.
70150         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70152 2012-07-31  David S. Miller  <davem@davemloft.net>
70154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70156 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70158         [BZ #13629]
70159         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70160         value between 1.0 and 2.0 and smaller part has absolute value less
70161         than 1.0.
70162         * math/s_clog10.c (__clog10): Likewise.
70163         * math/s_clog10f.c (__clog10f): Likewise.
70164         * math/s_clog10l.c (__clog10l): Likewise.
70165         * math/s_clogf.c (__clogf): Likewise.
70166         * math/s_clogl.c (__clogl): Likewise.
70167         * math/libm-test.inc (clog_test): Add more tests.
70168         (clog10_test): Likewise.
70169         * sysdeps/i386/fpu/libm-test-ulps: Update.
70170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70172 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70174         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70175         Exit with zero in case no suitable GID is found, and write a
70176         message to standard error.
70178 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70180         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70181         rather than to 1.
70182         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70183         (MAXPATHLEN): Removed.
70184         (NOGROUP, NODEV): New macros.
70185         (setbit, clrbit, isset, isclr): New macros.
70186         (howmany, roundup, powerof2): New macros.
70187         (DEV_BSIZE): New macro.
70189         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70190         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70192         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70193         definition on [!__NO_LONG_DOUBLE_MATH].
70195         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70196         PTR_MANGLE and PTR_DEMANGLE.
70198         * socket/accept4.c (accept4): Rename to __libc_accept4.
70199         Define accept4 as a weak alias.
70201         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70202         on [_DIRENT_HAVE_D_TYPE].
70203         * io/ftw.c (ftw_dir): Likewise.
70205         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70207         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70209         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70210         Use the BSD numbers rather than the arbitrary ones we had.
70211         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70212         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70213         (SIGXCPU, SIGXFSZ): New macros.
70214         (_NSIG): Now 32.
70216         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70217         initializer on [_LIBC_REENTRANT].
70219         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70220         definitions inside [_POSIX_MAPPED_FILES].
70222         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70224         * dirent/opendir.c: Include <fcntl.h>.
70226         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70227         (__libc_getspecific): Likewise.
70228         (__libc_key_create): Likewise.
70230         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70231         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70232         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70233         (tmpfile64): Define as alias.
70234         * sysdeps/wordsize-64/tmpfile.c: File removed.
70235         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70236         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70237         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70239         * stdio-common/vfscanf.c: Include <stdbool.h>.
70240         * nss/makedb.c: Likewise.
70241         * stdio-common/_i18n_number.h: Likewise.
70242         * argp/argp-help.c: Likewise.
70243         * posix/wordexp.c: Likewise.
70244         * sysdeps/posix/spawni.c: Likewise.
70245         * nss/nss_files/files-initgroups.c: Likewise.
70246         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70247         * nss/nss_files/files-initgroups.c: Likewise.
70248         * nss/nss_db/db-netgrp.c: Likewise.
70249         * nss/nss_db/db-initgroups.c: Likewise.
70250         * io/fchmodat.c: Include <sys/stat.h>.
70252         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70253         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70255         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70256         [HAVE_MMAP].
70258         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70259         Add multiple inclusion protection.
70261 2012-07-27  David S. Miller  <davem@davemloft.net>
70263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70265 2012-07-27  Gary Benson  <gbenson@redhat.com>
70267         [BZ #14298]
70268         * elf/rtld.c: Include <stap-probe.h>.
70269         (dl_main): Added static probes "init_start" and "init_complete".
70270         * elf/dl-load.c: Include <stap-probe.h>.
70271         (lose): Take new parameter "nsid".
70272         Added static probe "map_failed".
70273         (_dl_map_object_from_fd): Pass namespace id to lose.
70274         Added static probe "map_start".
70275         (open_verify): Pass namespace id to lose.
70276         * elf/dl-open.c: Include <stap-probe.h>.
70277         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70278         and "reloc_complete".
70279         * elf/dl-close.c: Include <stap-probe.h>.
70280         (_dl_close_worker): Added static probes "unmap_start" and
70281         "unmap_complete".
70282         * elf/rtld-debugger-interface.txt: New file documenting the above.
70284 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70286         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70287         rather than a string variable.
70288         * sunrpc/rpc_main.c (h_output): Likewise.
70289         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70291 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70293         * inet/check_native.c: New file.
70295 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70297         [BZ #13629]
70298         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70299         if larger part has absolute value 1.0.
70300         * math/s_clog10.c (__clog10): Likewise.
70301         * math/s_clog10f.c (__clog10f): Likewise.
70302         * math/s_clog10l.c (__clog10l): Likewise.
70303         * math/s_clogf.c (__clogf): Likewise.
70304         * math/s_clogl.c (__clogl): Likewise.
70305         * math/libm-test.inc (clog_test): Add more tests.
70306         (clog10_test): Likewise.
70307         * sysdeps/i386/fpu/libm-test-ulps: Update.
70308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70310         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70311         (pltexit): Likewise.
70312         (La_regs): Likewise.
70313         (La_retval): Likewise.
70314         (int_retval): Likewise.
70315         Update #error for removed macros to refer only to definitions in
70316         tst-audit.h.
70317         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70318         macro.
70319         (pltexit): Likewise.
70320         (La_regs): Likewise.
70321         (La_retval): Likewise.
70322         (int_retval): Likewise.
70323         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70324         macro.
70325         (pltexit): Likewise.
70326         (La_regs): Likewise.
70327         (La_retval): Likewise.
70328         (int_retval): Likewise.
70329         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70330         macro.
70331         (pltexit): Likewise.
70332         (La_regs): Likewise.
70333         (La_retval): Likewise.
70334         (int_retval): Likewise.
70335         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70336         macro.
70337         (pltexit): Likewise.
70338         (La_regs): Likewise.
70339         (La_retval): Likewise.
70340         (int_retval): Likewise.
70341         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70342         macro.
70343         (pltexit): Likewise.
70344         (La_regs): Likewise.
70345         (La_retval): Likewise.
70346         (int_retval): Likewise.
70347         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70348         macro.
70349         (pltexit): Likewise.
70350         (La_regs): Likewise.
70351         (La_retval): Likewise.
70352         (int_retval): Likewise.
70353         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70354         macro definitions in tst-audit.h.
70355         * sysdeps/i386/tst-audit.h: New file.
70356         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70357         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70358         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70359         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70360         * sysdeps/sh/tst-audit.h: Likewise.
70361         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70362         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70363         * sysdeps/x86_64/tst-audit.h: Likewise.
70365 2012-07-26  Andreas Jaeger  <aj@suse.de>
70367         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70368         ptrace.
70370         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70371         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70372         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70373         PTRACE_O_MASK.
70374         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70375         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70376         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70378         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70379         value.
70381         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70382         _sigsys.
70383         (si_call_addr, si_syscall, si_arch): Define new macro.
70384         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70385         _sigsys.
70386         (si_call_addr, si_syscall, si_arch): Define new marcro.
70387         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70388         _sigsys.
70389         (si_call_addr, si_syscall, si_arch): Define new macro.
70390         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70391         _sigsys.
70392         (si_call_addr, si_syscall, si_arch): Define new macro.
70394 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70396         [BZ #13717]
70397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70398         Change to 2.4.21 where previously 2.4.1.
70399         * sysdeps/unix/sysv/linux/configure: Regenerated.
70400         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70401         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70402         Linux kernel version.
70403         (__ASSUME_STD_AUXV): Remove.
70404         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70405         kernel version.
70406         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70407         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70408         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70409         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70410         (__ASSUME_NETLINK_SUPPORT): Likewise.
70411         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70412         (__no_netlink_support): Remove conditional definition.
70413         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70414         Remove.
70415         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70416         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70417         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70418         (if_nameindex_ioctl): Remove.
70419         (if_nameindex_netlink): Do not handle __no_netlink_support.
70420         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70421         code.
70422         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70423         Remove conditional code.
70424         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70425         code.
70426         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70427         unconditional.
70428         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70429         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70430         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70431         Remove.
70432         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70433         [!__ASSUME_STD_AUXV]: Remove conditional code.
70434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70435         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70436         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70438         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70439         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70440         code.
70441         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70443         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70444         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70445         conditional code.
70446         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70448         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70449         code.
70450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70451         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70452         conditional code.
70453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70454         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70455         code unconditional.
70456         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70457         conditional code.
70458         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70459         unconditional.
70460         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70461         conditional code.
70462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70463         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70464         unconditional.
70465         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70466         conditional code.
70467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70468         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70469         code unconditional.
70470         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70471         conditional code.
70472         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70473         unconditional.
70474         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70475         conditional code.
70476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70477         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70478         code unconditional.
70479         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70480         conditional code.
70481         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70482         unconditional.
70483         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70484         conditional code.
70486 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70488         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70489         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70490         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70491         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70492         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70493         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70494         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70495         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70496         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70497         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70498         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70499         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70500         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70501         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70502         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70503         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70504         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70505         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70506         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70508         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70509         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70510         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70512 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70514         * Versions.def: Add GLIBC_2.17.
70515         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70516         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70517         Introduce __libc_secure_getenv.
70518         * stdlib/Versions (2.17): Add secure_getenv
70519         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70520         * stdlib/secure-getenv.c: Rename __secure_getenv to
70521         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70522         symbol __secure_getenv for GLIBC_2.0.
70523         * stdlib/tst-secure-getenv.c: New.
70524         * stdlib/Makefile (tests): Add testcase.
70525         * manual/startup.texi (Environment Access): Document
70526         secure_getenv.
70527         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70528         __libc_secure_getenv.
70529         * inet/ruserpass.c (ruserpass): Likewise.
70530         * malloc/mtrace.c (mtrace): Likewise.
70531         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70532         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70533         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70534         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70535         HAVE_SECURE_GETENV.
70536         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70537         __secure_getenv to __libc_secure_getenv.
70538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70540         Likewise.
70541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70542         Likewise.
70543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70545         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70551 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70553         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70554         (struct La_i86_retval): Likewise.
70555         (struct La_x86_64_regs): Likewise.
70556         (struct La_x86_64_retval): Likewise.
70557         (struct La_x32_regs): Likewise.
70558         (struct La_x32_retval): Likewise.
70559         (struct La_ppc32_regs): Likewise.
70560         (struct La_ppc32_retval): Likewise.
70561         (struct La_ppc64_regs): Likewise.
70562         (struct La_ppc64_retval): Likewise.
70563         (struct La_sh_regs): Likewise.
70564         (struct La_sh_retval): Likewise.
70565         (struct La_s390_32_regs): Likewise.
70566         (struct La_s390_32_retval): Likewise.
70567         (struct La_s390_64_regs): Likewise.
70568         (struct La_s390_64_retval): Likewise.
70569         (struct La_sparc32_regs): Likewise.
70570         (struct La_sparc32_retval): Likewise.
70571         (struct La_sparc64_regs): Likewise.
70572         (struct La_sparc64_retval): Likewise.
70573         (struct audit_ifaces): Remove architecture-specific pltenter and
70574         pltexit members.
70575         * sysdeps/i386/ldsodefs.h: New file.
70576         * sysdeps/powerpc/ldsodefs.h: Likewise.
70577         * sysdeps/s390/ldsodefs.h: Likewise.
70578         * sysdeps/sh/ldsodefs.h: Likewise.
70579         * sysdeps/sparc/ldsodefs.h: Likewise.
70580         * sysdeps/x86_64/ldsodefs.h: Likewise.
70582 2012-07-25  Marek Polacek  <polacek@redhat.com>
70584         [BZ #6808]
70585         * math/libm-test.inc (yn_test): Add another test.
70586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70587         to ERANGE when the result is +-Inf.
70588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70589         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70590         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70591         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70593 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70595         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70596         equal to 0.
70597         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70598         clock_t.
70599         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70601 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70603         * configure.in <sysdeps resolving>: Correct printing
70604         Implies_before.
70605         * configure: Regenerate.
70607 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70609         * math/w_ilogb.c: Include <limits.h>.
70610         * math/w_ilogbl.c: Likewise.
70612 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70614         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70615         va_copy.  Document allowing for unavailable va_copy only as
70616         pre-C99 compatibility.
70617         * manual/string.texi (Copying and Concatenation): Use va_copy
70618         instead of __va_copy in concat example.
70620 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70622         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70623         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70624         it if not null.
70626         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70627         with O_NOLINK passed to __file_name_lookup.
70629         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70630         with O_NOLINK passed to __file_name_lookup.
70632         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70633         negative N or less than NGIDS.
70635         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70636         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70637         enough.  Use memcpy instead of strncpy.
70639 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70641         * elf/Makefile (check-data): Remove.
70642         (localplt.data): New vpath directive.
70643         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70644         instead of $(check-data).
70645         * scripts/data/localplt-generic.data: Move to ...
70646         * sysdeps/generic/localplt.data: ... here.
70647         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70648         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70649         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70651         ... here.
70652         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70654         ... here.
70655         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70657         ... here.
70658         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70660         ... here.
70661         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70663         ... here.
70664         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70666         ... here.
70668 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70670         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70671         PPC32 and PPC64 files.
70672         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70673         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70675 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70677         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70678         __makecontext_ret to ...
70679         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70680         ... here and call exit if uc_link is NULL.  New file.
70681         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70682         __makecontext_ret.S.
70683         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70684         __makecontext_ret to ...
70685         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70686         ... here and call exit if uc_link is NULL.  New file.
70687         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70688         __makecontext_ret.S.
70690 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70692         * elf/elf.h (R_390_IRELATIVE): New definition.
70693         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70694         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70695         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70696         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70697         (elf_machine_lazy_rel): Likewise.
70698         * sysdeps/s390/dl-irel.h: New file.
70699         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70700         * sysdeps/s390/s390-64/memset.S: New asm code.
70701         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70702         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70703         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70704         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70705         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70706         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70708         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70709         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70710         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70711         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70712         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70713         * sysdeps/s390/s390-32/memset.S: New asm code.
70714         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70716 2012-07-17  Marek Polacek  <polacek@redhat.com>
70718         [BZ #14349]
70719         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70720         * sysdeps/s390/s390-64/configure.in: Likewise.
70721         * sysdeps/sparc/configure.in: Likewise.
70722         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70723         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70724         * sysdeps/i386/configure.in: Likewise.
70725         * sysdeps/x86_64/configure.in: Likewise.
70726         * sysdeps/sh/configure.in: Likewise.
70727         * sysdeps/s390/s390-32/configure: Regenerated.
70728         * sysdeps/s390/s390-64/configure: Likewise.
70729         * sysdeps/x86_64/configure: Likewise.
70730         * sysdeps/sh/configure: Likewise.
70731         * sysdeps/powerpc/powerpc64/configure: Likewise.
70732         * sysdeps/powerpc/powerpc32/configure: Likewise.
70733         * sysdeps/sparc/configure: Likewise.
70734         * sysdeps/i386/configure: Likewise.
70736         * elf/dl-open.c: Comment fixes.
70738 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70740         * Makefile [CXX] (check-data): Remove.
70741         [CXX] (c++-types.data): New vpath directive.
70742         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70743         vpath.  Do not allow for C++ type data being missing.
70744         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70745         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70746         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70747         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70748         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70749         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70750         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70752         ... here.
70753         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70755         ... here.
70756         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70758         ... here.
70759         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70761         ... here.
70762         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70764         ... here.
70765         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70767         ... here.
70768         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70770         ... here.
70771         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70774         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70775         definitions to architecture-specific files.
70776         (TLS_IE): Likewise.
70777         (TLS_LD): Likewise.
70778         (TLS_GD): Likewise.
70779         * sysdeps/i386/tls-macros.h: New file.
70780         * sysdeps/powerpc/tls-macros.h: Likewise.
70781         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70782         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70783         * sysdeps/sh/tls-macros.h: Likewise.
70784         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70785         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70786         * sysdeps/x86_64/tls-macros.h: Likewise.
70788 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70790         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70791         zero value for regular exit case.
70793         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70794         (__start_context): Preserve zero value for regular exit case.
70796 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70797             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70799         * manual/setjmp.texi (setcontext): Clarify normal process
70800         termination when uc_link is the null pointer.
70801         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70802         exit call.
70804 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70806         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70807         preprocessor.  Test for each exception mask separately.
70809 2012-07-16  Andreas Jaeger  <aj@suse.de>
70811         * po/ru.po: Update from translation team.
70813 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70815         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70816         equal to 0.
70817         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70818         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70819         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70820         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70821         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70823 2012-07-13  Andreas Jaeger  <aj@suse.de>
70825         * po/fr.po: Update from translation team.
70827 2012-07-12  Marek Polacek  <polacek@redhat.com>
70829         [BZ #14173]
70830         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70831         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70832         loop condition.
70834 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70836         [BZ #13717]
70837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70838         Change to 2.4.1 where previously 2.4.0.
70839         * sysdeps/unix/sysv/linux/configure: Regenerated.
70840         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70841         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70842         version.
70843         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70844         (__ASSUME_AT_CLKTCK): Remove.
70845         (__ASSUME_AT_PAGESIZE): Likewise.
70846         (__ASSUME_AT_XID): Likewise.
70847         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70848         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70849         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70850         unconditionally.
70851         (HAVE_AUX_PAGESIZE): Likewise.
70852         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70853         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70854         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70856 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70858         [BZ #14307]
70859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70860         the temporary buffer used to invoke __gethostbyname2_r,
70861         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70862         host_data / struct gaih_addrtuple.
70863         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70864         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70865         header file nss/nsswitch.h.
70866         * nss/nsswitch.h (global scope): Add definition of implementation
70867         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70868         resolv/nss_dns/dns-host.c).
70870 2012-07-11  Andreas Jaeger  <aj@suse.de>
70872         * po/fr.po: Update from translation team.
70874         * po/sv.po: Update from translation team
70875         * po/fr.po: Another update from translation team.
70877 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70879         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70880         for subnormals or multiply small sinh result by itself.
70881         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70884 2012-07-11  David S. Miller  <davem@davemloft.net>
70886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70888 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70890         [BZ #14347]
70891         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70892         (INTERNAL_MARK): Shift it here.
70894 2012-07-10  Marek Polacek  <polacek@redhat.com>
70896         [BZ #14151]
70897         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70898         libc_cv_asm_global_directive with .globl.
70899         * configure: Regenerated.
70900         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70901         with .globl.
70902         * sysdeps/i386/configure: Regenerated.
70903         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70904         with .globl.
70905         * sysdeps/x86_64/configure: Regenerated.
70906         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70907         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70908         * elf/tst-unique2mod2.c: Likewise.
70909         * elf/tst-unique2mod1.c: Likewise.
70910         * elf/tst-unique1mod2.c: Likewise.
70911         * elf/tst-unique1mod1.c: Likewise.
70912         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70913         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70914         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70915         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70916         * sysdeps/mach/sysdep.h: Likewise.
70917         * sysdeps/i386/sysdep.h: Likewise.
70918         * sysdeps/i386/i386-mcount.S: Likewise.
70919         * sysdeps/x86_64/_mcount.S: Likewise.
70920         * sysdeps/x86_64/sysdep.h: Likewise.
70921         * sysdeps/sh/_mcount.S: Likewise.
70922         * sysdeps/sh/sysdep.h: Likewise.
70923         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70924         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70925         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70926         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70927         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70928         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70929         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70930         * locale/localeinfo.h: Likewise.
70931         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70932         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70934 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70936         [BZ #14336]
70937         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70938         system".
70939         * manual/message.texi (The Uniforum approach): Likewise.
70940         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70941         (glibc iconv Implementation): Likewise.
70943 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70945         [BZ #14337]
70946         * math/s_clog.c (__clog): Avoid scaling a value down where that
70947         could result in underflow.
70948         * math/s_clog10.c (__clog10): Likewise.
70949         * math/s_clog10f.c (__clog10f): Likewise.
70950         * math/s_clog10l.c (__clog10l): Likewise.
70951         * math/s_clogf.c (__clogf): Likewise.
70952         * math/s_clogl.c (__clogl): Likewise.
70953         * math/libm-test.inc (clog_test): Add more tests.
70954         (clog10_test): Likewise.
70955         * sysdeps/i386/fpu/libm-test-ulps: Update.
70956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70958 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70960         [BZ #14283]
70961         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70962         by 7 not 8 to examine high bit of fractional part.
70964         [BZ #14042]
70965         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70966         for call to __mcount_internal.
70967         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70968         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70969         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70971 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70973         [BZ #14154]
70974         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70975         approximation for values within 0x1p-13f of an odd multiple of
70976         pi/4.
70977         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70978         exception.  Add more tests.
70979         * sysdeps/i386/fpu/libm-test-ulps: Update.
70981         [BZ #6778]
70982         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70983         inputs and return -1 for them.  Do not check for +Inf in case not
70984         reachable for +Inf.
70985         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70986         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70987         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70988         and return -1 for them.  Do not check for +Inf in case not
70989         reachable for +Inf.
70990         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70991         define.
70992         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70993         and return -1 for them.  Do not check for +Inf in case not
70994         reachable for +Inf.
70995         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70996         spurious underflow.
70997         * sysdeps/i386/fpu/libm-test-ulps: Update.
70998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71000 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71002         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71004 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71006         [BZ #14157]
71007         [BZ #14331]
71008         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71009         could result in spurious underflow.  Scale down values above
71010         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71011         * math/s_csqrtf.c (__csqrtf): Likewise.
71012         * math/s_csqrtl.c (__csqrtl): Likewise.
71013         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71014         spurious underflow.
71015         * sysdeps/i386/fpu/libm-test-ulps: Update.
71016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71018 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71020         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71021         xopen-msg.sed.
71022         * catgets/xopen-msg.awk: New file.
71023         * catgets/xopen-msg.sed: Removed.
71025         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71026         po2text.sed.
71027         * intl/po2test.awk: New file.
71028         * intl/po2test.sed: Removed.
71030 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71032         [BZ #14328]
71033         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71034         or multiply small sinh result by itself.
71035         * math/s_ctanf.c (__ctanf): Likewise.
71036         * math/s_ctanh.c (__ctanh): Likewise.
71037         * math/s_ctanhf.c (__ctanhf): Likewise.
71038         * math/s_ctanhl.c (__ctanhl): Likewise.
71039         * math/s_ctanl.c (__ctanl): Likewise.
71040         * math/libm-test.inc (ctan_test_tonearest): New function.
71041         (ctan_test_towardzero): Likewise.
71042         (ctan_test_downward): Likewise.
71043         (ctan_test_upward): Likewise.
71044         (ctanh_test_tonearest): Likewise.
71045         (ctanh_test_towardzero): Likewise.
71046         (ctanh_test_downward): Likewise.
71047         (ctanh_test_upward): Likewise.
71048         (main): Call these new functions.
71049         * sysdeps/i386/fpu/libm-test-ulps: Update.
71050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71052 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71054         * .gitignore: Delete /ports entry.
71056 2012-07-03  Andreas Jaeger  <aj@suse.de>
71058         * po/bg.po: Update from translation team.
71059         * po/cs.po: Likewise.
71060         * po/de.po: Likewise.
71061         * po/hr.po: Likewise.
71062         * po/nl.pl: Likewise.
71063         * po/pl.po: Likewise.
71064         * po/vi.po: Likewise.
71066 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71068         * Makeconfig [!+link] (+link-before-libc): New variable.
71069         [!+link] (+link-after-libc): Likewise.
71070         [!+link] (+link-tests): Likewise.
71071         [!+link] (+link): Define in terms of $(+link-before-libc) and
71072         $(+link-after-libc).
71073         [!+link-static] (+link-static-before-libc): New variable.
71074         [!+link-static] (+link-static-after-libc): Likewise.
71075         [!+link-static] (+link-static-tests): Likewise.
71076         [!+link-static] (+link-static): Define in terms of
71077         $(+link-static-before-libc) and $(+link-static-after-libc).
71078         [build-shared] (link-libc-before-gnulib): New variable.
71079         [build-shared] (link-libc-tests): Likewise.
71080         [build-shared] (link-libc): Define in terms of
71081         $(link-libc-before-gnulib).
71082         [!build-shared] (link-libc-tests): New variable.
71083         (link-libc-static-tests): New variable.
71084         [!gnulib] (gnulib-arch): New variable.
71085         [!gnulib] (gnulib-tests): Likewise.
71086         [!gnulib] (static-gnulib-arch): Likewise.
71087         [!gnulib] (static-gnulib-tests): Likewise.
71088         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71089         Define with "=" instead of ":=".
71090         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71091         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71092         * Rules (binaries-all-notests): New variable.
71093         (binaries-all-tests): Likewise.
71094         (binaries-static-notests): Likewise.
71095         (binaries-static-tests): Likewise.
71096         (binaries-all): Define using $(binaries-all-notests) and
71097         $(binaries-all-tests).
71098         (binaries-static): Define using $(binaries-static-notests) and
71099         $(binaries-static-tests).
71100         (binaries-shared-tests): New variable.
71101         (binaries-shared-notests): Likewise.
71102         (binaries-shared): Remove variable.
71103         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71104         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71105         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71106         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71107         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71108         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71109         * elf/Makefile (sln-modules): New variable.
71110         (extra-objs): Add $(sln-modules:=.o).
71111         (ldconfig-modules): Add static-stubs.
71112         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71113         * elf/static-stubs.c: New file.
71115         [BZ #14283]
71116         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71117         by 7 not 8 to examine high bit of fractional part.  Use volatile
71118         variables when splitting into final array of floats if
71119         __FLT_EVAL_METHOD__ != 0.
71120         * math/libm-test.inc (cos_test): Add another test.
71121         (sin_test): Likewise.
71122         * sysdeps/i386/fpu/libm-test-ulps: Update.
71124         [BZ #14273]
71125         * math/libm-test.inc (cosh_test): Add more tests.
71127         * version.h (RELEASE): Set to "development".
71128         (VERSION): Set to "2.16.90".
71130 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71132         * NEWS: Update copyright. Remove last-updated date.
71133         Mention math library bug fixes and timezone data changes.
71134         * README: Mention GNU/Hurd, x32, and HPPA support status.
71136 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71138         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71140 2012-06-27  Andreas Jaeger  <aj@suse.de>
71142         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71144 2012-06-25  Andreas Jaeger  <aj@suse.de>
71146         * sysdeps/s390/fpu/libm-test-ulps: Update.
71148 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71149             Thomas Schwinge  <thomas@codesourcery.com>
71151         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71152         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71154         fanotify_mark.
71156 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71158         * sysdeps/mach/start.c: Remove file.
71159         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71160         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71161         * sysdeps/sh/init-first.c: Likewise.
71163         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71164         registers for frame unwinding purposes, add CFI directives.
71165         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71166         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71167         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71168         Likewise.
71170         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71171         __fortify_fail returning.
71172         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71174         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71175         sysdeps/sh/____longjmp_chk.S.
71176         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71177         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71178         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71179         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71181         * sysdeps/sh/abort-instr.h: New file.
71182         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71183         process in case exit returns.
71185         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71186         initialize the GOT register before use.
71188         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71189         calculation of ARGC > 4.
71191         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71192         meaningful names to some local labels.
71194 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71195             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71197         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71198         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71199         (__arch_compare_and_exchange_val_16_acq): Likewise.
71200         (__arch_compare_and_exchange_val_32_acq): Likewise.
71201         (atomic_exchange_and_add): Fix gUSA sequence.
71202         (atomic_add): Likewise.
71203         (atomic_add_negative): Likewise.
71204         (atomic_add_zero): Likewise.
71205         (atomic_bit_test_set): Likewise.
71207 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71209         [BZ #13579]
71210         * include/link.h (struct link_map): Add l_free_initfini.
71211         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71212         l_initfini.
71213         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71214         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71215         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71216         set.
71218 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71220         * configure.in: Use AC_LANG_SOURCE.
71221         * configure: Regenerate.
71223 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71225         * configure.in (libc_cv_localstatedir): New substituted variable.
71226         * configure: Regenerated.
71227         * config.make.in (localstatedir): New variable, substituted from
71228         libc_cv_localstatedir.
71229         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71230         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71231         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71232         * sysdeps/gnu/configure: Regenerated.
71234 2012-06-21  Jeff Law  <law@redhat.com>
71236         [BZ #14277]
71237         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71238         free.  Simplify list management for _LIBC case.
71240 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71242         [BZ #14273]
71243         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71244         Clear sign bit of 64-bit integer value before comparing against
71245         overflow value.
71247         * sysdeps/mach/configure: Regenerated.
71249 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71251         [BZ #14278]
71252         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71254 2012-06-21  Jeff Law  <law@redhat.com>
71256         [BZ #13882]
71257         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71258         uint16_t for elements in the "seen" array to avoid char overflows.
71259         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71260         * elf/dl-open.c (dl_open_worker): Likewise.
71262 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71264         * scripts/list-sources.sh: Scan PORTS for translations.
71265         * po/libc.pot: Regenerated.
71267 2012-06-21  Andreas Jaeger  <aj@suse.de>
71269         [BZ #12194]
71270         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71271         warning.
71272         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71273         * bits/byteswap-16.h (__bswap_16): Likewise.
71274         * bits/byteswap.h (__bswap_constant_16): Likewise.
71276 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71278         [BZ #14117]
71279         * sysdeps/i386/fpu_control.h: Removed.
71280         * sysdeps/x86_64/fpu_control.h: Moved to ...
71281         * sysdeps/x86/fpu_control.h: Here.
71283         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71284         (_FPU_SETCW): Likewise.
71286 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71288         [BZ #14117]
71289         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71290         * sysdeps/x86/fpu/bits/mathinline.h: This.
71291         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71293         [BZ #14050]
71294         [BZ #14117]
71295         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71296         functions if __x86_64__ is defined.
71298 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71300         * string/endian.h: Add !__ASSEMBLER__ condition for including
71301         conversion interfaces.
71303 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71305         [BZ #14241]
71306         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71307         of ABS(x) in calculating zero to negative powers other than odd
71308         integers.
71309         * math/libm-test.inc (pow_test): Add more tests.
71311 2012-06-15  Andreas Jaeger  <aj@suse.de>
71313         * manual/contrib.texi (Contributors): Update entry of Liubov
71314         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71315         Machado Filho.
71317 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71319         * string/string.h: Add __wur to GNU version of strerror_r.
71321 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71323         [BZ #14229]
71324         * string/Makefile (tests): Add tst-strtok_r.
71325         * string/tst-strtok_r.c: New file.
71326         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71327         RAX_LP/RDX_LP on SAVE_PTR.
71329 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71331         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71333 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71335         * libm_test.inc (csqrt_test): Allow more spurious underflow
71336         exceptions.
71337         (j0_test): Likewise.
71338         (j1_test): Likewise.
71339         (y0_test): Likewise.
71340         (y1_test): Likewise.
71342 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71344         * po/Makefile (libc.pot): Use UTF-8 charset.
71346 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71348         [BZ #14210]
71349         Suppress sign-conversion warning from FD_SET.
71350         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71351         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71352         not unsigned long int.
71353         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71355 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71357         [BZ #14050]
71358         [BZ #14117]
71359         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71360         __extern_always_inline instead of __extern_inline.
71361         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71362         (__signbit): Likewise.
71363         (__signbitl): Support C++ namespace.
71364         (lrintf): New inline function.
71365         (lrint): Likewise.
71366         (llrintf): Likewise.
71367         (llrint): Likewise.
71368         (fmaxf): Likewise.
71369         (fmax): Likewise.
71370         (fminf): Likewise.
71371         (fmin): Likewise.
71372         (rint): Likewise.
71373         (rintf): Likewise.
71374         (ceil): Likewise.
71375         (ceilf): Likewise.
71376         (floor): Likewise.
71377         (floorf): Likewise.
71378         (nearbyint): Likewise.
71379         (nearbyintf): Likewise.
71381 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71383         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71384         non-default versions.
71386 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71388         [BZ #14218]
71389         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71391 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71393         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71394         (FE_UPWARD, FE_DOWNWARD): Don't define.
71395         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71396         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71398         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71399         reading it.
71400         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71401         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71403 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71405         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71407         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71408         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71410 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71412         [BZ #14117]
71413         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71414         * sysdeps/i386/fpu/Implies: New file.
71415         * sysdeps/x86_64/fpu/Implies: Likewise.
71416         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71417         * sysdeps/x86/fpu/bits/fenv.h: This.
71419         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71420         __SSE_MATH__.
71422 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71424         [BZ #14134]
71425         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71426         character 0xffff that matches the last element of the
71427         conversion table.
71429 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71431         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71432         fmodl commit.
71434 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71437         values higher than 25.6283.
71439 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71441         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71442         subnormal exponent extraction and add some __builtin_expect.
71443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71444         Fix for subnormal mantissa calculation.
71446 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71448         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71449         cpu2 is -1 and errno is not ENOSYS.
71451 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71453         [BZ #14117]
71454         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71455         * sysdeps/x86/bits/string.h: This.
71456         * sysdeps/x86_64/bits/string.h: Removed.
71458         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71459         if not compiling for x86-64, but compiling for >= i486.
71461         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71462         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71464         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71465         New macro from Linux kernel 3.4.0.
71466         (FP_XSTATE_MAGIC2): Likewise.
71467         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71468         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71469         (struct _fpx_sw_bytes): New struct.
71470         (struct _xsave_hdr): Likewise.
71471         (struct _ymmh_state): Likewise.
71472         (struct _xstate): Likewise.
71474         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71475         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71476         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71477         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71478         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71479         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71481         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71482         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71483         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71484         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71485         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71486         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71488 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71490         [BZ #13743]
71491         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71492         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71493         (sysdep_headers): Include sys/platform/ppc.h.
71494         * sysdeps/powerpc/test-gettimebase.c: Test for
71495         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71496         * manual/Makefile (appendices): Include platform.texi.
71497         * manual/contrib.texi (Contributors): Update @node pointers.
71498         * manual/maint.texi (Maintenance): Likewise.
71499         (Platform): New node.
71500         * manual/platform.texi: New file.  Document the new features.
71502 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71503             Jakub Jelinek  <jakub@redhat.com>
71505         [BZ #14188]
71506         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71507         where __builtin_expect is unavailable.
71509 2012-06-03  David S. Miller  <davem@davemloft.net>
71511         * stdlib/longlong.h: Updated from GCC.
71513 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71515         [BZ #14042]
71516         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71517         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71518         __mcount_internal.
71519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71520         (GLIBC_2.16): Likewise.
71522 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71524         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71526 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71529         (default-abi): New variable.
71530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71531         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71532         variable.
71533         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71534         Likewise.
71535         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71536         Likewise.
71537         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71538         Likewise.
71540         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71541         definition.  Document in comment.
71543 2012-06-01  David S. Miller  <davem@davemloft.net>
71545         * stdlib/longlong.h: Updated from GCC.
71547 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71549         [BZ #14117]
71550         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71551         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71552         sys/debugreg.h sys/io.h here.
71553         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71554         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71555         sys/io.h.
71556         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71557         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71558         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71559         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71560         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71561         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71563         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71564         Define only if __x86_64__ is defined.
71566 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71568         [BZ #14048]
71569         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71570         Use int64_t for variable i.
71571         * math/libm-test.inc (fmod_test): Add more tests.
71573         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71574         z computation is not scheduled after fetestexcept.
71575         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71576         Use math_force_eval instead of asm to ensure calculation scheduled
71577         before exception test.
71578         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71579         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71581 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71584         computation is not scheduled after fetestexcept.
71586 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71588         [BZ #14117]
71589         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71590         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71592 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71594         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71595         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71597 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71599         [BZ #14117]
71600         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71601         <bits/wordsize.h>.
71602         (__WCHAR_MIN): Support __WORDSIZE == 64.
71603         (__WCHAR_MAX): Likewise.
71605         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71608         [BZ #14183]
71609         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71610         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71612         [BZ #14117]
71613         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71614         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71616         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71617         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71619         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71620         Defined to 1 if __x86_64__ isn't defined.
71621         (_STAT_VER_LINUX_OLD): New.
71622         (st_atime): Remove duplicate.
71623         (st_mtime): Likewise.
71624         (st_ctime): Likewise.
71626 2012-05-31  David S. Miller  <davem@davemloft.net>
71628         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71629         entries.
71631 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71633         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71634         gen-libm-test.pl.
71636         [BZ #14132]
71637         * elf/dl-reloc.c: Include <_itoa.h>.
71638         (_dl_reloc_bad_type): Remove use of INTUSE.
71639         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71640         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71641         * stdio-common/psiginfo.c (psiginfo): Likewise.
71642         * stdio-common/psignal.c (psignal): Likewise.
71643         * string/strsignal.c (strsignal): Likewise.
71644         * include/signal.h (_sys_siglist): Declare hidden proto.
71645         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71646         INTVARDEF with libc_hidden_data_def.
71647         * stdio-common/itoa-udigits.c: Likewise.
71648         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71649         (_itoa_lower_digits_internal): Remove declaration.
71650         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71651         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71652         (_sys_sigabbrev_internal): Remove aliases.
71653         (_sys_siglist): Define hidden alias.
71655 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71658         bits/sysctl.h.
71660 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71662         [BZ #14117]
71663         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71664         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71666         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71667         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71668         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71669         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71670         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71671         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71673         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71674         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71675         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71677         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71678         with __addr.
71679         (insw): Likewise.
71680         (insl): Likewise.
71681         (outsb): Likewise.
71682         (outsw): Likewise.
71683         (outsl): Likewise.
71685         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71686         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71687         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71689         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71690         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71691         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71692         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71693         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71694         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71696         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71697         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71699         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71700         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71702         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71703         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71704         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71706         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71707         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71708         to ...
71709         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71711         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71712         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71713         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71715         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71716         for x86-64.
71717         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71719 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71721         * math/math.h (M_El): Use two more decimal places.
71722         (M_LOG2El): Likewise.
71723         (M_LOG10El): Likewise.
71724         (M_LN2l): Likewise.
71725         (M_LN10l): Likewise.
71726         (M_PIl): Likewise.
71727         (M_PI_2l): Likewise.
71728         (M_PI_4l): Likewise.
71729         (M_1_PIl): Likewise.
71730         (M_2_PIl): Likewise.
71731         (M_2_SQRTPIl): Likewise.
71732         (M_SQRT2l): Likewise.
71733         (M_SQRT1_2l): Likewise.
71735 2012-05-31  David S. Miller  <davem@davemloft.net>
71737         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71738         values between float registers.
71739         * sysdeps/sparc/sparc64/memset.S: Likewise.
71740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71742 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71744         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71745         -D_FORTIFY_SOURCE=1.
71746         (CPPFLAGS-tst-longjmp_chk.c): Define.
71747         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71748         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71749         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71750         CFLAGS-tst-wchar-h.c.
71752 2012-05-31  Marek Polacek  <polacek@redhat.com>
71754         [BZ #14132]
71755         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71756         __endmntent_internal): Remove declaration.
71757         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71758         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71759         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71761 2012-05-30  David S. Miller  <davem@davemloft.net>
71763         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71764         (___Q_simulate_exceptions): Use real FP ops rather than writing
71765         into the %fsr.
71766         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71767         Likewise.
71769 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71771         [BZ #14117]
71772         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71773         * sysdeps/x86/bits/xtitypes.h: This.
71775         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71776         * sysdeps/x86/bits/wordsize.h: This.
71778         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71779         * sysdeps/x86/bits/huge_vall.h: This.
71781         * sysdeps/i386/bits/select.h: Removed.
71782         * sysdeps/x86_64/bits/select.h: Renamed to ...
71783         * sysdeps/x86/bits/select.h: This.
71785         * sysdeps/i386/bits/setjmp.h: Removed.
71786         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71787         * sysdeps/x86/bits/setjmp.h: This.
71789         * sysdeps/i386/bits/mathdef.h: Removed.
71790         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71791         * sysdeps/x86/bits/mathdef.h: This.
71793 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71795         [BZ #14132]
71796         * include/sys/socket.h (__connect_internal)
71797         (__libc_sa_len_internal): Remove declaration.
71798         (__connect, __libc_sa_len): Declare hidden_proto.
71799         (SA_LEN): Remove use of INTUSE.
71800         * socket/connect.c: Add libc_hidden_def.
71801         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71802         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71803         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71804         alias.
71805         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71806         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71807         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71808         of adding _internal alias.
71810 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71812         [BZ #14117]
71813         * sysdeps/i386/bits/link.h: Removed.
71814         * sysdeps/i386/bits/linkmap.h: Likewise.
71815         * sysdeps/x86_64/bits/link.h: Renamed to ...
71816         * sysdeps/x86/bits/link.h: This.
71817         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71818         * sysdeps/x86/bits/linkmap.h: This.
71820         * sysdeps/i386/bits/endian.h: Removed.
71821         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71822         * sysdeps/x86/bits/endian.h: This.
71824         * sysdeps/i386/bits/byteswap.h: Removed.
71825         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71826         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71827         * sysdeps/x86/bits/byteswap.h: This.
71828         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71829         * sysdeps/x86/bits/byteswap-16.h: This.
71830         * sysdeps/i386/Implies: Add x86.
71831         * sysdeps/x86_64/Implies: Likewise.
71833 2012-05-30  David S. Miller  <davem@davemloft.net>
71835         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71836         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71837         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71838         (FP_TRAPPING_EXCEPTIONS): Define.
71839         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71840         (FP_TRAPPING_EXCEPTIONS): Define.
71841         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71842         subnormals only when inexact has been signalled or underflow
71843         exceptions are enabled.
71844         (_FP_PACK_CANONICAL): Likewise.
71846 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71848         [BZ #14183]
71849         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71850         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71852 2012-05-30  Richard Henderson  <rth@twiddle.net>
71854         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71855         with #ifndef NOT_IN_libc.
71857         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71858         marked to avoid plt entry.
71860 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71862         [BZ #14112]
71863         * Makeconfig (default-abi): New macro.
71864         (abi-includes): Likewise.
71865         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71866         $(abi-$(default-abi)-lib-soname) for soname if defined.
71867         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71868         abi-variants.
71869         * Makefile (installed-stubs): Likewise.
71870         * include/stubs-biarch.h: Removed.
71871         * scripts/lib-names.awk: Only handle one library at a time.
71872         * scripts/soversions.awk: Remove WORDSIZE support.
71873         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71874         entries.
71875         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71876         Removed.
71877         (syscall-list-default-condition): Likewise.
71878         (syscall-list-default-condition): Likewise.
71879         (syscall-list-includes): Likewise.
71880         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71881         syscall-list-* with abi-*.  Handle undefined abi-variants.
71882         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71883         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71884         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71885         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71886         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71887         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71888         Removed.
71889         (syscall-list-32-options): Likewise.
71890         (syscall-list-32-condition): Likewise.
71891         (syscall-list-64-options): Likewise.
71892         (syscall-list-64-condition): Likewise.
71893         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71894         macro.
71895         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71896         Renamed to ...
71897         (abi-*): This.
71898         (abi-64-ld-soname): New macro.
71899         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71900         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71901         Renamed to ...
71902         (abi-*): This.
71903         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71904         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71906 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71908         * sysdeps/unix/sysv/linux/kernel-features.h
71909         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71910         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71911         include <kernel-features.h>.
71912         [!__NR_ftruncate64]: Remove conditional code.
71913         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71914         [__NR_ftruncate64]: Make code unconditional.
71915         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71916         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71917         include <kernel-features.h>.
71918         [!__NR_ftruncate64]: Remove conditional code.
71919         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71920         [__NR_ftruncate64]: Make code unconditional.
71921         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71923         include <kernel-features.h>.
71924         [!__NR_ftruncate64]: Remove conditional code.
71925         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71926         [__NR_ftruncate64]: Make code unconditional.
71927         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71929         include <kernel-features.h>.
71930         [!__NR_ftruncate64]: Remove conditional code.
71931         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71932         [__NR_ftruncate64]: Make code unconditional.
71933         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71935         * configure.in (libc_cv_fpie): Weaken to a compile test using
71936         LIBC_TRY_CC_OPTION.
71937         * configure: Regenerated.
71939 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71945         Refreshed.
71946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71952         Refreshed.
71954 2012-05-27  David S. Miller  <davem@davemloft.net>
71956         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71957         (___Q_zero): New.
71958         (__Q_simulate_exceptions): Return void.  Change to simulate
71959         exceptions by writing into the %fsr.
71960         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71961         (__Qp_handle_exceptions): Likewise.
71962         (numbers): Delete.
71963         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71964         __Qp_handle_exceptions.
71965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71966         __Qp_handle_exceptions.
71967         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71968         as unused and give dummy FP_RND_NEAREST initializer.
71969         (FP_INHIBIT_RESULTS): Define.
71970         (___Q_simulate_exceptions): Update declaration.
71971         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71972         formatting.
71973         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71974         as unused and give dummy FP_RND_NEAREST initializer.
71975         (__Qp_handle_exceptions): Update declaration.
71976         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71977         formatting.
71979 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71981         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71982         the temporary FPU control word.
71983         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71984         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71985         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71986         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71987         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71988         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71989         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71990         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71991         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71992         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71993         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71995 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71997         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71998         fields.
72000 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72002         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72003         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72004         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72005         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72006         Likewise.
72007         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72008         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72009         Likewise.
72011 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72013         * po/h.po: Update from translation team.
72015 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72017         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72019         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72020         handling of denormals.
72021         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72022         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72023         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72024         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72025         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72028         Likewise.
72030 2012-05-26  Marek Polacek  <polacek@redhat.com>
72032         [BZ #14152]
72033         * math/libm-test.inc (fma_test): Don't always expect underflow
72034         exception.
72036 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72038         [BZ #12416]
72039         * elf/tst-execstack.c: Include stackinfo.h.
72040         (do_test): Adjust test case to ensure that pthread_getattr_np
72041         behaviour remains the same after marking stack executable.
72043 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72045         * sysdeps/unix/sysv/linux/kernel-features.h
72046         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72047         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72048         kernel-features.h.
72049         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72050         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72051         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72052         kernel-features.h.
72053         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72054         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72056 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72058         * configure.in: Define the default includes to being none.
72059         * configure: Regenerated.
72061 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72063         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72064         * sysdeps/x86_64/setjmp.S: Likewise.
72065         * sysdeps/i386/bsd-setjmp.S: Likewise.
72066         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72067         * sysdeps/i386/setjmp.S: Likewise.
72068         * sysdeps/i386/__longjmp.S: Likewise.
72069         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72070         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72072         * include/stap-probe.h: New file.
72073         * configure.in: Handle --enable-systemtap.
72074         * configure: Regenerated.
72075         * config.h.in (USE_STAP_PROBE): New #undef.
72076         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72077         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72078         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72080 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72082         [BZ #13717]
72083         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72084         to 2.4.0 where earlier.
72085         * sysdeps/unix/sysv/linux/configure: Regenerated.
72086         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72087         <kernel-features.h>.
72088         [__ASSUME_32BITUIDS]: Make code unconditional.
72089         [!__ASSUME_32BITUIDS]: Remove conditional code.
72090         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72091         <kernel-features.h>.
72092         [__ASSUME_32BITUIDS]: Make code unconditional.
72093         [!__ASSUME_32BITUIDS]: Remove conditional code.
72094         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72095         [__ASSUME_32BITUIDS]: Make code unconditional.
72096         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72097         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72098         <kernel-features.h>.
72099         [__ASSUME_32BITUIDS]: Make code unconditional.
72100         [!__ASSUME_32BITUIDS]: Remove conditional code.
72101         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72102         <kernel-features.h>.
72103         [__ASSUME_32BITUIDS]: Make code unconditional.
72104         [!__ASSUME_32BITUIDS]: Remove conditional code.
72105         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
72106         <kernel-features.h>.
72107         [__ASSUME_32BITUIDS]: Make code unconditional.
72108         [!__ASSUME_32BITUIDS]: Remove conditional code.
72109         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
72110         <kernel-features.h>.
72111         [__ASSUME_32BITUIDS]: Make code unconditional.
72112         [!__ASSUME_32BITUIDS]: Remove conditional code.
72113         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
72114         <kernel-features.h>.
72115         [__ASSUME_32BITUIDS]: Make code unconditional.
72116         [!__ASSUME_32BITUIDS]: Remove conditional code.
72117         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
72118         <kernel-features.h>.
72119         [__ASSUME_32BITUIDS]: Make code unconditional.
72120         [!__ASSUME_32BITUIDS]: Remove conditional code.
72121         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
72122         <kernel-features.h>.
72123         [__ASSUME_32BITUIDS]: Make code unconditional.
72124         [!__ASSUME_32BITUIDS]: Remove conditional code.
72125         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
72126         <kernel-features.h>.
72127         [__ASSUME_32BITUIDS]: Make code unconditional.
72128         [!__ASSUME_32BITUIDS]: Remove conditional code.
72129         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
72130         <kernel-features.h>.
72131         [__ASSUME_32BITUIDS]: Make code unconditional.
72132         [!__ASSUME_32BITUIDS]: Remove conditional code.
72133         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72134         <kernel-features.h>.
72135         [__ASSUME_32BITUIDS]: Make code unconditional.
72136         [!__ASSUME_32BITUIDS]: Remove conditional code.
72137         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72138         <kernel-features.h>.
72139         [__NR_setresgid] (__setresgid): Do not declare.
72140         [__ASSUME_32BITUIDS]: Make code unconditional.
72141         [!__ASSUME_32BITUIDS]: Remove conditional code.
72142         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72143         <kernel-features.h>.
72144         [__NR_setresuid] (__setresuid): Do not declare.
72145         [__ASSUME_32BITUIDS]: Make code unconditional.
72146         [!__ASSUME_32BITUIDS]: Remove conditional code.
72147         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72148         <kernel-features.h>.
72149         [__ASSUME_32BITUIDS]: Make code unconditional.
72150         [!__ASSUME_32BITUIDS]: Remove conditional code.
72151         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72152         <kernel-features.h>.
72153         [__ASSUME_32BITUIDS]: Make code unconditional.
72154         [!__ASSUME_32BITUIDS]: Remove conditional code.
72155         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72156         <kernel-features.h>.
72157         [__ASSUME_32BITUIDS]: Make code unconditional.
72158         [!__ASSUME_32BITUIDS]: Remove conditional code.
72159         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72160         <kernel-features.h>.
72161         [__ASSUME_32BITUIDS]: Make code unconditional.
72162         [!__ASSUME_32BITUIDS]: Remove conditional code.
72163         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72164         <kernel-features.h>.
72165         [__ASSUME_32BITUIDS]: Make code unconditional.
72166         [!__ASSUME_32BITUIDS]: Remove conditional code.
72167         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72168         <kernel-features.h>.
72169         [__ASSUME_32BITUIDS]: Make code unconditional.
72170         [!__ASSUME_32BITUIDS]: Remove conditional code.
72171         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72172         <kernel-features.h>.
72173         [__ASSUME_32BITUIDS]: Make code unconditional.
72174         [!__ASSUME_32BITUIDS]: Remove conditional code.
72175         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
72176         <kernel-features.h>.
72177         [__ASSUME_32BITUIDS]: Make code unconditional.
72178         [!__ASSUME_32BITUIDS]: Remove conditional code.
72179         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72180         <kernel-features.h>.
72181         [__ASSUME_32BITUIDS]: Make code unconditional.
72182         [!__ASSUME_32BITUIDS]: Remove conditional code.
72183         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72184         <kernel-features.h>.
72185         [__ASSUME_32BITUIDS]: Make code unconditional.
72186         [!__ASSUME_32BITUIDS]: Remove conditional code.
72187         * sysdeps/unix/sysv/linux/kernel-features.h
72188         (__ASSUME_SETRESUID_SYSCALL): Remove.
72189         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72190         (__ASSUME_32BITUIDS): Likewise.
72191         (__ASSUME_LDT_WORKS): Likewise.
72192         (__ASSUME_O_DIRECTORY): Likewise.
72193         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72194         architecture but not kernel version.
72195         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72196         (__ASSUME_MMAP2_SYSCALL): Likewise.
72197         (__ASSUME_STAT64_SYSCALL): Likewise.
72198         (__ASSUME_IPC64): Likewise.
72199         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72200         <kernel-features.h>.
72201         [__ASSUME_32BITUIDS]: Make code unconditional.
72202         [!__ASSUME_32BITUIDS]: Remove conditional code.
72203         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72204         <kernel-features.h>.
72205         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72206         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72207         132096]: Remove conditional code.
72208         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72209         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72210         <kernel-features.h>.
72211         [__ASSUME_32BITUIDS]: Make code unconditional.
72212         [!__ASSUME_32BITUIDS]: Remove conditional code.
72213         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72214         <kernel-features.h>.
72215         [__ASSUME_32BITUIDS]: Make code unconditional.
72216         [!__ASSUME_32BITUIDS]: Remove conditional code.
72217         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72218         <kernel-features.h>.
72219         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72220         unconditional.
72221         (__setresgid): Do not declare.
72222         [__ASSUME_32BITUIDS]: Make code unconditional.
72223         [!__ASSUME_32BITUIDS]: Remove conditional code.
72224         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72225         <kernel-features.h>.
72226         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72227         unconditional.
72228         (__setresuid): Do not declare.
72229         [__ASSUME_32BITUIDS]: Make code unconditional.
72230         [!__ASSUME_32BITUIDS]: Remove conditional code.
72231         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
72236         <kernel-features.h>.
72237         [__ASSUME_32BITUIDS]: Make code unconditional.
72238         [!__ASSUME_32BITUIDS]: Remove conditional code.
72240 2012-05-25  Richard Henderson  <rth@twiddle.net>
72242         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72243         dl_hwcap to ifunc resolver.
72244         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72245         elf_ifunc_invoke.
72246         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72247         dl_hwcap to ifunc resolver.
72248         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72250 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72252         [BZ #14153]
72253         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72254         for |x| <= 2**-26, not 2**-57.
72255         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72256         exception.
72258 2012-05-24  Jeff Law  <law@redhat.com>
72260         * stdio-common/Makefile (tests): Add bug25.
72261         * stdio-common/bug25.c: New test.
72263 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72265         [BZ #13576]
72266         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72267         multiple of MALLOC_ALIGNMENT in size.
72268         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72270 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72272         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72273         Require >= 256.
72274         (FILENAME_MAX): Use macro-int-constant.
72275         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72276         (_IOFBF): Use macro-int-constant.
72277         (_IOLBF): Likewise.
72278         (_IONBF): Likewise.
72279         (SEEK_CUR): Likewise.
72280         (SEEK_END): Likewise.
72281         (SEEK_SET): Likewise.
72282         (TMP_MAX): Likewise.
72283         (EOF): Use macro-int-constant.  Require < 0.
72284         (NULL): Use macro-constant.  Require == 0.
72285         (stdin): Require type to be FILE *.
72286         (stdout): Likewise.
72287         (stderr): Likewise.
72288         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72289         macro-int-constant.
72290         (EXIT_SUCCESS): Likewise.
72291         (NULL): Use macro-constant.  Require == 0.
72292         (RAND_MAX): Use macro-int-constant.
72293         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72294         [C99-based standards] (strtof): Require function.
72295         [C99-based standards] (strtold): Likewise.
72296         [C99-based standards] (strtoll): Likewise.
72297         [C99-based standards] (strtoull): Likewise.
72298         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72299         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72300         [ISO || ISO99 || ISO11] (math.h): Likewise.
72301         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72302         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72305 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72307         [BZ #14132]
72308         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72309         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72310         * intl/dgettext.c (DCGETTEXT): Likewise.
72311         * intl/gettext.c (DCGETTEXT): Likewise.
72312         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72313         * posix/regex_internal.h (gettext): Likewise.
72314         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72315         Remove declaration.
72316         * include/argz.h (__argz_count_internal)
72317         (__argz_stringify_internal): Remove declaration.
72318         (__argz_count, __argz_stringify): Declare hidden proto.
72319         * intl/dcgettext.c: Remove use of INTDEF.
72320         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72321         * string/argz-stringify.c: Likewise.
72322         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72323         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72324         Declare hidden proto.
72325         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72326         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72327         Declare hidden proto.
72328         * include/stdio.h (__asprintf_internal): Don't declare.
72329         (__asprintf): Don't define as macro.  Declare hidden proto.
72330         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72331         (__fsetlocking): Declare hidden proto.
72332         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72333         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72334         hidden proto.
72335         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72336         (_IO_setlinebuf): Remove use of INTUSE.
72337         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72338         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72339         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72340         Remove declaration.
72341         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72342         (_IO_do_flush): Remove use of INTUSE.
72343         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72344         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72345         (_IO_adjust_column, _IO_least_wmarker)
72346         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72347         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72348         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72349         (_IO_default_doallocate, _IO_wdefault_doallocate)
72350         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72351         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72352         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72353         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72354         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72355         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72356         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72357         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72358         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72359         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72360         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72361         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72362         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72363         proto.
72364         (_IO_flush_all_internal, _IO_adjust_column_internal)
72365         (_IO_default_uflow_internal, _IO_default_finish_internal)
72366         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72367         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72368         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72369         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72370         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72371         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72372         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72373         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72374         (_IO_file_close_internal, _IO_file_close_it_internal)
72375         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72376         (_IO_file_init_internal, _IO_file_attach_internal)
72377         (_IO_file_fopen_internal, _IO_file_read_internal)
72378         (_IO_file_sync_internal, _IO_file_seek_internal)
72379         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72380         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72381         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72382         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72383         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72384         (_IO_list_all_internal, _IO_link_in_internal)
72385         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72386         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72387         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72388         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72389         (_IO_do_write_internal, _IO_padn_internal)
72390         (_IO_getline_info_internal, _IO_getline_internal)
72391         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72392         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72393         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72394         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72395         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72396         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72397         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72398         with libc_hidden_ver, remove use of INTUSE.
72399         * libio/genops.c: Likewise.
72400         * libio/freopen.c: Likewise.
72401         * libio/freopen64.c: Likewise.
72402         * libio/iofclose.c: Likewise.
72403         * libio/iofdopen.c: Likewise.
72404         * libio/iofflush.c: Likewise.
72405         * libio/iofflush_u.c: Likewise.
72406         * libio/iofgets.c: Likewise.
72407         * libio/iofgets_u.c: Likewise.
72408         * libio/iofopen.c: Likewise.
72409         * libio/iofopncook.c: Likewise.
72410         * libio/iofread.c: Likewise.
72411         * libio/iofread_u.c: Likewise.
72412         * libio/ioftell.c: Likewise.
72413         * libio/iofwrite.c: Likewise.
72414         * libio/iogetline.c: Likewise.
72415         * libio/iogets.c: Likewise.
72416         * libio/iogetwline.c: Likewise.
72417         * libio/iopadn.c: Likewise.
72418         * libio/iopopen.c: Likewise.
72419         * libio/ioseekoff.c: Likewise.
72420         * libio/ioseekpos.c: Likewise.
72421         * libio/iosetbuffer.c: Likewise.
72422         * libio/iosetvbuf.c: Likewise.
72423         * libio/ioungetc.c: Likewise.
72424         * libio/ioungetwc.c: Likewise.
72425         * libio/iovdprintf.c: Likewise.
72426         * libio/iovsprintf.c: Likewise.
72427         * libio/iovsscanf.c: Likewise.
72428         * libio/memstream.c: Likewise.
72429         * libio/obprintf.c: Likewise.
72430         * libio/oldfileops.c: Likewise.
72431         * libio/oldiofclose.c: Likewise.
72432         * libio/oldiofdopen.c: Likewise.
72433         * libio/oldiofopen.c: Likewise.
72434         * libio/oldiopopen.c: Likewise.
72435         * libio/oldstdfiles.c: Likewise.
72436         * libio/putc.c: Likewise.
72437         * libio/setbuf.c: Likewise.
72438         * libio/setlinebuf.c: Likewise.
72439         * libio/stdfiles.c: Likewise.
72440         * libio/strops.c: Likewise.
72441         * libio/vasprintf.c: Likewise.
72442         * libio/vscanf.c: Likewise.
72443         * libio/vsnprintf.c: Likewise.
72444         * libio/vswprintf.c: Likewise.
72445         * libio/wfiledoalloc.c: Likewise.
72446         * libio/wfileops.c: Likewise.
72447         * libio/wgenops.c: Likewise.
72448         * libio/wmemstream.c: Likewise.
72449         * libio/wstrops.c: Likewise.
72450         * libio/__fpurge.c: Likewise.
72451         * libio/__fsetlocking.c: Likewise.
72452         * assert/assert.c: Likewise.
72453         * debug/fgets_chk.c: Likewise.
72454         * debug/fgets_u_chk.c: Likewise.
72455         * debug/fread_chk.c: Likewise.
72456         * debug/fread_u_chk.c: Likewise.
72457         * debug/gets_chk.c: Likewise.
72458         * debug/obprintf_chk.c: Likewise.
72459         * debug/vasprintf_chk.c: Likewise.
72460         * debug/vdprintf_chk.c: Likewise.
72461         * debug/vsnprintf_chk.c: Likewise.
72462         * debug/vsprintf_chk.c: Likewise.
72463         * malloc/mtrace.c: Likewise.
72464         * misc/error.c: Likewise.
72465         * misc/syslog.c: Likewise.
72466         * stdio-common/asprintf.c: Likewise.
72467         * stdio-common/fxprintf.c: Likewise.
72468         * stdio-common/getw.c: Likewise.
72469         * stdio-common/isoc99_fscanf.c: Likewise.
72470         * stdio-common/isoc99_scanf.c: Likewise.
72471         * stdio-common/isoc99_vfscanf.c: Likewise.
72472         * stdio-common/isoc99_vscanf.c: Likewise.
72473         * stdio-common/isoc99_vsscanf.c: Likewise.
72474         * stdio-common/printf-prs.c: Likewise.
72475         * stdio-common/printf_fp.c: Likewise.
72476         * stdio-common/printf_fphex.c: Likewise.
72477         * stdio-common/printf_size.c: Likewise.
72478         * stdio-common/putw.c: Likewise.
72479         * stdio-common/scanf.c: Likewise.
72480         * stdio-common/sprintf.c: Likewise.
72481         * stdio-common/tmpfile.c: Likewise.
72482         * stdio-common/vfprintf.c: Likewise.
72483         * stdio-common/vfscanf.c: Likewise.
72484         * stdlib/strfmon_l.c: Likewise.
72485         * sunrpc/openchild.c: Likewise.
72486         * sunrpc/xdr_stdio.c: Likewise.
72487         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72488         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72490 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72492         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72494         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72495         in the third column, to generate for the shared library an IFUNC
72496         that uses _dl_vdso_vsym.
72497         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72498         * Makeconfig (object-suffixes-noshared): New variable.
72500         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72501         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72502         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72503         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72505         [BZ #14132]
72506         * include/sys/time.h (__gettimeofday): Remove macro.
72507         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72508         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72509         Remove INTDEF.
72510         (__gettimeofday): Add libc_hidden_def.
72511         (gettimeofday): Add libc_hidden_weak.
72512         * sysdeps/mach/gettimeofday.c: Likewise.
72513         * sysdeps/posix/gettimeofday.c: Likewise.
72514         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72516         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72517         (__gettimeofday_internal): Remove strong_alias.
72518         (__gettimeofday): Add libc_hidden_def.
72519         (gettimeofday): Add libc_hidden_weak.
72520         * sysdeps/unix/syscalls.list (gettimeofday):
72521         Remove __gettimeofday_internal alias.
72523 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72524             H.J. Lu  <hongjiu.lu@intel.com>
72526         [BZ #12495]
72527         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72528         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72529         (largebin_index_32_big): New.
72530         (largebin_index): Use it for 16-byte alignment.
72531         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72532         correction with front_misalign.
72534 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72538         Likewise.
72539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72540         Likewise.
72541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72542         Likewise.
72543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72544         Likewise.
72545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72546         Likewise.
72547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72548         Likewise.
72549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72550         Likewise.
72551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72552         Likewise.
72553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72554         Likewise.
72555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72556         Likewise.
72557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72558         Likewise.
72559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72560         Likewise.
72562         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72563         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72565 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72567         [BZ #10846]
72568         [BZ #14036]
72569         * math/libm-test.inc (exp_test): Add test from bug 14036.
72570         (pow_test): Add test from bug 10846.
72572         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72573         and other flags.
72574         (special_function): Do not include flags in test name.
72575         (parse_args): Likewise.
72576         * sysdeps/i386/fpu/libm-test-ulps: Update.
72577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72578         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72579         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72582         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72583         exceptions.
72584         * math/libm-test.inc ("Philosophy"): Update comment about
72585         exception testing.
72586         (UNDERFLOW_EXCEPTION): New macro.
72587         (UNDERFLOW_EXCEPTION_OK): Likewise.
72588         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72589         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72590         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72591         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72592         (INVALID_EXCEPTION_OK): Update value.
72593         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72594         (OVERFLOW_EXCEPTION_OK): Likewise.
72595         (IGNORE_ZERO_INF_SIGN): Likewise.
72596         (test_exceptions): Handle underflow exceptions.
72597         (acos_test): Update for underflow exception expectations.
72598         (cexp_test): Likewise.
72599         (clog_test): Likewise.
72600         (clog10_test): Likewise.
72601         (csqrt_test): Likewise.
72602         (ctan_test): Likewise.
72603         (ctanh_test): Likewise.
72604         (exp_test): Likewise.
72605         (exp10_test): Likewise.
72606         (exp2_test): Likewise.
72607         (expm1_test): Likewise.
72608         (fma_test): Likewise.
72609         (j0_test): Likewise.
72610         (jn_test): Likewise.
72611         (nexttoward_test): Likewise.
72612         (pow_test): Likewise.
72613         (scalbn_test): Likewise.
72614         (scalbln_test): Likewise.
72615         (tan_test): Likewise.
72616         (y1_test): Likewise.
72617         * sysdeps/i386/fpu/libm-test-ulps: Update.
72618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72620 2012-05-23  David S. Miller  <davem@davemloft.net>
72622         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72623         (__libc_sigaction): Remove unused local variables.
72625 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72627         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72629 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72631         mktime: avoid signed integer overflow
72632         * time/mktime.c (__mktime_internal): Do not mishandle the case
72633         where diff == INT_MIN.
72635         mktime: simplify computation of average
72636         * time/mktime.c (ranged_convert): Use new time_t_avg function
72637         instead of rolling our own (probably-slower) code.
72639         mktime: do not assume signed right shift propagates sign bit
72640         * time/mktime.c (isdst_differ): New static function.
72641         (__mktime_internal): No need to normalize tm_isdst now.
72642         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72643         tm_isdst values.
72645         mktime: merge another wrapv change from gnulib
72646         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72647         from some compilers.
72649         mktime: remove incorrect attempt at unusual arithmetics
72650         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72651         The code didn't really work on such machines anyway.
72652         (TYPE_MINIMUM): Assume two's complement.
72653         (twos_complement_arithmetic): Verify that long_int and time_t
72654         are two's complement (or unsigned, in the latter case).
72656         mktime: check signed shifts on long_int and time_t, too
72657         * time/mktime.c (SHR): Check that shifts work as desired
72658         on the types long_int and time_t too, as SHR is used on
72659         such types.
72661         mktime: do not assume 'long' is wide enough
72662         * time/mktime.c (verify): Move decl up.
72663         (long_int): New type.
72664         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72665         to remove assumption in the code that 'long' is wide enough to
72666         store year values.  This assumption is not true on x32 and on
72667         some non-glibc platforms.
72669         mktime: merge wrapv change from gnulib
72670         * time/mktime.c (WRAPV): New macro.
72671         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72672         (guess_time_tm, __mktime_internal): Do not assume that signed
72673         integer overflow wraps around; modern compilers generate code
72674         where this assumption is no longer valid.
72676 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72678         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72679         Replace "jmp L(pseudo_end)" with "ret".
72680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72681         Likewise.
72683 2012-05-23  Andreas Jaeger  <aj@suse.de>
72685         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72686         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72688 2012-05-23  Andreas Jaeger  <aj@suse.de>
72689             Maximilian Attems  <max@stro.at>
72691         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72692         New macros.
72694 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72696         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72697         code so that pseudo_end is just ret and the stack pointer is
72698         correct also for static library in error case.
72700 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72702         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72703         move to syscalls.list.
72704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72709         * manual/install.texi (Running make install): Do not mention Linux
72710         kernel version for which pt_chown is not needed.
72711         (Linux): Do not mention problems with nscd with 2.0 kernels.
72712         * INSTALL: Regenerated.
72714 2012-05-23  Andreas Jaeger  <aj@suse.de>
72716         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72717         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72718         macro.
72719         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72720         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72721         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72722         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72723         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72724         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72725         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72726         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72727         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72728         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72729         * sysdeps/unix/sysv/linux/bits/in.h
72730         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72732 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72734         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72735         (PREPARE_VERSION): Just use assert instead, it will be elided
72736         under [NDEBUG] anyway.
72738 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72740         * sysdeps/unix/sysv/linux/Makefile: Include
72741         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72742         (sysdep_routines): Remove sysctl.
72743         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72744         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72745         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72746         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72747         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72749 2012-05-22  Andreas Jaeger  <aj@suse.de>
72751         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72752         that pseudo_end is just ret and the stack pointer is correct also
72753         for static library in error case.
72755 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72757         [BZ #14122]
72758         * nss/nsswitch.c (defconfig_entries): New variable.
72759         (__nss_database_lookup): Don't leak defconfig entries.
72760         (nss_parse_service_list): Don't leak on error paths.
72761         (free_database_entries): New function.
72762         (free_defconfig): New function.
72763         (free_mem): Move common code to free_database_entries.
72765 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72767         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72768         Add arch_prctl.
72769         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72771         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72772         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72774         New macro.
72775         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72776         (INTERNAL_SYSCALL_TYPES): Likewise.
72777         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72778         (LOAD_REGS_TYPES_[1-6]): Likewise.
72779         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72780         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72782 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72784         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72785         copysignl for GLIBC_2_0.
72786         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72787         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72788         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72789         logbl for GLIBC_2_0.
72790         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72791         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72793 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72796         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72798         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72799         Use "neg %eax".
72801         * time/mktime.c: Update copyright years.
72803 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72805         mktime: merge comment-quoting-style change from gnulib
72806         * time/mktime.c: Quote 'like this' in comments.
72807         The GNU coding standards suggest that we no longer quote `like this',
72808         as "`" and "'" are typically rendered asymmetrically nowadays.
72809         The typical gnulib style is to quote 'like this' when quoting
72810         code, and "like this" when quoting English.
72812         * time/mktime.c (compile-command): Add "-I.".
72814         mktime: merge mktime-internal.h change from gnulib
72815         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72817         mktime: merge time_r change from gnulib
72818         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72820         mktime: merge DEBUG change from gnulib
72821         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72822         case system <time.h> has a #define.
72824         mktime: merge <sys/types.h> change from gnulib
72825         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72826         since <time.t> is now guaranteed to define time_t.
72828         mktime: merge HAVE_CONFIG_H change from gnulib
72829         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72831 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72834         Use "neg %eax".
72836         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72837         __rlim_t cast.
72838         (struct rusage): Use anonymous union to pad each field to
72839         __syscall_slong_t.
72841 2012-05-21  David S. Miller  <davem@davemloft.net>
72843         * Makefules (o-iterator): Remove .s cases.
72844         (compile-command.s): Delete.
72845         (COMPILE.s): Delete.
72846         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72848 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72850         * configure.in (libc_cv_predef_stack_protector): Only consider
72851         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72852         * configure: Regenerated.
72854 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72857         New macro.  Use R*LP on int and pointer.
72858         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72859         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72860         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72861         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72863         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72864         [__WORDSIZE_TIME64_COMPAT32] instead of
72865         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72866         (struct utmp): Likewise.
72867         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72868         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72869         Renamed to ...
72870         (__WORDSIZE_TIME64_COMPAT32): This.
72871         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72872         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72873         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72874         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72875         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72876         (__WORDSIZE_TIME64_COMPAT32): New macro.
72878 2012-05-21  Andreas Jaeger  <aj@suse.de>
72880         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72881         only if [SHARED]. Add prototype for __wcschr_ia32.
72883 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72885         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72886         of %rbp unmolested in the jmp_buf while mangling the low bits.
72887         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72888         unmolested high bits of %rbp while demangling the low bits.
72889         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72891 2012-05-21  Andreas Jaeger  <aj@suse.de>
72893         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72894         * sunrpc/svc_simple.c: Use it for registerrpc.
72895         * sunrpc/xcrypt.c: Use it for passwd2des.
72897         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72899 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72901         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72902         Don't define if [__SYSCALL_WORDSIZE != 32].
72903         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72904         New macro.
72906 2012-05-21  Bruno Haible  <bruno@clisp.org>
72907             Andreas Jaeger  <aj@suse.de>
72909         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72910         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72911         inptr and inend for must_buffer_ch.
72912         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72913         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72914         * stdio-common/Makefile (tests): Remove bug15.
72915         (bug15-ENV): Remove macro.
72916         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72917         anymore.
72919 2012-05-19  Andreas Jaeger  <aj@suse.de>
72920             Roland McGrath  <roland@hack.frob.com>
72922         * manual/contrib.texi: Completely rewritten. It contains now an
72923         alphabetical list of contributors and their contributions.
72925 2012-05-21  Richard Henderson  <rth@twiddle.net>
72927         * misc/getauxval.c (__getauxval): Use unsigned long int.
72928         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72929         (getauxval): Use unsigned long int.
72931 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72933         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72935 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72937         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72938         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72939         __alignof__ (long double).
72941 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72945 2012-05-20  Richard Henderson  <rth@twiddle.net>
72947         * misc/getauxval.c: New file.
72948         * misc/sys/auxv.h: New file.
72949         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72950         (routines): Add getauxval.
72951         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72952         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72953         * elf/dl-sysdep.c (_dl_auxv): Remove.
72954         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72955         * elf/dl-support.c (_dl_auxv): New variable.
72956         (_dl_aux_init): Initialize it.
72957         * manual/startup.texi (Auxiliary Vector): New node.
72958         * sysdeps/generic/bits/hwcap.h: New file.
72959         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72960         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72961         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72962         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72963         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72966         Update.
72967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72970         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72976 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72980 2012-05-19  David S. Miller  <davem@davemloft.net>
72982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72984 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72986         [BZ #14123]
72987         * math/s_ccosh.c: Include <float.h>
72988         (__ccosh): Avoid internal overflow calculating sinh and cosh
72989         values before multiplying by sin and cos values.
72990         * math/s_ccoshf.c: Likewise.
72991         * math/s_ccoshl.c: Likewise.
72992         * math/s_csin.c: Likewise.
72993         * math/s_csinf.c: Likewise.
72994         * math/s_csinl.c: Likewise.
72995         * math/s_csinh.c: Likewise.
72996         * math/s_csinhf.c: Likewise.
72997         * math/s_csinhl.c: Likewise.
72998         * math/libm-test.inc (ccos_test): Add more tests.
72999         (ccosh_test): Likewise.
73000         (csin_test): Likewise.
73001         (csinh_test): Likewise.
73002         * sysdeps/i386/fpu/libm-test-ulps: Update.
73003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73005 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73007         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73008         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73010         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73012 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73014         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73015         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73016         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73017         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73018         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73019         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73020         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73021         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73022         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73023         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73024         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73025         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73026         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73027         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73028         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73029         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73030         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73031         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73032         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73033         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73034         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73035         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73036         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73037         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73038         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73039         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73040         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73041         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73042         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73043         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73044         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73046 2012-05-18  Andreas Jaeger  <aj@suse.de>
73048         * csu/.gitignore: Delete.
73050 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73052         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73053         (timex): Use __syscall_slong_t.
73055 2012-05-18  Andreas Jaeger  <aj@suse.de>
73056             Carlos O'Donell  <carlos_odonell@mentor.com>
73058         * manual/install.texi (Configuring and compiling): Update
73059         description about files modified in the source directory.
73060         * INSTALL: Regenerated.
73062 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73064         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73065         value.  Use "or" to set return value to -1.
73066         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73067         negate return value.
73069 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73071         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73072         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73073         failure if the compiler has Graphite support disabled.
73074         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73075         Likewise.
73076         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73077         (CFLAGS-memmove.c): Likewise.
73078         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73079         Likewise.
73081 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73083         * sysdeps/x86_64/x32/_itoa.h: New file.
73085         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73086         getdents system call only if kernel and user dirents have the
73087         same d_ino and d_off.
73089         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73090         LLONG_MAX != LONG_MAX.
73091         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73092         (_fitoa_word): Likewise.
73094         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73095         years.
73096         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73097         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73098         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73100         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73101         include <bits/wordsize.h>.  Check __x86_64__ instead of
73102         __WORDSIZE.
73103         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73104         if __x86_64__ is defined.  Use anonymous union on fpstate.
73106         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73107         anonymous union.
73109 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73111         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73112         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73113         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73114         Refer to _rtld_local_ro instead of _rtld_global_ro.
73115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73116         Likewise.
73117         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73118         Likewise.
73119         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73120         Likewise.
73121         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73122         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73123         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73125         [BZ #10882]
73126         * sysdeps/powerpc/powerpc32/dl-machine.c
73127         (__elf_machine_runtime_setup) [PROF]: Don't reference
73128         _dl_prof_resolve.
73130 2012-05-18  Andreas Jaeger  <aj@suse.de>
73132         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73133         function only available for GCCs before 3.4 since GCC 3.4
73134         introduced a builtin.
73135         (lrint): Likewise.
73136         (llrintf): Likewise.
73137         (llrint): Likewise.
73138         (fmaxf): Likewise.
73139         (fmax): Likewise.
73140         (fminf): Likewise.
73141         (fmin): Likewise.
73142         (rint): Likewise.
73143         (rintf): Likewise.
73144         (nearbyint): Likewise.
73145         (nearbyintf): Likewise.
73146         (ceil): Likewise.
73147         (ceilf): Likewise.
73148         (floor): Likewise.
73149         (floorf): Likewise.
73151 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73153         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73154         on both fields and cast pointer to __syscall_ulong_t.
73156         * bits/types.h (__fsword_t): New type.
73157         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73158         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73160         (__FSWORD_T_TYPE): Likewise.
73161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73162         (__FSWORD_T_TYPE): Likewise.
73163         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73164         (__FSWORD_T_TYPE): Likewise.
73165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73166         (__FSWORD_T_TYPE): Likewise.
73167         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73168         __SWORD_TYPE with __fsword_t.
73169         (statfs64): Likewise.
73171 2012-05-17  David S. Miller  <davem@davemloft.net>
73173         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73175 2012-05-17  Andreas Jaeger  <aj@suse.de>
73177         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73178         warning.
73180 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73182         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73184 2012-05-17  Andreas Jaeger  <aj@suse.de>
73186         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73187         when it is used.
73189 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73191         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73193 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73195         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73196         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73198 2012-05-17  Andreas Jaeger  <aj@suse.de>
73199             Carlos O'Donell  <carlos_odonell@mentor.com>
73201         [BZ #14059]
73202         * sysdeps/x86_64/multiarch/init-arch.h
73203         (bit_YMM_Usable): Rename to...
73204         (bit_AVX_Usable): ... this.
73205         (bit_FMA4_Usable): New macro.
73206         (bit_XMM_state): New macro.
73207         (bit_YMM_state): New macro.
73208         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73209         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73210         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73211         (CPUID_OSXSAVE): New macro.
73212         (CPUID_AVX): New macro.
73213         (CPUID_FMA4): New macro.
73214         (index_YMM_Usable): Rename to...
73215         (index_AVX_Usable): ... this.
73216         (HAS_AVX): Use HAS_ARCH_FEATURE.
73217         (HAS_FMA4): Likewise.
73218         (HAS_YMM_USABLE): Remove.
73219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73220         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73221         are present.
73222         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73223         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73224         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73225         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73226         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73228 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73230         * math/libm-test.c: Support platforms without multiple rounding modes.
73231         * math/bug-nextafter.c: Support platforms without FP exceptions.
73232         * math/bug-nexttoward.c: Likewise.
73233         * math/test-fenv.c: Likewise.
73234         * math/test-misc.c: Likewise.
73235         * stdlib/bug-getcontext.c: Likewise.
73237 2012-05-17  Andreas Jaeger  <aj@suse.de>
73239         * manual/examples/search.c (critter_cmp): Change signature to
73240         avoid warnings.
73241         * manual/string.texi (Collation Functions): Likewise.
73243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73245         * bits/types.h: Fold copyright years.
73246         * bits/typesizes.h: Likewise.
73247         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73251         * time/time.h: Likewise.
73253 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73255         [BZ #208]
73256         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73257         in instead of returning them.  Return void.
73258         (__libc_mallinfo): Accumulate over all arenas.
73259         (__malloc_stats): Adjust for change in int_mallinfo interface.
73261 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73263         [BZ #10375]
73264         * configure.in (NM): Add AC_CHECK_TOOL for it.
73265         (libc_extra_cflags): New substituted variable.
73266         Check for -fstack-protector being used implicitly.
73267         * configure: Regenerated.
73268         * config.make.in (config-extra-cflags): New variable,
73269         gets @libc_extra_cflags@.
73270         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73272         [BZ #10375]
73273         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73274         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73275         * configure: Regenerated.
73276         * config.make.in (CPPUNDEFS): New substituted variable.
73277         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73278         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73279         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73281 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73283         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73284         (mq_attr): Use __syscall_slong_t.
73286 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73288         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73289         Check __x86_64__ instead of __WORDSIZE.
73290         (_STAT_VER_LINUX): Likewise.
73291         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73292         __syscall_ulong_t and __syscall_slong_t.
73293         (stat64): Likewise.
73295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73297         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73301         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73303 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73305         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73306         __syscall_ulong_t.
73308         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73309         include <bits/wordsize.h>.  Check __x86_64__ instead of
73310         __WORDSIZE.
73311         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73312         defined.
73313         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73315         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73316         include <bits/wordsize.h>.  Check __x86_64__ instead of
73317         __WORDSIZE.
73318         (user_regs_struct): Use "__extension__ unsigned long long"
73319         instead of "unsigned long" if __x86_64__ is defined.
73320         (user): Likewise.  Pad after pointer field if __ILP32__ is
73321         defined.
73323 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73325         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73326         versions 5 to 9.
73327         * configure: Regenerated.
73328         * manual/install.texi (texinfo): Increase version requirement to
73329         4.5 or later.
73330         * INSTALL: Regenerated.
73332         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73334 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73336         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73338         * sysdeps/x86_64/x32/ffs.c: New file.
73340         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73341         __syscall_ulong_t.
73342         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73343         defined.  Use __syscall_ulong_t.
73344         (shminfo): Use __syscall_ulong_t.
73345         (shm_info): Likewise.
73347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73348         __syscall_ulong_t.
73350         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73351         <bits/wordsize.h>.
73352         (msgqnum_t): Use __syscall_ulong_t.
73353         (msglen_t): Likewise.
73354         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73355         __syscall_ulong_t.
73357         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73358         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73360         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73362         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73363         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73365         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73366         __syscall_slong_t.
73368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73369         include <bits/wordsize.h>.  Check __x86_64__ instead of
73370         __WORDSIZE.
73372         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73373         "unsigned long long int" if __x86_64__ is defined.
73374         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73377         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73378         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73380         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73381         <stdint.h>.
73382         (GET_PC): Cast to uintptr_t first.
73383         (GET_FRAME): Likewise.
73384         (GET_STACK): Likewise.
73386         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73387         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73388         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73389         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73390         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73391         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73392         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73393         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73394         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73395         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73396         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73397         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73398         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73399         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73400         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73401         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73402         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73403         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73404         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73405         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73406         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73407         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73409         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73411         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73412         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73414         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73416 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73418         * Makerules (+depfiles): Also collect depfiles from .oS in
73419         $(extra-objs).
73420         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73421         .oS, $(libnldbl-routines)).
73423         * Makerules (native-compile-mkdep-flags): Define.
73424         * sunrpc/Makefile (extra-objs): Add $(addprefix
73425         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73426         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73427         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73428         calling $(make-target-directory).
73430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73432         * bits/types.h (__snseconds_t): Removed.
73433         * time/time.h (struct timespec): Replace __snseconds_t with
73434         __syscall_slong_t.
73435         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73436         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73437         Likewise.
73438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73439         (__SNSECONDS_T_TYPE): Likewise.
73440         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73441         (__SNSECONDS_T_TYPE): Likewise.
73442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73443         (__SNSECONDS_T_TYPE): Likewise.
73445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73447         * sysdeps/mach/hurd/bits/typesizes.h
73448         (__SYSCALL_SLONG_TYPE): New macro.
73449         (__SYSCALL_ULONG_TYPE): Likewise.
73451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73453         * bits/types.h (__syscall_slong_t): New type.
73454         (__syscall_ulong_t): Likewise.
73456         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73457         (__SYSCALL_ULONG_TYPE): Likewise.
73458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73459         (__SYSCALL_SLONG_TYPE): Likewise.
73460         (__SYSCALL_ULONG_TYPE): Likewise.
73461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73462         (__SYSCALL_SLONG_TYPE): Likewise.
73463         (__SYSCALL_ULONG_TYPE): Likewise.
73464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73465         (__SYSCALL_SLONG_TYPE): Likewise.
73466         (__SYSCALL_ULONG_TYPE): Likewise.
73468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73470         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73471         Add sigaltstack-offsets.sym.
73472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73473         <sigaltstack-offsets.h>.
73474         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73475         longjmp_msg pointer.
73476         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73477         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73478         signal stack.
73479         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73481 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73483         * elf/stackguard-macros.h: Remove file.
73484         * sysdeps/generic/stackguard-macros.h: New file.
73485         * sysdeps/i386/stackguard-macros.h: Likewise.
73486         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73487         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73488         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73489         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73490         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73491         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73492         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73493         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73494         <elf/stackguard-macros.h>.
73496         [BZ #14109]
73497         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73498         __aligned__ in attribute.
73499         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73500         (gregset_t): Likewise.
73502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73504         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73505         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73506         * sysdeps/x86_64/x32/Implies-after: New file.
73508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73510         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73511         and access return value for _dl_profile_fixup.  Use R10_LP to
73512         load frame size.
73514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73516         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73520         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73521         * sysdeps/x86_64/x32/sysdep.h: New file.
73523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73525         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73526         * sysdeps/x86_64/setjmp.S: Likewise.
73528 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73530         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73532         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73533         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73534         remove unused global constant.
73536 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73538         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73539         include of <not-cancel.h>.
73541 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73543         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73545 2012-05-15  Jeff Law  <law@redhat.com>
73546             Andreas Jaeger  <aj@suse.de>
73548         [BZ #13594]
73549         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73550         out from...
73551         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73552         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73553         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73554         code changing __hst_map_handle.map.
73556 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73558         * configure.in (sysnames): Look for Implies-before and Implies-after
73559         files.
73560         * configure: Regenerated.
73562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73564         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73565         8-byte data alignment with LP_SIZE alignment.
73567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73569         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73570         into R10_LP.
73572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73574         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73578         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73579         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73580         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73581         Likewise.
73582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73586         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73587         (stackinfo_sub_sp): Likewise.
73589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73592         RAX_LP.
73594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73596         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73597         into R*_LP.
73599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73601         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73602         sizes into R*_LP.
73604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73606         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73610         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73611         into R11_LP and load __x86_64_shared_cache_size_half into
73612         R8_LP.
73614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73616         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73617         R8_LP.
73619 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73622         logb for POWER7.
73623         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73624         logbf for POWER7.
73625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73626         logbl for POWER7.
73627         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73628         powerpc32/power7/fpu/s_logb.c via #include.
73629         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73630         powerpc32/power7/fpu/s_logbf.c via #include.
73631         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73632         powerpc32/power7/fpu/s_logbl.c via #include.
73634 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73636         * README.libm: Remove file.
73638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73640         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73641         count for x32.  Use R*_LP and omit operand-size suffix.
73643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73645         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73646         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73647         * sysdeps/x86_64/x32/shlib-versions: New file.
73649 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73651         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73652         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73653         Use _dl_fatal_printf instead.
73655 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73657         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73658         set if not set by the user.  Do not allow for being unset.
73659         * sysdeps/unix/sysv/linux/configure: Regenerated.
73661 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73663         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73664         the `q' suffix from lea and replace .quad with ASM_ADDR.
73666 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73669         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73670         instead of $17.
73671         (PTR_DEMANGLE): Likewise.
73673 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73675         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73676         (LP_OP): Likewise.
73677         (ASM_ADDR): Likewise.
73678         (RAX_LP): Likewise.
73679         (RBP_LP): Likewise.
73680         (RBX_LP): Likewise.
73681         (RCX_LP): Likewise.
73682         (RDI_LP): Likewise.
73683         (RSI_LP): Likewise.
73684         (RSP_LP): Likewise.
73685         (R8_LP): Likewise.
73686         (R9_LP): Likewise.
73687         (R10_LP): Likewise.
73688         (R10_LP): Likewise.
73689         (R11_LP): Likewise.
73690         (R12_LP): Likewise.
73691         (R13_LP): Likewise.
73692         (R14_LP): Likewise.
73693         (R15_LP): Likewise.
73695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73697         * sysdeps/x86_64/x32/dl-machine.h: New file.
73699 2012-05-14  Andreas Jaeger  <aj@suse.de>
73701         * manual/Makefile (subdir): Remove export of subdir.
73702         (all): Remove target.
73703         (.PHONY): Remove all from list.
73704         (mkinstalldirs): Remove.
73705         (.PHONY): Remove installdirs from list.
73706         ($(inst_infodir)/libc.info): Use make-target-directory.
73707         (installdirs): Remove.
73708         (subdir_%): Remove.
73709         (glibc-targets): Remove.
73710         (lib): Remove.
73711         (stubs): Remove.
73712         ($(objpfx)stubs ../po/manual.pot): Remove.
73713         ($(objpfx)stamp%): Remove.
73714         (make-target-directory): Remove.
73715         (subdir_install): Remove.
73716         (routines): Remove.
73717         (aux): Remove.
73718         (sources): Remove.
73719         (objects): Remove.
73720         (headers): Remove.
73722         [BZ #13750]
73723         * manual/.gitignore: Remove, it's not needed anymore.
73724         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73725         all files in it.
73726         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73727         directory.
73728         (texis): Renamed to $(objpfx)texis.
73729         (texis-path): New, contains path to generated files.
73730         (chapters.%): Use texis-path for complete path, add extra argument
73731         libc-texinfo.sh.
73732         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73733         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73734         (summary,texi, stamp-summary): Use complete path of
73735         files. Generate files in build dir.
73736         (dir-add.texi): Build in build dir.
73737         (libm-err.texi,stamp-libm-err): Likewise.
73738         (version.texi, stamp-version): Likewise.
73739         (.%c.texi): Likewise.
73740         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73741         (mostlyclean): Remove target.
73742         (realclean): Remove target.
73743         (generated): Add new variable with contents from mostlyclean and
73744         realclean, remove entries duplicated in common-mostlyclean, add
73745         stamp-libm-err and stamp-version.
73746         (generated-dirs): Add libc directory.
73747         ($(inst_infodir)/libc.info): Install files from build dir.
73749         * manual/install.texi (Configuring and compiling): Adjust since
73750         the info files are not part of the tar ball anymore.
73752 2012-05-14  Andreas Jaeger  <aj@suse.de>
73754         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73755         variable.
73757 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73759         [BZ #13717]
73760         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73761         to 2.2.0 where earlier.
73762         * sysdeps/unix/sysv/linux/configure: Regenerated.
73763         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73764         Remove conditional code.
73765         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73766         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73767         Remove conditional code.
73768         [!__NR_lchown]: Likewise.
73769         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73770         [__NR_lchown]: Likewise.
73771         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73772         comment referencing __ASSUME_LCHOWN_SYSCALL.
73773         * sysdeps/unix/sysv/linux/i386/sigaction.c
73774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73776         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73777         Remove conditional code.
73778         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73779         (__protocol_available): Remove #if 0 code.
73780         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73781         conditional code.
73782         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73783         * sysdeps/unix/sysv/linux/kernel-features.h
73784         (__ASSUME_GETCWD_SYSCALL): Don't define.
73785         (__ASSUME_REALTIME_SIGNALS): Likewise.
73786         (__ASSUME_PREAD_SYSCALL): Likewise.
73787         (__ASSUME_PWRITE_SYSCALL): Likewise.
73788         (__ASSUME_POLL_SYSCALL): Likewise.
73789         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73790         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73791         non-SPARC.
73792         (__ASSUME_SIOCGIFNAME): Don't define.
73793         (__ASSUME_MSG_NOSIGNAL): Likewise.
73794         (__ASSUME_SENDFILE): Define unconditionally.
73795         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73796         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73797         conditional code.
73798         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73799         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73800         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73801         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73802         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73803         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73804         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73806         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73807         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73809         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73812         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73815         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73818         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73821         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73824         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73829         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73830         Remove conditional code.
73831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73832         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73833         Remove conditional code.
73834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73835         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73836         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73837         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73838         Remove conditional code.
73839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73840         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73841         Remove conditional code.
73842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73843         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73844         Remove conditional code.
73845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73846         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73847         Remove conditional code.
73848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73849         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73850         Remove conditional code.
73851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73852         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73855         * sysdeps/unix/sysv/linux/sigaction.c
73856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73858         * sysdeps/unix/sysv/linux/sigpending.c
73859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73861         * sysdeps/unix/sysv/linux/sigprocmask.c
73862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73864         * sysdeps/unix/sysv/linux/sigsuspend.c
73865         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73866         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73867         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73868         (__libc_missing_rt_sigs): Remove.
73869         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73870         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73871         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73872         Remove conditional code.
73873         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73874         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73875         return 1.
73876         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73877         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73878         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73879         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73881 2012-05-14  Andreas Jaeger  <aj@suse.de>
73883         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73884         it's not used in glibc.
73885         (__coshm1): Likewise.
73886         (__acosh1p): Likewise.
73887         (__sgn): Likewise.
73889         * manual/string.texi (Copying and Concatenation): Add missing
73890         variable in concat example.
73891         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73895         [BZ #14103]
73896         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73897         __builtin_clzl with __builtin_clzll.
73899 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73901         [BZ #14104]
73902         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73903         libc_freeres_ptr.
73905 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73907         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73908         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73909         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73910         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73912 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73914         * NEWS: Update ia64 info.
73916 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73918         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73919         used as bcopy.
73921 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73923         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73924         * sysdeps/unix/syscalls.list (dup3): Likewise.
73925         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73926         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73928 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73930         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73931         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73933 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73935         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73936         thread pointer.
73937         (TLS_IE): Use mov/add instead of movq/addq to load thread
73938         pointer.
73939         (TLS_GD_PREFIX): New.
73940         (TLS_GD): Use it.
73942 2012-05-11  David S. Miller  <davem@davemloft.net>
73944         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73945         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73946         (_FPU_SETCW): Likewise.
73948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73950         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73951         is 32-byte aligned.
73953 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73955         [BZ #11837]
73956         * iconvdata/gb18030.c: Update tables.
73957         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73958         characters specially.
73959         (BODY for TO_LOOP): Add encoding of missing ranges.
73961 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73963         [BZ #13673]
73964         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73965         * sysdeps/mach/hurd/dup3.c: Likewise.
73966         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73967         * sysdeps/powerpc/memmove.c:: Likewise.
73969 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73971         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73972         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73976         * elf/elf.h (R_X86_64_RELATIVE64): New.
73977         (R_X86_64_NUM): Updated.
73978         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73979         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73980         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73981         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73982         tst-quad1pie tst-quad2pie
73983         (modules-names): Add tst-quadmod1 tst-quadmod2.
73984         ($(objpfx)tst-quad1): New dependency.
73985         ($(objpfx)tst-quad2): Likewise.
73986         ($(objpfx)tst-quad1pie): Likewise.
73987         ($(objpfx)tst-quad2pie): Likewise.
73988         * sysdeps/x86_64/tst-quad1.c: New file.
73989         * sysdeps/x86_64/tst-quad1pie.c: New file.
73990         * sysdeps/x86_64/tst-quad2.c: Likewise.
73991         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73992         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73993         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73994         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73995         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73997 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73999         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74000         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74001         * streams/stropts.h (t_scalar_t): Define type.
74003         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74004         (_PATH_PRESERVE): Set to "/var/lib".
74005         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74007         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74008         instead of int.
74010         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74011         if __dir_mkfile succeeded.
74013         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74014         checking for _hurd_dtablesize.  Unlock it right after having
74015         finished _hurd_dtable allocation.
74017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74019         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74020         * sysdeps/mach/hurd/configure: Regenerated.
74021         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74022         special-casing to...
74023         * sysdeps/gnu/configure.in: ... this new file.
74024         * sysdeps/unix/sysv/linux/configure: Regenerated.
74025         * sysdeps/gnu/configure: New generated file.
74027         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74028         for Linux: use nsec instead of usec, as well as:
74029         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74030         members of type struct timespec.
74031         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74032         New macros.
74033         (struct stat64): Likewise.
74034         (_STATBUF_ST_NSEC): New macro.
74035         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74037         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74038         __strtoul_internal rather than strtoul.
74040 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74042         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74043         and reject them.
74045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74047         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74048         which preserves existing values.
74049         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74051 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74053         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74054         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74055         greater than FD_SETSIZE.
74057 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74059         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74060         allocated, call __vm_protect to finish enabling the existing space, and
74061         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74062         allocate the remainder.
74064 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74066         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74067         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74071         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74072         sysdeps/mach/hurd/readlink.c.
74074         * posix/tst-sysconf.c (posix_options): Only use
74075         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74076         _POSIX_SYNCHRONIZED_IO when they are defined
74077         * sysdeps/mach/hurd/bits/posix_opt.h:
74078         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74079         (_XOPEN_REALTIME): Undefine macro.
74080         (_XOPEN_REALTIME_THREADS): Undefine macro.
74081         (_XOPEN_SHM): Undefine macro.
74082         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74083         macro to -1.
74084         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74085         macro to -1.
74086         (_POSIX_ASYNC_IO): Undefine macro.
74087         (_POSIX_PRIORITIZED_IO): Undefine macro.
74088         (_POSIX_SPIN_LOCKS): Define macro to -1.
74090         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74091         SA_NODEFER, SA_RESETHAND.
74092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74093         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74094         F_DUPFD_CLOEXEC.
74096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74098         * elf/Makefile (pldd-modules): Define unconditionally.
74100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74102         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74106         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74107         Return ENOENT when name is empty.
74108         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74112         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74114         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74118         Fix mlock in all cases except non-readable pages.
74119         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74120         instead of VM_PROT_ALL as parameter to __vm_wire function.
74122         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74123         (__mkdir): When path is `/', just fail with EEXIST.
74124         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74128         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74129         <sys/uio.h> (for writev).
74130         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74131         and <sys/param.h> (for MIN).
74133 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74135         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74136         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74137         if interrupted.
74139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74141         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74142         Depend on against $(link-rpcuserlibs).
74144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74146         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74147         (__libc_stack_end): Do not use attribute_relro.
74148         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74149         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74150         to libthread-provided value.
74151         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74152         attribute_relro.
74154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74156         [BZ #3748]
74157         * bits/libc-lock.h (__libc_once_get): New macro.
74158         * sysdeps/mach/bits/libc-lock.h: Likewise.
74159         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74161         instead of using implementation details.
74163         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74164         * libio/freopen.c: Likewise.
74165         * libio/freopen64.c: Likewise.
74166         * misc/syslog.c: Likewise.
74167         * nscd/connections.c: Likewise.
74168         * nscd/netgroupcache.c: Likewise.
74169         * sysdeps/posix/getcwd.c: Likewise.
74171 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74173         * math/w_ilogbf.c: Add #include <limits.h>.
74175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74177         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74178         path instead of returning without unlocking.
74180         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74181         immediate-write ioctls.
74182         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74186         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74187         __builtin_frame_address instead of making assumptions about the
74188         location of the return address relative to DATA.  Force early load of
74189         the return address.
74190         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74191         __builtin_frame_address.
74193         dup3 for GNU Hurd.
74194         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74195         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74196         implement dup3 and do some further code clean-ups.
74197         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74198         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74200 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74202         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74204         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74205         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74206         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74207         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74208         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74209         d->port.lock.
74211         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74212         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74213         when handler == SIG_ERR, not when handler != SIG_ERR.
74215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74217         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74218         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74219         definitions.
74221         accept4 for GNU Hurd.
74222         * include/sys/socket.h (__libc_accept4): New prototype.
74223         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74224         to implement __libc_accept4.
74225         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74226         __libc_accept4.
74227         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74229         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74230         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74231         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74232         signal-defines.sym.
74234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74236         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74240         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74241         assertion on O_CLOEXEC flag.
74242         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74243         * hurd/intern-fd.c: Likewise.
74244         * hurd/port2fd.c: Likewise.
74246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74248         [BZ #3906]
74249         * bits/in.h (IPV6_PKTINFO): Define new macro.
74250         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74252 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74254         [BZ #13954]
74255         [BZ #13955]
74256         [BZ #13956]
74257         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74259         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74260         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74262         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74263         * math/libm-test.inc (logb_test) : Additional logb tests.
74265 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74266             Andreas Jaeger  <aj@suse.de>
74268         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74269         * configure: Regenerated.
74270         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74271         * config.make.in (link-obsolete-rpc): New substituted variable.
74272         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74273         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74274         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74275         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74276         so that libc.a contains the symbols.
74277         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74278         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74279         * sunrpc/auth_none.c: Likewise.
74280         * sunrpc/auth_unix.c: Likewise.
74281         * sunrpc/authdes_prot.c: Likewise.
74282         * sunrpc/authuxprot.c: Likewise.
74283         * sunrpc/clnt_gen.c: Likewise.
74284         * sunrpc/clnt_perr.c: Likewise.
74285         * sunrpc/clnt_raw.c: Likewise.
74286         * sunrpc/clnt_simp.c: Likewise.
74287         * sunrpc/clnt_tcp.c: Likewise.
74288         * sunrpc/clnt_udp.c: Likewise.
74289         * sunrpc/clnt_unix.c: Likewise.
74290         * sunrpc/des_crypt.c: Likewise.
74291         * sunrpc/des_soft.c: Likewise.
74292         * sunrpc/get_myaddr.c: Likewise.
74293         * sunrpc/key_call.c: Likewise.
74294         * sunrpc/key_prot.c: Likewise.
74295         * sunrpc/netname.c: Likewise.
74296         * sunrpc/pm_getmaps.c: Likewise.
74297         * sunrpc/pm_getport.c: Likewise.
74298         * sunrpc/pmap_clnt.c: Likewise.
74299         * sunrpc/pmap_prot.c: Likewise.
74300         * sunrpc/pmap_prot2.c: Likewise.
74301         * sunrpc/pmap_rmt.c: Likewise.
74302         * sunrpc/publickey.c: Likewise.
74303         * sunrpc/rpc_cmsg.c: Likewise.
74304         * sunrpc/rpc_common.c: Likewise.
74305         * sunrpc/rpc_dtable.c: Likewise.
74306         * sunrpc/rpc_prot.c: Likewise.
74307         * sunrpc/rpc_thread.c: Likewise.
74308         * sunrpc/rtime.c: Likewise.
74309         * sunrpc/svc.c: Likewise.
74310         * sunrpc/svc_auth.c: Likewise.
74311         * sunrpc/svc_raw.c: Likewise.
74312         * sunrpc/svc_run.c: Likewise.
74313         * sunrpc/svc_tcp.c: Likewise.
74314         * sunrpc/svc_udp.c: Likewise.
74315         * sunrpc/svc_unix.c: Likewise.
74316         * sunrpc/svcauth_des.c: Likewise.
74317         * sunrpc/xcrypt.c: Likewise.
74318         * sunrpc/xdr.c: Likewise.
74319         * sunrpc/xdr_array.c: Likewise.
74320         * sunrpc/xdr_float.c: Likewise.
74321         * sunrpc/xdr_intXX_t.c: Likewise.
74322         * sunrpc/xdr_mem.c: Likewise.
74323         * sunrpc/xdr_rec.c: Likewise.
74324         * sunrpc/xdr_ref.c: Likewise.
74325         * sunrpc/xdr_sizeof.c: Likewise.
74326         * sunrpc/xdr_stdio.c: Likewise.
74328 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74331         change.  Update copyright years.
74333 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74335         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74337 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74338             Joseph Myers  <joseph@codesourcery.com>
74339             Paul Pluzhnikov  <ppluzhnikov@google.com>
74341         [BZ #14012]
74342         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74343         requiring rpcgen.
74344         [cross-compiling] (extra-libs): Likewise.
74345         [cross-compiling] (extra-libs-others): Likewise.
74346         [cross-compiling] (librpcsvc-routines): Likewise.
74347         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74348         [cross-compiling] (omit-deps): Likewise.
74349         (sunrpc-CPPFLAGS): New variable.
74350         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74351         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74352         (cross-rpcgen-objs): New variable.
74353         (extra-objs): Append $(cross-rpcgen-objs).
74354         ($(cross-rpcgen-objs)): New rule.
74355         ($(objpfx)cross-rpcgen): Likewise.
74356         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74357         comment.
74358         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74359         ($(objpfx)x%.stmp): Likewise.
74360         * sunrpc/proto.h [IS_IN_build] (_): Define.
74361         [IS_IN_build] (_libc_intl_domainname): Likewise.
74363 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74366         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74367         and R_X86_64_TPOFF64.
74369 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74371         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74372         sysdeps/unix/sysv/syscalls.list.
74373         (stime): Likewise.
74374         (utime): Likewise.
74375         * sysdeps/unix/sysv/syscalls.list: Remove file.
74377 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74379         [BZ #3440]
74380         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74381         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74382         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74383         (__LC_IDENTIFICATION): Make these macros useful in #if
74384         expressions, as required by C99.
74386 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74388         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74389         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74390         after this.
74392 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74394         * stdlib/longlong.h: Updated from GCC.
74396 2012-05-09  Andreas Jaeger  <aj@suse.de>
74398         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74399         default is first entry.
74400         (run_mode): Set type.
74401         (main): Remove informal message about syslog.
74402         (options): Fix typo.
74404         [BZ #14053]
74405         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74406         to asm.
74407         (lrint): Likewise.
74408         (llrintf): Likewise.
74409         (llrint): Likewise.
74410         (rint): Likewise.
74411         (rintf): Likewise.
74412         (nearbyint): Likewise.
74413         (nearbyintf): Likewise.
74415 2012-05-09  Andreas Jaeger  <aj@suse.de>
74416             Pedro Alves  <palves@redhat.com>
74418         * nscd/nscd.c (run_mode): Use enum.
74419         (main): Cleanup coding style issue.
74421 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74422             Andreas Jaeger  <aj@suse.de>
74424         * nscd/nscd.c (go_background): Replaced with...
74425         (run_mode): ... this.
74426         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74427         (options): Add -F --foreground.
74428         (main): Implement it.
74429         (parse_opt): Parse it.
74431 2012-05-09  Andreas Jaeger  <aj@suse.de>
74433         [BZ #14083]
74434         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74435         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74436         -Wconversion warning.
74437         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74438         Likewise.
74440 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74442         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74443         == 0.
74444         (LC_ALL): Use macro-int-constant.
74445         (LC_COLLATE): Likewise.
74446         (LC_CTYPE): Likewise.
74447         (LC_MESSAGES): Likewise.
74448         (LC_MONETARY): Likewise.
74449         (LC_NUMERIC): Likewise.
74450         (LC_TIME): Likewise.
74451         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74452         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74454         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74455         Specify type.
74456         [C99-based standards] (float_t): Expect type.
74457         [C99-based standards] (double_t): Expect type.
74458         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74459         type.
74460         [C99-based standards] (HUGE_VALL): Likewise.
74461         [C99-based standards] (INFINITY): Likewise.
74462         [C99-based standards] (NAN): Likewise.
74463         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74464         [C99-based standards] (FP_NAN): Likewise.
74465         [C99-based standards] (FP_NORMAL): Likewise.
74466         [C99-based standards] (FP_SUBNORMAL): Likewise.
74467         [C99-based standards] (FP_ZERO): Likewise.
74468         [C99-based standards] (FP_FAST_FMA): Use
74469         optional-macro-int-constant.  Specify type.  Require == 1.
74470         [C99-based standards] (FP_FAST_FMAF): Likewise.
74471         [C99-based standards] (FP_FAST_FMAL): Likewise.
74472         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74473         [C99-based standards] (FP_ILOGBNAN): Likewise.
74474         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74475         Specify type.
74476         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74477         [C99-based standards] (math_errhandling): Specify type.
74478         [ISO99 || ISO11] (signgam): Do not allow.
74479         [non-C99-based standards] (copysignf): Do not allow.
74480         [non-C99-based standards] (exp2f): Likewise.
74481         [non-C99-based standards] (log2f): Likewise.
74482         [non-C99-based standards] (modff): Allow.
74483         [non-C99-based standards] (erff): Do not allow.
74484         [non-C99-based standards] (erfcf): Likewise.
74485         [non-C99-based standards] (gammaf): Likewise.
74486         [non-C99-based standards] (hypotf): Likewise.
74487         [non-C99-based standards] (j0f): Likewise.
74488         [non-C99-based standards] (j1f): Likewise.
74489         [non-C99-based standards] (jnf): Likewise.
74490         [non-C99-based standards] (lgammaf): Likewise.
74491         [non-C99-based standards] (tgammaf): Likewise.
74492         [non-C99-based standards] (y0f): Likewise.
74493         [non-C99-based standards] (y1f): Likewise.
74494         [non-C99-based standards] (ynf): Likewise.
74495         [non-C99-based standards] (isnanf): Likewise.
74496         [non-C99-based standards] (acoshf): Likewise.
74497         [non-C99-based standards] (asinhf): Likewise.
74498         [non-C99-based standards] (atanhf): Likewise.
74499         [non-C99-based standards] (cbrtf): Likewise.
74500         [non-C99-based standards] (expm1f): Likewise.
74501         [non-C99-based standards] (ilogbf): Likewise.
74502         [non-C99-based standards] (log1pf): Likewise.
74503         [non-C99-based standards] (logbf): Likewise.
74504         [non-C99-based standards] (nextafterf): Likewise.
74505         [non-C99-based standards] (remainderf): Likewise.
74506         [non-C99-based standards] (rintf): Likewise.
74507         [non-C99-based standards] (scalbf): Likewise.
74508         [non-C99-based standards] (copysignl): Likewise.
74509         [non-C99-based standards] (exp2l): Likewise.
74510         [non-C99-based standards] (log2l): Likewise.
74511         [non-C99-based standards] (modfl): Allow.
74512         [non-C99-based standards] (erfl): Do not allow.
74513         [non-C99-based standards] (erfcl): Likewise.
74514         [non-C99-based standards] (gammal): Likewise.
74515         [non-C99-based standards] (hypotl): Likewise.
74516         [non-C99-based standards] (j0l): Likewise.
74517         [non-C99-based standards] (j1l): Likewise.
74518         [non-C99-based standards] (jnl): Likewise.
74519         [non-C99-based standards] (lgammal): Likewise.
74520         [non-C99-based standards] (tgammal): Likewise.
74521         [non-C99-based standards] (y0l): Likewise.
74522         [non-C99-based standards] (y1l): Likewise.
74523         [non-C99-based standards] (ynl): Likewise.
74524         [non-C99-based standards] (isnanl): Likewise.
74525         [non-C99-based standards] (acoshl): Likewise.
74526         [non-C99-based standards] (asinhl): Likewise.
74527         [non-C99-based standards] (atanhl): Likewise.
74528         [non-C99-based standards] (cbrtl): Likewise.
74529         [non-C99-based standards] (expm1l): Likewise.
74530         [non-C99-based standards] (ilogbl): Likewise.
74531         [non-C99-based standards] (log1pl): Likewise.
74532         [non-C99-based standards] (logbl): Likewise.
74533         [non-C99-based standards] (nextafterl): Likewise.
74534         [non-C99-based standards] (remainderl): Likewise.
74535         [non-C99-based standards] (rintl): Likewise.
74536         [non-C99-based standards] (scalbl): Likewise.
74537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74538         [non-C99-based standards] (FP_*): Do not allow.
74539         [C99-based standards] (FP_*): Change to
74540         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74541         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74542         allow.
74543         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74544         (SIG_ERR): Likewise.
74545         [X/Open-based standards] (SIG_HOLD): Likewise.
74546         (SIG_IGN): Likewise.
74547         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74548         positive value.
74549         (SIGFPE): Likewise.
74550         (SIGILL): Likewise.
74551         (SIGINT): Likewise.
74552         (SIGSEGV): Likewise.
74553         (SIGTER): Likewise.
74554         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74555         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74556         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74557         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74558         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74559         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74560         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74561         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74562         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74563         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74564         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74565         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74566         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74567         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74568         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74569         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74570         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74571         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74572         [X/Open-based standards] (SIGTRAP): Likewise.
74573         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74574         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74575         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74576         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74577         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74578         allow.
74580 2012-05-08  Ian Wienand  <ianw@vmware.com>
74582         [BZ #14080]
74583         * time/tzset.c (__tzset_parse_tz): Update default rules for
74584         daylight time changes in the Energy Policy Act of 2005.
74586 2012-05-09  Andreas Jaeger  <aj@suse.de>
74588         [BZ #13983]
74589         * elf/ldconfig.c (parse_conf): Change string to make clear that
74590         ldconfig only issued a warning if ld.so.conf does not exist.
74592 2012-05-08  David S. Miller  <davem@davemloft.net>
74594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74595         movxtod instead of popping the value on the stack.
74597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74599 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74601         * config.h.in: Add HAVE_ARM_PCS_VFP.
74603 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74605         [BZ #13979]
74606         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74607         checking but the checks are disabled for any reason.
74609 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74611         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74612         and ELF64_R_TYPE with ELFW(R_TYPE).
74614 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74616         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74617         (ulimit): Likewise.
74619         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74620         (settimeofday): Likewise.
74622 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74624         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74625         a struct th_u2 inside the union, and move tu_block/tu_code into
74626         a new th_u3 union of tu_block/tu_code inside of that.  Move
74627         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74628         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74629         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74630         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74631         (th_stuff): Change to th_u1.tu_stuff.
74632         (th_data): Define.
74633         (th_msg): Change to th_u1.th_u2.tu_data.
74635 2012-05-07  David S. Miller  <davem@davemloft.net>
74637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74639         [BZ #14074]
74640         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74641         (SETUP_PIC_REG): Use it.
74642         (SETUP_PIC_REG_LEAF): Use it.
74644 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74646         [BZ #13885]
74647         [BZ #13923]
74648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74649         USE_AS_EXPM1L.
74650         (EXPL_FINITE): Likewise.
74651         (FLDLOG): Likewise.
74652         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74653         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74654         e_expl.S.
74655         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74656         USE_AS_EXPM1L.
74657         (EXPL_FINITE): Likewise.
74658         (FLDLOG): Likewise.
74659         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74660         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74661         e_expl.S.
74662         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74663         test of -max_value argument for long double.
74664         * sysdeps/i386/fpu/libm-test-ulps: Update.
74665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74667 2012-05-06  David S. Miller  <davem@davemloft.net>
74669         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74670         quad soft-float symbols whose references which are compiler
74671         generated.
74672         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74674 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74676         [BZ #13884]
74677         [BZ #13914]
74678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74679         USE_AS_EXP10L.
74680         (EXPL_FINITE): Likewise.
74681         (FLDLOG): Likewise.
74682         (c0): Likewise.
74683         (c1): Likewise.
74684         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74685         Adjust comments for base varying.
74686         (__expl_finite): Change alias to EXPL_FINITE.
74687         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74688         e_expl.S.
74689         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74690         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74691         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74692         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74693         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74694         USE_AS_EXP10L.
74695         (EXPL_FINITE): Likewise.
74696         (FLDLOG): Likewise.
74697         (c0): Likewise.
74698         (c1): Likewise.
74699         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74700         Adjust comments for base varying.
74701         (__expl_finite): Change alias to EXPL_FINITE.
74702         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74703         tests for bugs.
74704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74706         [BZ #14064]
74707         * math/libm-test.inc (check_float_internal): Correct ulp
74708         calculation for subnormal expected results.
74710 2012-05-06  Andreas Jaeger  <aj@suse.de>
74712         * Makeconfig (+math-flags): New, set to -frounding-math.
74713         (+cflags): Add +math-flags so that all of glibc gets compiled with
74714         it.
74716         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74718 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74720         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74721         Disable one test.
74723         [BZ #13787]
74724         [BZ #13922]
74725         [BZ #14036]
74726         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74727         (__ieee754_expl): Allow for and saturate large arguments.
74728         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74729         (u_threshold): Likewise.
74730         (__exp): Call __ieee754_exp before checking for overflow and
74731         underflow.
74732         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74733         (u_threshold): Likewise.
74734         (__expf): Call __ieee754_expf before checking for overflow and
74735         underflow.
74736         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74737         (u_threshold): Likewise.
74738         (__expl): Call __ieee754_expl before checking for overflow and
74739         underflow.
74740         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74741         (__ieee754_expl): Allow for and saturate large arguments.
74742         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74743         missing overflow exception on overflow.
74744         (expm1_test): Do not allow missing overflow exception on overflow.
74746         * sysdeps/i386/fpu/e_expl.c: Move to ...
74747         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74748         rather than using inline asm.
74749         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74750         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74751         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74753         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74754         (nice): Likewise.
74755         (poll): Likewise.
74756         (signal): Likewise.
74757         (time): Likewise.
74758         (times): Likewise.
74760 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74762         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74763         sysdeps/unix/common/syscalls.list.
74764         (fchmod): Likewise.
74765         (fchown): Likewise.
74766         (ftruncate): Likewise.
74767         (getrusage): Likewise.
74768         (gettimeofday): Likewise.
74769         (setpgid): Likewise.
74770         (setregid): Likewise.
74771         (setreuid): Likewise.
74772         (sigaction): Likewise.
74773         (truncate): Likewise.
74774         (vhangup): Likewise.
74775         * sysdeps/unix/common/syscalls.list: Remove file.
74776         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74777         * sysdeps/unix/sysv/linux/Implies: Likewise.
74779 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74781         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74783         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74784         Moved to ...
74785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74786         Here.
74787         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74788         to ...
74789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74790         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74791         to ...
74792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74793         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74794         to ...
74795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74796         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74797         to ...
74798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74799         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74800         to ...
74801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74802         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74803         to ...
74804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74805         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74806         to ...
74807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74808         Here.
74809         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74810         to ...
74811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74812         Here.
74813         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74814         to ...
74815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74816         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74817         Moved to ...
74818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74819         Here.
74820         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74821         to ...
74822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74824 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74826         * sysdeps/unix/common/bits/dirent.h: Remove file.
74827         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74829         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74830         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74831         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74832         * sysdeps/unix/bsd/isatty.c: Likewise.
74833         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74834         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74835         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74837 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74839         [BZ #13563]
74840         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74841         long double comparison inaccuracies.
74842         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74845 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74847         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74848         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74850 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74852         [BZ #14049]
74853         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74854         nonzero digits before rounding a hex value.
74855         * stdlib/tst-strtod.c (tests): Add another test.
74857 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74859         * sysdeps/s390/fpu/libm-test-ulps: Update.
74861 2012-05-03  Andreas Jaeger  <aj@suse.de>
74863         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74864         does not get optimized out.
74865         (malloc_opt_barrier): New.
74867 2012-05-03  Andreas Jaeger  <aj@suse.de>
74868             Roland McGrath  <roland@hack.frob.com>
74870         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74871         intermediate file deletion.
74872         (generated): Add .symlist files.
74874 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74876         [BZ #13775]
74877         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74878         Redirect under this condition.
74879         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74880         [__USE_GNU] (__dprintf_chk): Not under this condition.
74881         [__USE_GNU] (__vdprintf_chk): Likewise.
74882         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74883         under this condition.
74884         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74885         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74886         [__USE_XOPEN2K8] (vdprintf): Likewise.
74887         [__USE_GNU] (__dprintf_chk): Not under this condition.
74888         [__USE_GNU] (__vdprintf_chk): Likewise.
74889         [__USE_GNU] (dprintf): Likewise.
74890         [__USE_GNU] (vdprintf): Likewise.
74892 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74894         * elf/Makefile (common-generated): Set this instead of generated for
74895         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74896         $(all-built-dso)-derived lists.
74898 2012-05-03  Andreas Jaeger  <aj@suse.de>
74900         * sysdeps/i386/fpu/libm-test-ulps: Update.
74902         * FAQ: Removed.
74903         * FAQ.in: Likewise.
74904         * scripts/gen-FAQ.pl: Likewise.
74905         * manual/install.texi (Installation): Point to online location of
74906         FAQ.
74907         * Makefile (files-for-dist): Remove FAQ.
74908         (FAQ): Remove.
74910 2012-05-02  Allan McRae  <allan@archlinux.org>
74912         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74913         (LDFLAGS-reldepmod5.so): Likewise.
74914         (LDFLAGS-reldep6mod1.so): Likewise.
74915         (LDFLAGS-reldep6mod4.so): Likewise.
74916         (LDFLAGS-reldep8mod3.so): Likewise.
74917         (LDFLAGS-unload4mod1.so): Likewise.
74918         (LDFLAGS-unload4mod2.so): Likewise.
74919         (LDFLAGS-tst-initorder): Likewise.
74920         (LDFLAGS-tst-initordera2.so): Likewise.
74921         (LDFLAGS-tst-initordera3.so): Likewise.
74922         (LDFLAGS-tst-initordera4.so): Likewise.
74923         (LDFLAGS-tst-initorderb2.so): Likewise.
74924         (LDFLAGS-noload): Likewise.
74925         (LDFLAGS-next): Likewise.
74926         (LDFLAGS-order2mod1.so): Likewise.
74927         (LDFLAGS-order2mod2.so): Likewise.
74928         (LDFLAGS-tst-initorder2): Likewise.
74929         (LDFLAGS-tst-initorder2a.so): Likewise.
74930         (LDFLAGS-tst-initorder2b.so): Likewise.
74931         (LDFLAGS-tst-initorder2c.so): Likewise.
74932         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74934 2012-05-02  David S. Miller  <davem@davemloft.net>
74936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74938 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74940         [BZ #14055]
74941         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74943 2012-05-02  Andreas Jaeger  <aj@suse.de>
74945         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74946         since we manipulate rounding mode.
74947         (CPPFLAGS-test-idouble.c): Likewise.
74948         (CPPFLAGS-test-ifloat.c): Likewise.
74949         (CFLAGS-test-ldouble.c): Likewise.
74950         (CFLAGS-test-double.c): Likewise.
74951         (CFLAGS-test-float.c): Likewise.
74952         (CFLAGS-test-misc.c): Likewise.
74953         (CFLAGS-test-test-fenv.c): Likewise.
74955 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74957         [BZ #2550]
74958         [BZ #2570]
74959         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74960         comparisons to determine direction to adjust input.
74962 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74964         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74965         output to the target.
74967         * scripts/localplt.awk: New file.
74968         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74969         (check-localplt-CFLAGS): Variable removed.
74970         ($(all-built-dso:=.jmprel)): New static pattern rule.
74971         (generated): Add those targets.
74972         (localplt-built-dso): New variable.
74973         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74975         * elf/check-localplt.c: File removed.
74977         * scripts/check-execstack.awk: New file.
74978         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74979         (check-execstack-CFLAGS): Variable removed.
74980         ($(objpfx)check-execstack.h): Target removed.
74981         ($(objpfx)execstack-default): New target.
74982         (generated): Add that instead of check-execstack.h.
74983         ($(all-built-dso:=.phdr)): New static pattern rule.
74984         (generated): Add those targets.
74985         * elf/check-execstack.c: File removed.
74987         * scripts/check-textrel.awk: New file.
74988         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74989         (check-textrel-CFLAGS): Variable removed.
74990         (all-built-dso): Use := to define.o
74991         ($(all-built-dso:=.dyn)): New static pattern rule.
74992         (generated): Add those targets.
74993         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74994         * config.make.in (READELF): New substituted variable.
74995         * elf/check-textrel.c: File removed.
74997 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74999         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75000         allow.
75001         * conform/data/ctype.h-data [C99-based standards] (isblank):
75002         Expect function.
75003         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75004         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75006         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75007         Specify type.  Require positive value.
75008         (EILSEQ): Likewise.
75009         (ERANGE): Likewise.
75010         [ISO || POSIX] (EILSEQ): Do not expect.
75011         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75012         Specify type.  Require positive value.
75013         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75014         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75015         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75016         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75017         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75018         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75019         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75020         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75021         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75022         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75023         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75024         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75025         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75026         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75027         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75028         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75029         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75030         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75031         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75032         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75033         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75034         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75035         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75036         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75037         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75038         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75039         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75040         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75041         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75042         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75043         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75044         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75045         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75046         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75047         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75048         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75049         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75050         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75051         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75052         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75053         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75054         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75055         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75056         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75057         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75058         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75059         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75060         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75061         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75062         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75063         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75064         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75065         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75066         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75067         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75068         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75069         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75070         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75071         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75072         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75073         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75074         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75075         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75076         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75077         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75078         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75079         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75080         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75081         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75082         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75083         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75084         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75085         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75086         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75087         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75088         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75089         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75090         Require >= 2.
75091         (FLT_ROUNDS): Expect as macro, not constant.
75092         (FLT_MANT_DIG): Use macro-int-constant.
75093         (DBL_MANT_DIG): Likewise.
75094         (LDBL_MANT_DIG): Likewise.
75095         (FLT_DIG): Likewise.
75096         (DBL_DIG): Likewise.
75097         (LDBL_DIG): Likewise.
75098         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75099         (DBL_MIN_EXP): Likewise.
75100         (LDBL_MIN_EXP): Likewise.
75101         (FLT_MAX_EXP): Use macro-int-constant.
75102         (DBL_MAX_EXP): Likewise.
75103         (LDBL_MAX_EXP): Likewise.
75104         (FLT_MAX_10_EXP): Likewise.
75105         (DBL_MAX_10_EXP): Likewise.
75106         (LDBL_MAX_10_EXP): Likewise.
75107         (FLT_MAX): Use macro-constant.
75108         (DBL_MAX): Likewise.
75109         (LDBL_MAX): Likewise.
75110         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75111         (DBL_EPSILON): Likewise.
75112         (LDBL_EPSILON): Likewise.
75113         (FLT_MIN): Likewise.
75114         (DBL_MIN): Likewise.
75115         (LDBL_MIN): Likewise.
75116         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75117         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75118         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75119         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75120         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75121         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75122         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75123         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75124         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75125         [ISO11] (FLT_TRUE_MIN): Likewise.
75126         [ISO11] (LDBL_TRUE_MIN): Likewise.
75127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75128         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75129         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75130         (SCHAR_MAX): Likewise.
75131         (UCHAR_MAX): Likewise.
75132         (CHAR_MIN): Likewise.
75133         (CHAR_MAX): Likewise.
75134         (MB_LEN_MAX): Use macro-int-constant.
75135         (SHRT_MIN): Use macro-int-constant.  Specify type.
75136         (SHRT_MAX): Likewise.
75137         (USHRT_MAX): Likewise.
75138         (INT_MAX): Likewise.
75139         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75140         bound negative.
75141         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75142         bound with "U".
75143         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75144         bound with "L".
75145         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75146         bound negative.  Suffix upper bound with "L".
75147         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75148         bound with "UL".
75149         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75150         Specify type.
75151         [C99-based standards] (LLONG_MAX): Likewise.
75152         [C99-based standards] (ULLONG_MAX): Likewise.
75153         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75154         == 0.
75155         [ISO11] (max_align_t): Require type.
75156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75158         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75159         from $CFLAGS, without defining away __attribute__ calls.
75160         (checknamespace): Use $CFLAGS_namespace.
75162         * conform/conformtest.pl (@keywords): Only include C99 keywords
75163         for standards based on C99 or C11.
75165         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75166         Disable tests.
75167         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75168         UNIX98]: Likewise.
75170         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75171         usability of symbols in #if.
75173         * conform/conformtest.pl: If macro or constant types start
75174         "promoted:", expect the symbol to be of the following type
75175         promoted by the integer promotions.
75177         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75178         in one place.  Also handle "macro-constant".
75180         * conform/conformtest.pl: Only accept expected macro values with
75181         "==".  Parse all "macro" lines in one place.
75182         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75184         * conform/conformtest.pl: Handle braced types on "constant" lines
75185         instead of handling "typed-constant".
75186         * conform/data/signal.h-data: Use "constant" instead of
75187         "typed-constant".
75189         * conform/conformtest.pl: Handle "optional-" at start of lines in
75190         one place rather than duplicating several cases.  Handle each
75191         format of "macro" line with initial "optional-".
75193         * conform/conformtest.pl: Only accept expected constant or
75194         optional-constant values with "==".  Parse all "constant" lines in
75195         one place.  Parse all "optional-constant" lines in one place.
75196         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75197         * conform/data/fmtmsg.h-data: Likewise.
75198         * conform/data/netinet/in.h-data: Likewise.
75199         * conform/data/tar.h-data: Likewise.
75200         * conform/data/limits.h-data: Use "==" form on "constant" and
75201         "optional-constant" lines.
75203         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75204         Use -std=c99 for XOPEN2K.
75205         (@knownproblems): Remove.
75206         (newtoken): Don't check %isknown.
75208         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75209         Do not expect macro.
75210         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75211         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75212         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75213         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75214         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75215         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75216         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75217         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75218         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75219         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75220         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75221         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75222         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75223         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75224         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75225         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75226         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75227         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75228         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75229         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75230         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75231         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75232         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75233         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75234         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75235         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75236         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75237         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75238         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75239         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75240         [XPG3] (acosh): Likewise.
75241         [XPG3] (asinh): Likewise.
75242         [XPG3] (atanh): Likewise.
75243         [XPG3] (cbrt): Likewise.
75244         [XPG3] (expm1): Likewise.
75245         [XPG3] (ilogb): Likewise.
75246         [XPG3] (log1p): Likewise.
75247         [XPG3] (logb): Likewise.
75248         [XPG3] (nextafter): Likewise.
75249         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75250         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75251         [XPG3] (remainder): Likewise.
75252         [XPG3] (rint): Likewise.
75253         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75254         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75255         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75256         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75257         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75258         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75259         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75260         [UNIX98 || XOPEN2K] (scalb): Expect.
75261         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75262         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75263         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75264         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75265         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75266         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75267         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75268         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75269         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75270         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75271         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75272         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75273         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75274         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75275         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75276         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75277         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75278         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75279         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75280         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75281         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75282         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75283         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75284         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75285         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75286         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75287         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75288         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75289         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75290         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75291         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75292         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75293         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75294         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75295         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75296         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75297         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75298         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75299         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75300         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75301         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75302         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75303         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75304         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75305         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75306         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75307         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75308         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75309         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75310         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75311         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75312         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75313         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75314         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75315         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75316         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75317         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75318         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75319         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75320         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75321         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75322         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75323         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75324         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75325         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75326         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75327         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75328         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75329         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75330         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75331         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75332         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75333         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75334         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75335         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75336         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75337         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75338         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75339         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75340         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75341         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75342         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75343         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75344         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75345         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75346         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75347         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75348         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75349         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75350         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75351         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75352         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75353         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75354         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75355         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75356         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75357         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75358         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75359         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75360         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75361         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75362         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75363         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75364         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75365         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75366         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75367         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75368         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75369         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75370         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75371         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75372         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75373         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75374         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75375         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75376         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75377         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75378         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75379         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75380         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75381         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75382         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75383         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75384         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75385         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75386         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75387         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75388         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75389         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75390         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75391         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75392         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75393         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75394         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75395         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75396         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75397         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75399         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75400         _XOPEN_SOURCE_EXTENDED for XPG4.
75402         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75404         * Makeconfig (localtime): Remove variable.
75405         (inst_localtime-file): Likewise.
75407 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75410         Update.
75411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75412         Update.
75413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75414         Update.
75415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75416         Update.
75417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75418         Update.
75419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75420         Update.
75421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75422         Update.
75423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75424         Update.
75425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75426         Update.
75428 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75430         [BZ #2550]
75431         [BZ #2570]
75432         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75433         comparisons to determine direction to adjust input.
75434         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75435         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75436         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75437         Likewise.
75438         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75439         Likewise.
75440         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75441         Likewise.
75442         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75443         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75444         Likewise.
75445         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75446         Likewise.
75447         * math/libm-test.inc (nexttoward_test): Add more tests.
75449 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75451         [BZ #14040]
75452         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75453         in version GLIBC_2.1, not GLIBC_2.0.
75454         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75455         Likewise.
75457 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75459         [BZ #13942]
75460         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75461         (1 - x) * (1 + x).
75462         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75463         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75464         * math/libm-test.inc (acos_test): Add more tests.
75465         (asin_test): Likewise.
75466         * sysdeps/i386/fpu/libm-test-ulps: Update.
75467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75469         [BZ #14034]
75470         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75471         of square root.
75472         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75473         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75474         * math/libm-test.inc (acos_test_tonearest): New function.
75475         (acos_test_towardzero): Likewise.
75476         (acos_test_downward): Likewise.
75477         (acos_test_upward): Likewise.
75478         (asin_test_tonearest): Likewise.
75479         (asin_test_towardzero): Likewise.
75480         (asin_test_downward): Likewise.
75481         (asin_test_upward): Likewise.
75482         (main): Call the new functions.
75483         * sysdeps/i386/fpu/libm-test-ulps: Update.
75484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75486         [BZ #13884]
75487         [BZ #13924]
75488         * math/e_exp10.c: Include <float.h>.
75489         (__ieee754_exp10): Handle underflow here rather than multiplying
75490         large negative argument by M_LN10.
75491         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75492         of __ieee754_expf.
75493         * math/e_exp10l.c: Include <float.h>.
75494         (__ieee754_exp10l): Handle underflow here rather than multiplying
75495         large negative argument by M_LN10l.
75496         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75497         spurious overflow exception on underflow.
75499 2012-04-29  Marek Polacek  <polacek@redhat.com>
75501         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75502         (__fortify_function): New macro.
75503         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75504         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75505         __extern_always_inline.
75506         * libio/bits/stdio2.h: Likewise.
75507         * libio/bits/stdio.h: Likewise.
75508         * string/string.h: Likewise.
75509         * string/bits/string3.h: Likewise.
75510         * include/stdio.h: Likewise.
75511         * stdlib/bits/stdlib.h: Likewise.
75512         * stdlib/stdlib.h: Likewise.
75513         * rt/bits/mqueue2.h: Likewise.
75514         * rt/mqueue.h: Likewise.
75515         * posix/bits/unistd.h: Likewise.
75516         * posix/unistd.h: Likewise.
75517         * io/bits/poll2.h: Likewise.
75518         * io/bits/fcntl2.h: Likewise.
75519         * io/fcntl.h: Likewise.
75520         * io/sys/poll.h: Likewise.
75521         * misc/bits/syslog.h: Likewise.
75522         * misc/bits/syslog-ldbl.h: Likewise.
75523         * misc/sys/syslog.h: Likewise.
75524         * socket/bits/socket2.h: Likewise.
75525         * socket/sys/socket.h: Likewise.
75526         * debug/tst-chk1.c: Likewise.
75527         * wcsmbs/bits/wchar2.h: Likewise.
75528         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75529         * wcsmbs/wchar.h: Likewise.
75531 2012-04-29  Andreas Jaeger  <aj@suse.de>
75533         * Makerules (tests): Remove enable-check-abi protection.
75534         (check-abi-warn): Remove.
75535         (check-abi-%): Remove check-abi-warn usage.
75537         * configure.in: Remove check-abi configure option.
75538         * configure: Regenerated.
75539         * config.make.in (enable-check-abi): Remove.
75541 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75543         [BZ #14033]
75544         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75545         double functions to double *_finite functions.
75547         [BZ #13941]
75548         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75549         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75550         LDBL_MIN_EXP.
75551         * stdio-common/Makefile (tests): Add tst-sprintf3.
75552         * stdio-common/tst-sprintf3.c: New file.
75554         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75555         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75557 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75559         * conform/conformtest.pl: Remove duplicate typed-constant
75560         handling.
75562 2012-04-28  David S. Miller  <davem@davemloft.net>
75564         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75565         (check-abi-%): Remove AWK script prerequisite and explicit
75566         abilist directory.
75567         (check-abi): Rewrite to just diff the symlist with the abilist.
75568         (config-tls, config-abi-config): Delete, no longer used.
75569         (update-abi-%): Remove AWK script and explicit abilist directory.
75570         (update-abi): Rewrite to simply compare and conditionally copy the
75571         symlist and the sysdep abilist file.  Remove update-abi-config
75572         checks.
75573         * abilist/ld.abilist: Remove.
75574         * abilist/libBrokenLocale.abilist: Remove.
75575         * abilist/libanl.abilist: Remove.
75576         * abilist/libcrypt.abilist: Remove.
75577         * abilist/libdl.abilist: Remove.
75578         * abilist/librt.abilist: Remove.
75579         * abilist/libthread_db.abilist: Remove.
75580         * abilist/libutil.abilist: Remove.
75581         * scripts/extract-abilist.awk: Remove.
75582         * scripts/merge-abilist.awk: Remove.
75583         * sysdeps/generic/libcidn.abilist: New file.
75584         * sysdeps/generic/libnss_compat.abilist: New file.
75585         * sysdeps/generic/libnss_db.abilist: New file.
75586         * sysdeps/generic/libnss_dns.abilist: New file.
75587         * sysdeps/generic/libnss_files.abilist: New file.
75588         * sysdeps/generic/libnss_hesiod.abilist: New file.
75589         * sysdeps/generic/libnss_nis.abilist: New file.
75590         * sysdeps/generic/libnss_nisplus.abilist: New file.
75591         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75592         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75593         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75594         file.
75595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75596         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75597         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75598         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75599         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75600         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75601         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75602         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75603         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75604         file.
75605         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75606         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75607         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75608         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75609         file.
75610         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75611         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75612         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75613         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75614         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75615         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75616         file.
75617         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75618         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75619         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75620         file.
75621         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75623         New file.
75624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75625         New file.
75626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75627         New file.
75628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75629         New file.
75630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75631         New file.
75632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75633         New file.
75634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75635         New file.
75636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75637         New file.
75638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75639         New file.
75640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75641         New file.
75642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75643         New file.
75644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75645         New file.
75646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75647         New file.
75648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75649         file.
75650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75651         New file.
75652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75653         New file.
75654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75655         file.
75656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75657         New file.
75658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75659         New file.
75660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75661         file.
75662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75663         New file.
75664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75665         New file.
75666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75667         New file.
75668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75669         New file.
75670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75671         New file.
75672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75673         New file.
75674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75676         file.
75677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75678         New file.
75679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75680         file.
75681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75682         file.
75683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75684         file.
75685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75686         file.
75687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75688         file.
75689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75690         New file.
75691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75692         file.
75693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75694         file.
75695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75696         New file.
75697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75698         file.
75699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75701         file.
75702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75703         New file.
75704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75705         file.
75706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75707         file.
75708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75709         file.
75710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75711         file.
75712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75713         file.
75714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75715         New file.
75716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75717         file.
75718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75719         file.
75720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75721         New file.
75722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75723         file.
75724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75725         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75726         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75727         file.
75728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75729         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75730         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75731         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75732         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75734         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75735         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75736         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75737         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75740         file.
75741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75742         New file.
75743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75744         file.
75745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75746         file.
75747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75748         file.
75749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75750         file.
75751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75752         file.
75753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75754         New file.
75755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75756         New file.
75757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75758         file.
75759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75760         New file.
75761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75762         file.
75763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75765         file.
75766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75767         New file.
75768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75769         file.
75770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75771         file.
75772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75773         file.
75774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75775         file.
75776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75777         file.
75778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75779         New file.
75780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75781         New file.
75782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75783         file.
75784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75785         New file.
75786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75787         file.
75789 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75791         * conform/conformtest.pl: Fix typo in handling typed-constant from
75792         allow-header.
75794 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75796         * README: Cut down references to pre-2.6 Linux kernels and
75797         Linuxthreads.  Update lists of configurations in libc and ports
75798         and sort alphabetically.  Say "or newer" with Linux kernel version
75799         requirements.
75801         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75803 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75805         [BZ #887]
75806         * math/libm-test.inc (logb_test_downward): New test to expose
75807         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75808         rounding mode.
75810 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75812         [BZ #14027]
75813         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75814         to be done.
75815         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75816         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75818 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75820         * sysdeps/unix/i386/brk.S: Remove file.
75821         * sysdeps/unix/i386/dl-brk.S: Likewise.
75822         * sysdeps/unix/i386/pipe.S: Likewise.
75823         * sysdeps/unix/i386/sigreturn.S: Likewise.
75824         * sysdeps/unix/i386/syscall.S: Likewise.
75825         * sysdeps/unix/i386/vfork.S: Likewise.
75826         * sysdeps/unix/i386/wait.S: Likewise.
75828         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75829         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75831         * configure.in (arm*-none*): Do not allow without
75832         --enable-hacker-mode.
75833         (netbsd*): Remove case setting base_os.
75834         (386bsd*): Likewise.
75835         (freebsd*): Likewise.
75836         (bsdi*): Likewise.
75837         (osf*): Likewise.
75838         (sunos*): Likewise.
75839         (ultrix*): Likewise.
75840         (newsos*): Likewise.
75841         (dynix*): Likewise.
75842         (*bsd*): Likewise.
75843         (sysv*): Likewise.
75844         (isc*): Likewise.
75845         (esix*): Likewise.
75846         (sco*): Likewise.
75847         (minix*): Likewise.
75848         (irix4*): Likewise.
75849         (irix6*): Likewise.
75850         (solaris[2-9]*): Likewise.
75851         (none): Likewise.
75852         * configure: Regenerated.
75854 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75856         [BZ #11521]
75857         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75858         overflow or cancellation in calculating denominator.
75859         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75860         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75861         down expression to avoid unexpected rounding in newer GCCs.
75862         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75864 2012-04-26  David S. Miller  <davem@davemloft.net>
75866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75867         long-double compat symbols.
75868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75882 2012-04-25  David S. Miller  <davem@davemloft.net>
75884         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75885         HWCAP_* values only after the memory barriers have been defined.
75886         (atomic_full_barrier): Define.
75887         (atomic_read_barrier): Define.
75888         (atomic_write_barrier): Define.
75890 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75892         * shlib-versions: Add libgcc_s version information.
75893         * sysdeps/generic/libgcc_s.h: Remove.
75894         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75895         libgcc_s.h.
75896         * sysdeps/gnu/unwind-resume.c: Likewise.
75897         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75899 2012-04-25  David S. Miller  <davem@davemloft.net>
75901         * sysdeps/unix/sparc/brk.S: Delete.
75902         * sysdeps/unix/sparc/dl-brk.S: Delete.
75903         * sysdeps/unix/sparc/pipe.S: Delete.
75904         * sysdeps/unix/sparc/sysdep.S: Delete.
75905         * sysdeps/unix/sparc/sysdep.h: Delete.
75906         * sysdeps/unix/sparc/vfork.S: Delete.
75907         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75908         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75909         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75910         (ret_ERRVAL, r0, r1, MOVE): Define.
75911         (JUMPTARGET): Remove.
75912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75913         sysdeps/unix/sparc/sysdep.h
75914         (ENTRY, END): Remove.
75915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75917 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75919         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75920         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75921         -DIS_IN_build.
75923         * timezone/README: Update upstream location and email address for
75924         tzcode and tzdata.
75925         * timezone/zdump.c: Update from tzcode 2012b.
75926         * timezone/zic.c: Likewise.
75928         * configure.in (libc_cv_as_needed): Remove test.
75929         * configure: Regenerated.
75930         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75931         conditional definition.
75932         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75933         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75934         * config.make.in (have-as-needed): Remove variable.
75936 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75937             Paul Pluzhnikov  <ppluzhnikov@google.com>
75939         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75940         strings correctly.
75942 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75944         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75945         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75946         * sysdeps/sh/strlen.S: Likewise.
75948 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75950         * sysdeps/unix/fork.S: Remove file.
75951         * sysdeps/unix/i386/fork.S: Likewise.
75952         * sysdeps/unix/sparc/fork.S: Likewise.
75954         * sysdeps/unix/system.c: Remove file.
75955         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75957         * sysdeps/unix/getegid.S: Remove file.
75958         * sysdeps/unix/geteuid.S: Likewise.
75960 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75962         * scripts/check-localplt.awk: New file.
75963         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75964         of diff.
75965         * scripts/data/localplt-generic.data: Add a comment.
75967         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75968         NODE when __dir_mkfile failed.
75969         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75970         Reported by Ludovic Courtès <ludo@gnu.org>.
75972 2012-04-24  Andreas Jaeger  <aj@suse.de>
75974         * Makerules (common-clean): Also remove gen-as-const-headers
75975         files.
75977 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75979         * Makerules (native-compile): Do not change working directory for
75980         build.  Use $(OUTPUT_OPTION) in command.
75981         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75983 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75985         [BZ #13886]
75986         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75987         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75988         * math/libm-test.inc (floor_test): Add more tests.
75989         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75991 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75993         * sysdeps/unix/getdents.c: Remove file.
75994         * sysdeps/unix/sysv/getdents.c: Likewise.
75995         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75997         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75998         sysdeps/unix/mman/syscalls.list.
75999         (mmap): Likewise.
76000         (mprotect): Likewise.
76001         (msync): Likewise.
76002         (munmap): Likewise.
76003         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76004         * sysdeps/unix/mman/syscalls.list: Remove.
76005         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76007         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76008         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76009         * configure: Regenerated.
76010         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76011         $(libgcc_s_suffix).
76012         * config.make.in (libgcc_s_suffix): Remove variable.
76014 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76016         * sysdeps/unix/sysv/gethostname.c: Move to ...
76017         * sysdeps/posix/gethostname.c: ... here.
76019         * sysdeps/unix/execve.S: Remove file.
76021         * sysdeps/unix/_exit.S: Remove file.
76023 2012-04-23  Andreas Jaeger  <aj@suse.de>
76025         [BZ #13739]
76026         * manual/Makefile: Remove make dist support, there's no
76027         need for a stand-alone documentation tar ball.
76028         (TEXI2DVI): Define always, it's not in Makeconfig.
76029         (dist): Removed.
76030         (tar-it): Removed.
76031         (edition): Removed.
76032         (glibc-doc-$(edition).tar): Removed
76033         (%.Z): Removed.
76034         (%.gz): Removed.
76035         (%.uu): Removed.
76036         (ETAGS): Remove, it's in Makeconfig.
76037         (move-if-change): Remove, it's in Makeconfig.
76039 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76041         [BZ #13970]
76042         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76043         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76044         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76045         (strtod_l, strtof_l, strtold_l): Remove __wur.
76046         It is not necessarily an error to ignore strtol's return value.
76047         One can reliably look at the stored endptr to decide whether
76048         the number had valid syntax.
76050 2012-04-21  Andreas Jaeger  <aj@suse.de>
76052         [BZ #13739]
76053         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76055 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76057         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76058         * sysdeps/unix/sysv/Versions: Remove file.
76060 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76062         [BZ #13927]
76063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76065 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76067         [BZ #7064]
76068         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76069         version from __vm86.
76071 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76073         * sysdeps/unix/common/lxstat.c: Remove file.
76074         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76076         * sysdeps/unix/sysv/Makefile: Remove file.
76078         * sysdeps/unix/sysv/direct.h: Remove file.
76080         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76081         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76082         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76083         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76084         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76085         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76086         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76088         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76090         * sysdeps/unix/xmknod.c: Remove file.
76091         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76093         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76095         * sysdeps/unix/sysv/i386/time.S: Remove file.
76097         * sysdeps/unix/fxstat.c: Remove file.
76098         * sysdeps/unix/xstat.c: Likewise.
76099         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76101         * sysdeps/unix/sysv/sigaction.c: Remove file.
76103         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76104         (sysdep_headers): Remove variable.
76105         [termio.h not in sysdep_headers] (generated): Likewise.
76106         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76107         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76108         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76109         * sysdeps/unix/sysv/tcflow.c: Likewise.
76110         * sysdeps/unix/sysv/tcflush.c: Likewise.
76111         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76112         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76113         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76114         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76115         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76117         * sysdeps/unix/siglist.c: Remove file.
76119         * sysdeps/unix/getppid.S: Remove file.
76121         * sysdeps/unix/mkdir.c: Remove file.
76122         * sysdeps/unix/rmdir.c: Likewise.
76124 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76126         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76127         ERR_MAX value.
76128         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76129         errlist-compat value.
76131 2012-04-18  David S. Miller  <davem@davemloft.net>
76133         * sysdeps/generic/memcopy.h (reg_char): Delete.
76134         * debug/strcat_chk.c: Use char, not reg_char.
76135         * debug/strcpy_chk.c: Likewise.
76136         * debug/strncat_chk.c: Likewise.
76137         * debug/strncpy_chk.c: Likewise.
76138         * string/memchr.c: Likewise.
76139         * string/memrchr.c: Likewise.
76140         * string/rawmemchr.c: Likewise.
76141         * string/strcat.c: Likewise.
76142         * string/strchr.c: Likewise.
76143         * string/strchrnul.c: Likewise.
76144         * string/strcmp.c: Likewise.
76145         * string/strcpy.c: Likewise.
76146         * string/strncat.c: Likewise.
76147         * string/strncmp.c: Likewise.
76148         * string/strncpy.c: Likewise.
76150 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76152         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76153         __builtin_memcopy is called when src and dest ranges are known to not
76154         overlap.
76156 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76158         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76159         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76160         fwd_align_merge macro call.
76161         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76162         bwd_align_merge macro call.
76163         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76165 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76167         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76168         bwd_align_merge macros.
76169         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76170         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76171         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76173 2012-04-18  David S. Miller  <davem@davemloft.net>
76175         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76177 2012-04-18  Andreas Jaeger  <aj@suse.de>
76179         [BZ# 6794]
76180         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76181         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76182         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76184         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76185         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76186         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76188         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76189         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76190         Adjust for changed ldbl-128 files.
76192         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76193         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76194         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76196 2012-04-17  David S. Miller  <davem@davemloft.net>
76198         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76200 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76202         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76203         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76204         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76205         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76206         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76207         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76209 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76211         [BZ #6794]
76212         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76213         * math/libm-test.inc: Add ilogb errno and exception tests.
76214         * math/w_ilogb.c: New file: ilogb wrapper.
76215         * math/w_ilogbf.c: New file: ilogbf wrapper.
76216         * math/w_ilogbl.c: New file: ilogbl wrapper.
76217         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76218         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76219         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76220         exception being thrown with 0.0 as argument.
76221         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76222         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76223         exception being thrown with 0.0 as argument.
76224         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76225         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76226         exception being thrown with 0.0 as argument.
76227         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76228         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76229         exception being thrown with 0.0 as argument.
76230         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76231         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76232         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76233         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76234         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76235         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76236         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76237         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76238         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76240 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76242         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76243         with altivec.
76245 2012-04-16  Marek Polacek  <polacek@redhat.com>
76247         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76249 2012-04-16  Marek Polacek  <polacek@redhat.com>
76251         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76252         operands of fdivp instruction.
76254 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76256         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76257         * elf/tst-auditmod3b.c: Likewise.
76258         * elf/tst-auditmod4b.c: Likewise.
76259         * elf/tst-auditmod5b.c: Likewise.
76260         * elf/tst-auditmod6b.c: Likewise.
76261         * elf/tst-auditmod6c.c: Likewise.
76262         * elf/tst-auditmod7b.c: Likewise.
76263         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76264         * sysdeps/x86_64/preconfigure.in: Likewise.
76265         * sysdeps/x86_64/preconfigure: Regenerated.
76267 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76269         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76270         __ILP32__.
76272 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76275         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76277 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76279         [BZ #13973]
76280         * locale/iso-639.def: Fix gl language name. Spotted by
76281         Yaron Shahrabani.
76283 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76285         [BZ #2074]
76286         * libio/libio.h (__io_write_fn): Update comment.
76288 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76290         [BZ #2074]
76291         * stdio.texi (Hook Functions): The user provided writer function
76292         is not allowed to return -1.
76294 2012-04-11  David S. Miller  <davem@davemloft.net>
76296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76298 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76300         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76301         Add a leading slash to rtkaio.
76303 2012-04-11  Jim Meyering  <meyering@redhat.com>
76305         [BZ #11959]
76306         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76307         It is not necessarily an error to ignore fwrite's return
76308         value.  One can reliably use ferror to test for errors after
76309         the fact.
76311 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76313         * bits/types.h (__snseconds_t): New type.
76314         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76316         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76318         (__SNSECONDS_T_TYPE): Likewise.
76319         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76320         (__SNSECONDS_T_TYPE): Likewise.
76321         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76322         (__SNSECONDS_T_TYPE): Likewise.
76324 2012-04-10  Andreas Jaeger  <aj@suse.de>
76326         [BZ #2636]
76327         * manual/time.texi (Processor Time): Return type of times is
76328         elapsed real time since an arbitrary point in the past.
76329         (CPU Time): Move CLK_TCK from here...
76330         (Processor Time): ...to here.  Correct description.
76331         * manual/conf.texi (Constants for Sysconf): Correct description of
76332         _SC_CLK_TCK.
76334 2012-04-10  David S. Miller  <davem@davemloft.net>
76336         [BZ #13967]
76337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76338         where the is a gap between DT_REL(A) and DT_JMPREL.
76340 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76342         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76343         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76344         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76346 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76348         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76349         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76350         (dl_main): Handle --inhibit-cache.
76351         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76352         _dl_inhibit_cache.
76353         * elf/dl-load.c (_dl_map_object): Use it.
76354         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76356 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76358         [BZ #13872]
76359         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76360         (__ieee754_powl): Saturate large exponents rather than testing for
76361         overflow of y*log2(x).
76362         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76363         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76364         exceptions.
76366         [BZ #11521]
76367         * math/s_ctan.c: Include <float.h>.
76368         (__ctan): Avoid internal overflow or cancellation in calculating
76369         denominator.
76370         * math/s_ctanf.c: Likewise.
76371         * math/s_ctanl.c: Likewise.
76372         * math/s_ctanh.c: Likewise.
76373         * math/s_ctanhf.c: Likewise.
76374         * math/s_ctanhl.c: Likewise.
76375         * math/libm-test.inc (ctan_test): Add more tests.
76376         (ctanh_test): Likewise.
76377         * sysdeps/i386/fpu/libm-test-ulps: Update.
76378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76380 2012-04-09  Andreas Jaeger  <aj@suse.de>
76382         [BZ #6894]
76383         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76384         is an optional BSD extension.
76386         [BZ #10254]
76387         * manual/stdio.texi (Opening Streams): Document additional fopen
76388         parameters.
76390 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76392         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76393         %eax without telling the compiler.
76395 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76397         [BZ # 13963]
76398         * manual/install.texi: Use sourceware.org.
76400 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76402         [BZ #13873]
76403         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76404         (__ieee754_pow): Generate overflow and underflow using huge*huge
76405         and tiny*tiny rather than just returning constant infinity or zero
76406         for large exponents.
76407         * math/libm-test.inc (pow_test): Require overflow exceptions for
76408         applicable cases of large exponents.
76410         [BZ #706]
76411         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76412         (__ieee754_pow): Use iterative multiplication algorithm only for
76413         integer exponents with absolute value below 1024.  Check for odd
76414         integer exponents when using algorithm for real exponents.
76415         * math/libm-test.inc (pow_test): Add more tests.
76416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76418 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76420         [BZ #13705]
76421         * math/libm-test.inc (exp_test): Do not allow overflow exception
76422         on underflow test.
76424 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76426         [BZ #13705]
76427         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76428         instead of __kernel_standard_f.
76430 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76432         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76433         * sysdeps/x86_64/memset_chk.S: Likewise.
76435 2012-04-08  Andreas Jaeger  <aj@suse.de>
76437         [BZ #10153]
76438         * manual/startup.texi (Environment Access): Describe return value
76439         for putenv and setenv.
76441         [BZ #6895]
76442         * manual/filesys.texi (Directory Entries): Add description for
76443         DT_LNK.
76445         [BZ #6890]
76446         * manual/filesys.texi (Directory Entries): Clarify that it's file
76447         system not operating system in the description of DT_UNKNOWN.
76449         [BZ #6578]
76450         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76452 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76454         [BZ #6649]
76455         * manual/llio.texi (Opening and Closing Files): Add cross
76456         reference to explain mode argument.
76458 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76460         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76461         * sysdeps/x86_64/memset_chk.S: Likewise.
76463 2012-04-07  David S. Miller  <davem@davemloft.net>
76465         * elf/elf.h (R_SPARC_WDISP10): Define.
76466         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76467         R_SPARC_SIZE32.
76468         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76469         R_SPARC_SIZE64 and R_SPARC_H34.
76471 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76473         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76474         conditions and remove no longer applicable assertion.
76476 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76478         * bits/byteswap.h: Include <features.h>.
76479         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76480         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76482 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76484         * bits/byteswap.h (__bswap_16): Removed.
76485         Include <bits/byteswap-16.h> to get __bswap_16.
76486         * sysdeps/i386/bits/byteswap.h: Likewise.
76487         * sysdeps/s390/bits/byteswap.h: Likewise.
76488         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76489         * bits/byteswap-16.h: New file.
76490         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76491         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76492         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76493         * string/Makefile (headers): Add bits/byteswap-16.h.
76495 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76497         [BZ #13895]
76498         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76499         extra indirection.
76500         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76501         * nss/tst-nss-static.c: New.
76503 2012-04-06  Robert Millan  <rmh@gnu.org>
76505         [BZ #6486]
76506         * manual/llio.texi (File Position Primitive): lseek
76507         refers to WHENCE when it really means OFFSET.
76509 2012-04-06  Andreas Jaeger  <aj@suse.de>
76511         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76512         strncmp declarations.
76514         * abilist/libc.abilist: Add __poll and __ppoll.
76516 2012-04-05  David S. Miller  <davem@davemloft.net>
76518         * scripts/check-local-headers.sh: Accept a host triplet in the
76519         path matched by the exclude regexp.
76521         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76522         definition.
76523         * sysdeps/powerpc/powerpc32/dl-machine.h
76524         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76525         * sysdeps/s390/s390-32/dl-machine.h
76526         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76527         * sysdeps/sparc/sparc32/dl-machine.h
76528         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76529         * sysdeps/sparc/sparc64/dl-machine.h
76530         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76532         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76533         lazy binding.
76534         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76535         undefined symbol errors.
76537         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76538         DT_NEEDED entries.
76540 2012-04-05  Michael Matz  <matz@suse.de>
76542         [BZ #13592]
76543         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76545 2012-04-05  Andreas Jaeger  <aj@suse.de>
76547         [BZ #13908]
76548         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76549         comment.
76551 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76553         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76554         which ROUND is no valid rounding mode.
76556 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76558         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76559         read again.
76560         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76562 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76564         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76565         an exception using FPU order intentionally.
76567 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76569         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76570         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76571         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76572         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76574 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76576         [BZ #12340]
76577         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76578         EINVAL when BUFLEN is too smal.
76580 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76582         [BZ #13553]
76583         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76584         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76586 2012-04-03  Andreas Jaeger  <aj@suse.de>
76588         [BZ #13938]
76589         * manual/setjmp.texi (System V contexts): Fix sentence.
76591         [BZ #13926]
76592         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76593         New macro for this case.
76594         [!__GNUC__] (__bswap_64): New inline function for this case.
76595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76596         * bits/byteswap.h: Likewise.
76597         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76598         ull, guard with __GLIBC_HAVE_LONG_LONG.
76600         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76601         __GLIBC_HAVE_LONG_LONG.
76603         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76604         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76606 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76608         [BZ #13691]
76609         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76610         inptr and inend, rather than using last_ch.
76612 2012-04-02  David S. Miller  <davem@davemloft.net>
76614         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76615         * stdio-common/printf-parse.h (read_int): Change return type to
76616         'int', return -1 on INT_MAX overflow.
76617         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76618         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76619         overflows INT_MAX.  Check for overflow of in-format-string precision
76620         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76621         SIZE_MAX not INT_MAX for integer overflow test.
76622         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76623         skip the construct in the format string but do not record anything.
76624         * stdio-common/bug22.c: Adjust to test both width/prevision
76625         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76626         explicitly for proper errno values.
76628 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76630         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76631         CHAR_MAX.
76632         * string/test-strcmp.c [! WIDE]: Likewise.
76633         * time/tst-mktime2.c: Likewise for INT_MAX.
76634         * string/test-string.h: #include <sys/param.h> for MIN.
76636         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76637         * sysdeps/i386/init-first.c (init): Likewise.
76638         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76639         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76640         * sysdeps/sh/init-first.c (init): Likewise.
76642 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76644         * po/ru.po: Update from translation team.
76645         * po/vi.po: Likewise.
76647 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76649         * resolv/nss_dns/dns-host.c: Merge copyright years.
76651 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76654         Optimize memcpy with prefetch if
76655         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76656         src, dst pointers have unequal 16 byte alignments.
76658 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76660         [BZ #13928]
76661         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76662         from a CNAME entry and return the minimum ttl for the query.
76663         (gaih_getanswer_slice): Likewise.
76665 2012-03-30  Jeff Law  <law@redhat.com>
76667         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76668         due to long keys.
76669         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76670         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76672         * resolv/nss_dns/dns-host.c: Update copyright year.
76674 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76676         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76677         requests to save a system call.  Fix check that all bytes are sent.
76679         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76680         comments for sendmmsg.
76682 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76684         [BZ #13691]
76685         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76686         with only 1 character between 0x0041 and 0x01b0.
76687         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76688         * wcsmbs/tst-mbsnrtowcs.c: New file.
76690 2012-03-29  David S. Miller  <davem@davemloft.net>
76692         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76693         small copies by hand.
76695 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76697         [BZ #13761]
76698         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76699         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76700         group memberships.
76702 2012-03-28  David S. Miller  <davem@davemloft.net>
76704         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76705         that branches into memcpy.
76706         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76709         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76711         bits.
76712         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76713         implementation too.
76714         * sysdeps/sparc/mempcpy.S: New file.
76716         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76717         the IFUNC routine in the libc case.
76718         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76720         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76721         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76722         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76723         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76724         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76725         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76726         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76727         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76729         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76730         loop to 256 bytes instead of 64 bytes and fix test signedness.
76732         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76733         * sysdeps/sparc/sparc32/Makefile: rather than here...
76734         * sysdeps/sparc/sparc64/Makefile: and here.
76736 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76738         * malloc/mallocbug.c: Avoid warnings about unused variables.
76740 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76742         [BZ #13760]
76743         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76744         in the right place. Discard and retry query if response is
76745         larger than input buffer size.
76747 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76749         [BZ #369]
76750         [BZ #2678]
76751         [BZ #3866]
76752         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76753         x for large integer exponent.
76754         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76755         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76756         sign of result as needed afterwards.
76757         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76758         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76759         result for underflowing pow the same as for overflow.
76760         (__kernel_standard_l): Handle powl overflow and underflow here
76761         rather than calling __kernel_standard.
76762         * math/libm-test.inc (pow_test): Add more tests.
76764         [BZ #3868]
76765         [BZ #13879]
76766         [BZ #13910]
76767         [BZ #13911]
76768         [BZ #13912]
76769         [BZ #13913]
76770         [BZ #13915]
76771         [BZ #13916]
76772         [BZ #13917]
76773         [BZ #13918]
76774         [BZ #13919]
76775         [BZ #13920]
76776         [BZ #13921]
76777         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76778         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76779         (__kernel_standard_l): New function.
76780         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76781         __kernel_standard.
76782         * math/w_acosl.c (__acosl): Likewise.
76783         * math/w_asinl.c (__asinl): Likewise.
76784         * math/w_atan2l.c (__atan2l): Likewise.
76785         * math/w_atanhl.c (__atanhl): Likewise.
76786         * math/w_coshl.c (__coshl): Likewise.
76787         * math/w_exp10l.c (__exp10l): Likewise.
76788         * math/w_exp2l.c (__exp2l): Likewise.
76789         * math/w_fmodl.c (__fmodl): Likewise.
76790         * math/w_hypotl.c (__hypotl): Likewise.
76791         * math/w_j0l.c (__j0l, __y0l): Likewise.
76792         * math/w_j1l.c (__j1l, __y1l): Likewise.
76793         * math/w_jnl.c (__jnl, __ynl): Likewise.
76794         * math/w_lgammal.c (__lgammal): Likewise.
76795         * math/w_log10l.c (__log10l): Likewise.
76796         * math/w_log2l.c (__log2l): Likewise.
76797         * math/w_logl.c (__logl): Likewise.
76798         * math/w_powl.c (__powl): Likewise.
76799         * math/w_remainderl.c (__remainderl): Likewise.
76800         * math/w_scalbl.c (sysv_scalbl): Likewise.
76801         * math/w_sinhl.c (__sinhl): Likewise.
76802         * math/w_sqrtl.c (__sqrtl): Likewise.
76803         * math/w_tgammal.c (__tgammal): Likewise.
76804         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76805         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76806         * math/libm-test.inc (acos_test): Add more tests.
76807         (acosh_test): Likewise.
76808         (asin_test): Likewise.
76809         (atanh_test): Likewise.
76810         (exp_test): Likewise.
76811         (exp10_test): Likewise.
76812         (exp2_test): Likewise.
76813         (expm1_test): Likewise.
76814         (lgamma_test): Likewise.
76815         (log_test): Likewise.
76816         (log10_test): Likewise.
76817         (log1p_test): Likewise.
76818         (log2_test): Likewise.
76819         (pow_test): Do not allow some spurious overflow exceptions.
76820         (sqrt_test): Add more tests.
76821         (tgamma_test): Likewise.
76822         (y0_test): Likewise.
76823         (y1_test): Likewise.
76824         (yn_test): Likewise.
76826 2012-03-27  Anton Blanchard  <anton@samba.org>
76828         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76829         MAP_HUGETLB.
76830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76831         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76834 2012-03-27  David S. Miller  <davem@davemloft.net>
76836         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76838         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76839         have-as-vis3 check.
76841 2012-03-27  Andreas Jaeger  <aj@suse.de>
76843         * sysdeps/x86_64/elf/configure.in: Moved to ...
76844         * sysdeps/x86_64/configure.in: ... here.
76845         * sysdeps/x86_64/elf/start.S: Moved to ...
76846         * sysdeps/x86_64/start.S: ... here.
76847         * sysdeps/x86_64/elf/configure: Delete.
76849         * sysdeps/x86_64/configure.in: Merge contents from
76850         sysdeps/i386/configure.in (without i686 check).
76852         * sysdeps/i386/elf/Versions: Merge into ...
76853         * sysdeps/i386/Versions: ... this.
76854         * sysdeps/i386/elf/Versions: Delete file.
76855         * sysdeps/i386/elf/start.S: Moved to ...
76856         * sysdeps/i386/start.S: ...here.
76857         * sysdeps/i386/elf/configure.in: Merge into...
76858         * sysdeps/i386/configure.in: ...here.
76859         * sysdeps/i386/elf/configure.in: Delete file.
76860         * sysdeps/i386/elf/configure: Delete file.
76862         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76863         * debug/backtracesyms.c: ... here.
76864         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76865         * debug/backtracesymsfd.c: ... here.
76866         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76867         * sysdeps/generic/ifunc-sel.h: ... here.
76869         * sysdeps/unix/i386/start.c: Delete file.
76870         * sysdeps/unix/sparc/start.c: Delete file.
76871         * sysdeps/unix/start.c: Delete file.
76873         * sysdeps/sh/elf/configure.in: Moved to ...
76874         * sysdeps/sh/configure.in: ... here.
76875         * sysdeps/sh/elf/start.S: Moved to ...
76876         * sysdeps/sh/start.S: ... here.
76877         * sysdeps/sh/elf/configure: Delete file.
76879         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76880         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76881         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76882         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76883         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76884         * sysdeps/powerpc/powerpc64/start.S: here.
76885         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76886         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76887         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76888         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76889         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76891         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76892         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76893         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76894         * sysdeps/powerpc/powerpc32/start.S: ... here.
76895         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76896         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76897         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76899         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76900         * sysdeps/powerpc/ifunc-sel.h: ... here.
76901         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76902         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76904         * sysdeps/sparc/elf/configure.in: Moved to ...
76905         * sysdeps/sparc/configure.in: ... here.
76906         * sysdeps/sparc/elf/configure: Delete file.
76907         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76908         * sysdeps/sparc/sparc32/start.S: ... here.
76909         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76910         * sysdeps/sparc/sparc64/start.S: ... here.
76911         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76912         * sysdeps/sparc/sparc32/Makefile: ... this.
76913         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76914         * sysdeps/sparc/sparc64/Makefile: ... this.
76916         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76917         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76918         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76919         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76920         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76921         * sysdeps/s390/s390-32/setjmp.S: ... here.
76922         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76923         * sysdeps/s390/s390-32/configure.in: ... here.
76924         * sysdeps/s390/s390-32/elf/configure: Delete file.
76925         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76926         * sysdeps/s390/s390-32/start.S: ... here.
76928         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76929         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76930         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76931         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76932         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76933         * sysdeps/s390/s390-64/setjmp.S: ... here.
76934         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76935         * sysdeps/s390/s390-64/configure.in: ... here
76936         * sysdeps/s390/s390-64/elf/configure: Delete file.
76937         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76938         * sysdeps/s390/s390-64/start.S: ... here.
76939         * sysdeps/s390/s390-64/elf/configure: Delete.
76941         * configure.in: Remove support for elf directories in sysdeps.
76943         * configure: Regenerated.
76944         * sysdeps/i386/configure: Regenerated.
76945         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76946         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76947         * sysdeps/s390/s390-32/configure: Regenerated.
76948         * sysdeps/s390/s390-64/configure: Regenerated.
76949         * sysdeps/sh/configure: Regenerated.
76950         * sysdeps/sparc/configure: Regenerated.
76951         * sysdeps/x86_64/configure: Regenerated.
76953 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76957         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76958         denormal result into account.
76960 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76962         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76963         Reported by Allan McRae <allan@archlinux.org>.
76965 2012-03-23  Jeff Law  <law@redhat.com>
76967         * nss/getnssent.c (__nss_getent): Fix typo.
76969 2012-03-23  David S. Miller  <davem@davemloft.net>
76971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76973 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76975         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76976         to pad to uint64_t for each field.
76977         (dl_tls_index): Replace unsigned long with uint64_t.
76979 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76980         Paul Pluzhnikov  <ppluzhnikov@google.com>
76982         [BZ #6528]
76983         * grp/Makefile (otherlibs): Don't set it.
76984         * inet/Makefile (otherlibs): Likewise.
76985         * login/Makefile (otherlibs): Likewise.
76986         * nscd/Makefile (otherlibs): Likewise.
76987         * posix/Makefile (otherlibs): Likewise.
76988         * pwd/Makefile (otherlibs): Likewise.
76989         * rt/Makefile (otherlibs): Likewise.
76990         * sunrpc/Makefile (otherlibs): Likewise.
76991         * nss/Makefile (otherlibs): Likewise.
76992         Add libnss_files to routines and static-only-routines.
76993         ($(objpfx)getent): Remove rule.
76994         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76995         static-only-routines.
76997 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76999         [BZ #13892]
77000         * math/s_cexp.c: Include <float.h>.
77001         (__cexp): Handle exp result overflowing not necessarily
77002         overflowing both real and imaginary parts of result.
77003         * math/s_cexpf.c: Likewise.
77004         * math/s_cexpl.c: Likewise.
77005         * math/libm-test.inc (cexp_test): Add more tests.
77006         * sysdeps/i386/fpu/libm-test-ulps: Update.
77007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77009 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77011         * include/link.h (ELFW): New macro.
77012         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77013         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77015 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77017         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77018         with uint64_t.
77020 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77022         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77023         declaration.
77024         (struct La_x32_retval): Likewise.
77026 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77028         * sysdeps/x86_64/preconfigure.in: New file.
77029         * sysdeps/x86_64/preconfigure: New generated file.
77031 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77033         [BZ #13824]
77034         * math/e_exp2l.c: Include <float.h>.
77035         (__ieee754_exp2l): Handle overflow and underflow cases
77036         separately.  Only pass fractional part of argument to
77037         __ieee754_expl.
77038         * math/libm-test.inc (exp2_test): Add more tests.
77040         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77041         negating x to take absolute value.
77042         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77043         Likewise.
77044         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77045         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77046         Likewise.
77047         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77048         computing low part if x was negated.
77049         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77051 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77053         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77054         la_x32_gnu_pltexit.
77055         (pltexit): Cast int_retval to ptrdiff_t.
77056         * elf/tst-auditmod3b.c: Likewise.
77057         * elf/tst-auditmod4b.c: Likewise.
77058         * elf/tst-auditmod5b.c: Likewise.
77059         * elf/tst-auditmod6b.c: Likewise.
77060         * elf/tst-auditmod6c.c: Likewise.
77061         * elf/tst-auditmod7b.c: Likewise.
77063         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77064         and x32_gnu_pltexit.
77066         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77067         __ELF_NATIVE_CLASS.
77068         (La_x32_regs): New macro.
77069         (La_x32_retval): Likewise.
77070         (la_x32_gnu_pltenter): New function prototype.
77071         (la_x32_gnu_pltexit): Likewise.
77073 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77076         exponent.
77078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77080         * configure.in (libc_cv_cc_nofma): Check for option to disable
77081         generation of FMA instructions.
77082         * configure: Regenerate.
77083         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77084         * sysdeps/ieee754/dbl-64/Makefile: New file.
77085         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77086         Remove brandred-fma4.
77087         (CFLAGS-brandred-fma4.c): Remove.
77088         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77089         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77090         define.
77091         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77092         define.
77094 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77096         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77097         LLONG_MAX != LONG_MAX.
77098         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77099         (_fitoa_word): Likewise.
77100         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77101         LLONG_MAX != LONG_MAX.
77102         * stdio-common/_itowa.h: Include <_itoa.h>.
77103         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77104         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77105         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77106         only if not defined.
77107         (_ITOA_WORD_TYPE): Likewise.
77108         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77109         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77111 2012-03-21  David S. Miller  <davem@davemloft.net>
77113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77115 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77117         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77118         of x86_64 when setting libc_cv_slibdir, libdir and
77119         libc_cv_localedir.
77120         * sysdeps/unix/sysv/linux/configure: Regenerated.
77122 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77124         * manual/lang.texi (Old Varargs): Remove section.
77125         (How Variadic): Update menu.
77126         (va_start): Do not mention varargs.h.
77128 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77129             Joseph Myers  <joseph@codesourcery.com>
77131         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77132         link test.
77133         * configure: Regenerated.
77135 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77137         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77138         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77139         conformtest.pl
77141 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77143         * NOTES: Remove.
77144         * Makefile (files-for-dist): Remove NOTES.
77145         (NOTES): Remove rule.
77146         * README: Don't refer to NOTES.
77147         * manual/creature.texi: Don't include macros.texi.
77148         * manual/intro.texi (creature.texi): Remove comment referring to
77149         NOTES.
77151         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77152         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77153         * configure: Regenerated.
77154         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77155         LIBC_TRY_CC_OPTION.
77156         (libc_cv_as_i686): Likewise.
77157         (libc_cv_cc_avx): Likewise.
77158         (libc_cv_cc_sse2avx): Likewise.
77159         (libc_cv_cc_fma4): Likewise.
77160         (libc_cv_cc_novzeroupper): Likewise.
77161         * sysdeps/i386/configure: Regenerated.
77163         [BZ #13883]
77164         * sysdeps/i386/fpu/s_cexp.S: Remove.
77165         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77166         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77167         * math/libm-test.inc (cexp_test): Add more tests.
77168         * sysdeps/i386/fpu/libm-test-ulps: Update.
77169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77171 2012-03-21  Allan McRae  <allan@archlinux.org>
77173         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77175 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77177         [BZ #13871]
77178         * math/w_exp2.c: Do not include <float.h>.
77179         (o_threshold, u_threshold): Remove.
77180         (__exp2): Calculate result before checking finiteness and calling
77181         __kernel_standard.
77182         * math/w_exp2f.c: Likewise.
77183         * math/w_exp2l.c: Likewise.
77184         * math/libm-test.inc (exp2_test): Require overflow exception for
77185         1e6 input.
77187         [BZ #3866]
77188         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77189         range of signed 64-bit integers before using fistpll.  Remove
77190         checks for whether integers fit in mantissa bits.
77191         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77192         the range of signed 32-bit integers before using fistpl.  Remove
77193         checks for whether integers fit in mantissa bits.
77194         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77195         (__ieee754_powl): Test for y outside the range of signed 64-bit
77196         integers before using fistpll.  Reduce 64-bit values to 63-bit
77197         ones as needed.
77198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77199         divide-by-zero is raised for zero to large negative powers.
77200         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77201         (__ieee754_powl): Test for y outside the range of signed 64-bit
77202         integers before using fistpll.  Reduce 64-bit values to 63-bit
77203         ones as needed.
77204         * math/libm-test.inc (pow_test): Add more tests.
77206 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77208         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77209         <stdio-common/_itoa.h>.
77210         * debug/segfault.c: Likewise.
77211         * elf/dl-cache.c: Likewise.
77212         * elf/dl-minimal.c: Likewise.
77213         * elf/dl-misc.c: Likewise.
77214         * elf/dl-sysdep.c: Likewise.
77215         * elf/dl-version.c: Likewise.
77216         * elf/rtld.c: Likewise.
77217         * hurd/hurdsock.c: Likewise.
77218         * hurd/lookup-retry.c: Likewise.
77219         * malloc/malloc.c: Likewise.
77220         * malloc/mtrace.c: Likewise.
77221         * nscd/nscd_getgr_r.c: Likewise.
77222         * nscd/nscd_getpw_r.c: Likewise.
77223         * nscd/nscd_getserv_r.c: Likewise.
77224         * posix/getopt_init.c: Likewise.
77225         * posix/wordexp.c: Likewise.
77226         * stdio-common/_itoa.c: Likewise.
77227         * stdio-common/printf_fphex.c: Likewise.
77228         * stdio-common/vfprintf.c: Likewise.
77229         * string/_strerror.c: Likewise.
77230         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77231         * sysdeps/i386/i686/hp-timing.h: Likewise.
77232         * sysdeps/mach/_strerror.c: Likewise.
77233         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77234         * sysdeps/mach/hurd/sethostid.c: Likewise.
77235         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77236         * sysdeps/mach/xpg-strerror.c: Likewise.
77237         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77239         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77240         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77241         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77242         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77243         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77244         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77245         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77246         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77247         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77248         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77249         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77250         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77251         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77252         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77253         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77254         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77255         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77256         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77257         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77259         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77261         * stdio-common/_itoa.h: Moved to ...
77262         * sysdeps/generic/_itoa.h: Here.
77264         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77266         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77267         instead of "_itoa.h" and "_itowa.h".
77268         * stdio-common/vfprintf.: Likewise.
77270 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77272         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77273         <bits/wordsize.h>.
77274         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77275         (__signbit): Likewise.
77276         (llrintf): Likewise.
77277         (llrint): Likewise.
77279 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77281         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77282         __WORDSIZE != 64.
77284 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77286         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77287         OVERFLOW_EXCEPTION_OK.
77288         * math/libm-test.inc ("Philosophy"): Update comment about
77289         exception testing.
77290         (OVERFLOW_EXCEPTION): Define.
77291         (OVERFLOW_EXCEPTION_OK): Likewise.
77292         (INVALID_EXCEPTION_OK): Renumber.
77293         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77294         (IGNORE_ZERO_INF_SIGN): Likewise.
77295         (test_exceptions): Handle FE_OVERFLOW.
77296         (exp10_test): Expect overflow exceptions.
77297         (exp2_test): Likewise.
77298         (expm1_test): Likewise.
77299         (nextafter_test): Likewise.
77300         (pow_test): Likewise.
77301         (scalbn_test): Likewise.
77302         (scalbln_test): Likewise.
77304 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77306         * sysdeps/x86_64/bits/atomic.h
77307         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77308         64bit integer.
77309         (atomic_exchange_acq): Likewise.
77310         (__arch_exchange_and_add_body): Likewise.
77311         (__arch_add_body): Likewise.
77312         (atomic_add_negative): Likewise.
77313         (atomic_add_zero): Likewise.
77315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77317         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77318         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77320 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77322         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77323         Check __x86_64__ instead of __WORDSIZE.
77325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77327         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77329 2012-03-19  David S. Miller  <davem@davemloft.net>
77331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77333         * sysdeps/sparc/fpu/fenv_private.h: New file.
77334         * sysdeps/sparc/fpu/math_private.h: Use it.
77335         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77336         Remove.
77337         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77338         (libc_feholdexcept_setroundl): Remove.
77339         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77340         Remove.
77341         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77342         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77346         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77347         int64_t instead of long int.
77348         (INSERT_WORDS64): Likewise.
77350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77352         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77353         _Unwind_GetCFA return to _Unwind_Ptr first.
77355 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77357         [BZ #13629]
77358         * math/s_clog.c: Include <float.h>.
77359         (__clog): Scale large or subnormal inputs.
77360         * math/s_clogf.c: Likewise.
77361         * math/s_clogl.c: Likewise.
77362         * math/s_clog10.c: Include <float.h>.
77363         (M_LOG10_2): Define.
77364         (__clog10): Scale large or subnormal inputs.
77365         * math/s_clog10f.c: Likewise.
77366         * math/s_clog10l.c: Likewise.
77367         * math/libm-test.inc (clog_test): Add more tests.
77368         (clog10_test): Likewise.
77369         * sysdeps/i386/fpu/libm-test-ulps: Update.
77370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77372         [BZ #11451]
77373         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77374         x and y.
77375         * math/libm-test.inc (atan2_test): Add another test.
77377         * Makerules (common-objdir-compile): Remove.
77378         * sysdeps/unix/Makefile (config-generated): Do not add
77379         $(unix-generated) to variable.
77380         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77381         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77382         Remove rule.
77383         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77384         Likewise.
77385         [generic bits/local_lim.h] (before-compile): Do not append to
77386         variable.
77387         [generic bits/local_lim.h] (common-generated): Likewise.
77388         [generic sys/param.h] (before-compile): Do not append to variable.
77389         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77390         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77391         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77392         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77393         include.
77394         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77395         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77396         [generic sys/param.h] ($(addprefix
77397         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77398         [generic sys/param.h] (common-generated): Do not append to
77399         variable.
77400         [generic sys/param.h] (sysdep_headers): Likewise.
77401         [generic bits/errno.h] (before-compile): Do not append to
77402         variable.
77403         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77404         rule.
77405         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77406         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77407         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77408         [generic bits/errno.h] (common-generated): Do not append to
77409         variable.
77410         [generic bits/ioctls.h] (before-compile): Do not append to
77411         variable.
77412         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77413         rule.
77414         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77415         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77416         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77417         rule.
77418         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77419         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77420         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77421         [generic bits/ioctls.h] (common-generated): Do not append to
77422         variable.
77423         [generic sys/syscall.h] (syscall.h): Remove variable.
77424         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77425         rule.
77426         [generic sys/syscall.h] (before-compile): Do not append to
77427         variable.
77428         [generic sys/syscall.h] (common-generated): Likewise.
77429         * sysdeps/unix/errnos-tmpl.c: Remove file.
77430         * sysdeps/unix/errnos.awk: Likewise.
77431         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77432         * sysdeps/unix/ioctls.awk: Likewise.
77433         * sysdeps/unix/mk-local_lim.c: Likewise.
77434         * sysdeps/unix/snarf-ioctls: Likewise.
77436 2012-03-19  Richard Henderson  <rth@twiddle.net>
77438         * sysdeps/i386/fpu/fenv_private.h: New file.
77439         * sysdeps/i386/fpu/math_private.h: Use it.
77440         (math_opt_barrier, math_force_eval): Remove.
77441         (libc_feholdexcept_setround_53bit): Remove.
77442         (libc_feupdateenv_53bit): Remove.
77443         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77444         (math_opt_barrier, math_force_eval): Remove.
77445         (libc_feholdexcept): Remove.
77446         (libc_feholdexcept_setround): Remove.
77447         (libc_fetestexcept, libc_fesetenv): Remove.
77448         (libc_feupdateenv_test): Remove.
77449         (libc_feupdateenv, libc_feholdsetround): Remove.
77450         (libc_feresetround): Remove.
77452         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77453         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77455         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77456         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77457         (libc_feupdateenv_testl): New.
77458         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77459         (libc_feupdateenv_testf): New.
77460         (libc_feupdateenv): Use libc_feupdateenv_test.
77461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77464         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77465         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77466         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77467         (libc_feresetround_noex): New.
77468         (libc_feresetround_noexf): New.
77469         (libc_feresetround_noexl): New.
77470         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77471         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77472         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77474         SET_RESTORE_ROUND.
77475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77477         (__cos): Likewise.
77478         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77480         SET_RESTORE_ROUND_NOEX.
77481         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77482         SET_RESTORE_ROUND_NOEXF.
77483         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77484         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77485         (libc_feholdsetroundf): New.
77486         (libc_feresetround, libc_feresetroundf): New.
77488         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77489         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77490         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77492         * sysdeps/generic/math_private.h: Include <fenv.h>.
77493         (default_libc_feholdexcept): New.
77494         (default_libc_feholdexcept_setround): New.
77495         (default_libc_fesetenv, default_libc_feupdateenv): New.
77496         (libc_feholdexcept): Only define if undefined.
77497         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77498         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77499         (libc_feholdexcept_setroundl): Likewise.
77500         (libc_feholdexcept_setround_53bit): Likewise.
77501         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77502         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77503         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77504         (libc_feupdateenv_53bit): Likewise.
77505         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77506         (libc_feholdexcept): Convert from macro to inline function.
77507         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77508         (libc_fesetenv, libc_feupdateenv): Likewise.
77510         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77511         not previously defined.
77512         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77513         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77514         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77515         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77516         * sysdeps/ieee754/flt-32/math_private.h: New file.
77517         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77518         math_private.h below SET_FLOAT_WORD.
77519         (__isnan, __isinf_ns, __finite): Remove.
77520         (__isnanf, __isinf_nsf, __finitef): Remove.
77522 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77526 2012-03-17  David S. Miller  <davem@davemloft.net>
77528         [BZ #6471]
77529         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77530         for 2.16.
77532 2012-03-16  David S. Miller  <davem@davemloft.net>
77534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77535         warnings.
77537         [BZ #6471]
77538         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77539         properly.
77540         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77541         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77542         sysdep_routines when subdir is sysvipc.
77543         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77544         __getshmlba helper.
77546         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77550         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77551         [__LP64__].
77553 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77555         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77556         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77557         (__lround): Renamed to ...
77558         (__llround): This.  Replace long int with long long int.
77559         Define lround functions as aliases of llround functions.
77560         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77562 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77564         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77565         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77566         adresses to uintptr_t.  Replace "long int" and "unsigned long
77567         int" with "greg_t" on va_arg.
77569 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77571         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77572         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77574         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77575         Move e_machine check before EI_CLASS check.  Handle x32
77576         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77577         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77578         SKIP_EM_IA_64 and include
77579         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77581         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77582         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77583         (add_system_dir): New macro.
77585         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77586         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77588 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77590         [BZ #2551]
77591         [BZ #2552]
77592         [BZ #2553]
77593         [BZ #2554]
77594         [BZ #2562]
77595         [BZ #2563]
77596         [BZ #2565]
77597         [BZ #2566]
77598         [BZ #2576]
77599         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77600         (y0): Likewise.
77601         * math/w_j0f.c (j0f): Likewise.
77602         (y0f): Likewise.
77603         * math/w_j0l.c (__j0l): Likewise.
77604         (__y0l): Likewise.
77605         * math/w_j1.c (j1): Likewise.
77606         (y1): Likewise.
77607         * math/w_j1f.c (j1f): Likewise.
77608         (y1f): Likewise.
77609         * math/w_j1l.c (__j1l): Likewise.
77610         (__y1l): Likewise.
77611         * math/w_jn.c (jn): Likewise.
77612         (yn): Likewise.
77613         * math/w_jnf.c (jnf): Likewise.
77614         (ynf): Likewise.
77615         * math/w_jnl.c (__jnl): Likewise.
77616         (__ynl): Likewise.
77617         * math/libm-test.inc (j0_test): Add more tests.
77618         (j1_test): Likewise.
77619         (jn_test): Likewise.  Add trailing semicolon to existing test.
77620         (y0_test): Likewise.
77621         (y1_test): Likewise.
77622         * sysdeps/i386/fpu/libm-test-ulps: Update.
77623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77625         [BZ #13851]
77626         [BZ #13854]
77627         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77628         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77629         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77631         (__tanl): Set errno for infinite argument.
77632         * sysdeps/i386/fpu/mptan.c: Remove.
77633         * sysdeps/i386/fpu/s_tan.S: Likewise.
77634         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77635         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77636         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77637         * math/libm-test.inc (tan_test): Add more tests and enable more
77638         tests for double and long double.
77639         * sysdeps/i386/fpu/libm-test-ulps: Update.
77640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77642 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77644         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77645         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77647 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77649         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77650         * configure.in: Use it for both main tree and add-ons.
77651         * configure: Regenerated.
77653 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77655         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77657 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77659         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77660         in comment.
77662         [BZ #13851]
77663         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77664         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77665         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77666         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77667         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77668         infinite argument.
77669         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77670         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77671         != 0 for prec == 2.
77672         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77673         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77674         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77675         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77676         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77677         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77678         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77679         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77680         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77681         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77682         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77683         * math/libm-test.inc (cos_test): Add more tests and enable more
77684         tests for long double.
77685         (sin_test): Likewise.
77686         (sincos_test): Likewise.
77687         * sysdeps/i386/fpu/libm-test-ulps: Update.
77688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77690 2012-03-16  David S. Miller  <davem@davemloft.net>
77692         * sysdeps/sparc/fpu/math_private.h: New file.
77694 2012-03-15  David S. Miller  <davem@davemloft.net>
77696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77697         file.
77698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77700         file.
77701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77706         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77707         sysdep routines.
77708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77710         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77711         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77713         * sysdeps/sparc/sparc-ifunc.h: New file.
77714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77715         sparc-ifunc.h
77716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77718         Likewise.
77719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77720         Likewise.
77721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77725         Likewise.
77726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77731         Likewise.
77732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77733         Likewise.
77734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77752         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77755         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77759 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77761         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77762         scaling.
77763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77765 2012-03-15  Andreas Jaeger  <aj@suse.de>
77767         [BZ #13852]
77768         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77769         ieee754/flt-32 implementation for sin, cos and sincos.
77770         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77771         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77772         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77773         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77774         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77775         ieee754/flt-32 implementation for tan.
77777         * math/libm-test.inc (cos_test): Enable some large input tests for
77778         float as well
77779         (sin_test): Likewise.
77780         (sincos_test): Likewise.
77781         (tan_test): Add tests for large input.
77783         * sysdeps/i386/fpu/libm-test-ulps: Update.
77785 2012-03-15  Andreas Jaeger  <aj@suse.de>
77787         [BZ #13658]
77788         * math/libm-test.inc (cos_test): Add more test cases.
77789         (sin_test): Likewise.
77790         (sincos_test): Likewise.
77792 2012-03-15  Andreas Jaeger  <aj@suse.de>
77794         [BZ #13837]
77795         * math/libm-test.inc (cos_test): Add a test case for large input
77796         value.
77797         (sin_test): Likewise.
77798         (sincos_test): Likewise.
77800 2012-03-15  Andreas Jaeger  <aj@suse.de>
77801             Joseph Myers  <joseph@codesourcery.com>
77803         [BZ #13658]
77804         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77805         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77806         * sysdeps/i386/fpu/branred.c: Likewise.
77807         * sysdeps/i386/fpu/dosincos.c: Likewise.
77808         * sysdeps/i386/fpu/mpa.c: Likewise.
77809         * sysdeps/i386/fpu/s_cos.S: Likewise.
77810         * sysdeps/i386/fpu/s_sin.S: Likewise.
77811         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77812         * sysdeps/i386/fpu/sincos32.c: Likewise.
77814         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77815         Define.
77816         (libc_feupdateenv_53bit): Define.
77817         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77818         Define.
77819         (libc_feupdateenv_53bit): Define.
77821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77822         53 bit (without extend i386 double precision).
77824         * math/libm-test.inc (sincos_test): Add tests for large input.
77825         (sin): Likewise.
77826         (cos): Likewise.
77828         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77830 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77834 2012-03-15  David S. Miller  <davem@davemloft.net>
77836         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77837         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77838         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77839         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77852         file.
77853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77855         file.
77856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77858         file.
77859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77861         file.
77862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77864         fmin/fmax sysdep routines.
77865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77867 2012-03-14  David S. Miller  <davem@davemloft.net>
77869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77873         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77874         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77875         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77876         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77889         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77890         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77891         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77893         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77894         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77898         routines.
77899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77900         file.
77901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77903         file.
77904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77906         file.
77907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77909         file.
77910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77912         file.
77913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77915         file.
77916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77917         file.
77918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77919         file.
77920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77921         file.
77922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77923         New file.
77924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77925         file.
77926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77927         file.
77928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77930         file.
77931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77933         file.
77934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77936         file.
77937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77939         VIS3 routines.
77941         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77942         New file.
77944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77946         * sysdeps/sparc/configure.in: New file.
77947         * sysdeps/sparc/configure: Generate.
77948         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77949         * configure: Regenerate.
77950         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77951         * config.make.in (have-as-vis3): New.
77952         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77953         available use -Av9d instead of -Av9a.
77954         * sysdeps/sparc/sparc64/Makefile: Likewise.
77955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77957         New file.
77958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77959         file.
77960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77961         New file.
77962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77963         file.
77964         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77965         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77966         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77967         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77968         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77970         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77971         fzeros/fnegs to load 0x80000000 into a float register instead of
77972         using the stack.
77973         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77975 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77978         bits/syscall.h.
77979         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77980         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77981         ($(inst_includedir)/bits/syscall.h): Remove rule.
77982         ($(objpfx)bits/syscall.d): Include instead of
77983         $(objpfx)syscall-list.d.
77984         (generated): Change syscall-list.h and syscall-list.d to
77985         bits/syscall.h and bits/syscall.d.
77987 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77989         [BZ #13846]
77990         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77992 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77994         [BZ #13841]
77995         * math/s_csqrt.c: Include <float.h>.
77996         (__csqrt): Scale large or subnormal inputs.
77997         * math/s_csqrtf.c: Likewise.
77998         * math/s_csqrtl.c: Likewise.
77999         * math/libm-test.inc (csqrt_test): Add more tests.
78000         * sysdeps/i386/fpu/libm-test-ulps: Update.
78001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78003         [BZ #13840]
78004         * math/libm-test.inc (hypot_test): Add more tests.
78006 2012-03-13  David S. Miller  <davem@davemloft.net>
78008         [BZ #13840]
78009         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78010         double-precision for the calculation instead of scaling.
78012 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78014         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78015         manipulate bits before adding and subtracting TWO52[sx].
78016         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78017         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78018         Likewise.
78019         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78021 2012-03-13  David S. Miller  <davem@davemloft.net>
78023         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78024         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78026         rtld-global-offsets.h
78027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78029         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78030         large parameters.
78032         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78034         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78035         'err' in the ifdef scope in which it is actually used.
78037         * nss/nss_db/db-init.c: Include string.h
78039 2012-03-12  David S. Miller  <davem@davemloft.net>
78041         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78042         masking out of the most significant byte of random value used.
78043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78044         Fix coding style in previous change.
78046         * sysdeps/unix/sysv/linux/kernel-features.h
78047         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78048         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78049         expression.
78050         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78051         later.
78053 2012-03-11  David S. Miller  <davem@davemloft.net>
78055         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78056         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78058         for 'resultvar' otherwise things get truncated on 64-bit.
78060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78061         Fix masking out of the most significant byte of random value used.
78063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78065 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78069 2012-03-09  David S. Miller  <davem@davemloft.net>
78071         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78072         variables with appropriate CPP guards.
78073         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78074         from the frame pointer, not the stack pointer.  Correct layout
78075         comments.  Fix test on resulting framesize and the management of
78076         the outregs buffer for pltexit.  Preserve floating point return
78077         values across _dl_call_pltexit call.
78078         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78079         framesize and the management of the outregs buffer for pltexit.
78080         Preserve floating point return values across _dl_call_pltexit
78081         call.
78082         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78083         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78084         (la_sparc64_gnu_pltexit): New functions.
78085         (print_exit): Fix format string for return register value.
78087 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78089         * sunrpc/Makefile (others): Add rpcgen.
78090         ($(objpfx)rpcgen): Remove special build rule and dependency on
78091         libc.
78092         * sunrpc/rpcgen.c: New file.
78094 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78096         [BZ #13673]
78097         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78098         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78099         * sysdeps/i386/crti.S: Likewise.
78100         * sysdeps/i386/crtn.S: Likewise.
78101         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78102         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78103         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78104         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78105         * sysdeps/sh/crti.S: Likewise.
78106         * sysdeps/sh/crtn.S: Likewise.
78107         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78109         [BZ #13673]
78110         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78111         with URL.
78112         * locale/programs/locfile-kw.gperf: Likewise.
78113         * locale/programs/charmap-kw.h: Regenerated.
78114         * locale/programs/locfile-kw.h: Likewise.
78116         [BZ #13673]
78117         * intl/plural.y: Replace FSF snail mail address with URL.
78118         * intl/plural.c: Regenerated.
78120 2012-03-09  Richard Henderson  <rth@twiddle.net>
78122         * include/math_private.h: Remove file.
78123         * math/math_private.h: Move file ...
78124         * sysdeps/generic/math_private.h: ... here.
78126         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78127         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78128         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78130         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78131         and <math_private.h>.
78132         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78133         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78134         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78135         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78136         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78137         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78138         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78139         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78140         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78141         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78143         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78144         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78145         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78146         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78147         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78148         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78149         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78150         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78151         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78153         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78154         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78156         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78157         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78158         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78159         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78160         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78161         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78162         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78163         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78164         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78165         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78166         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78167         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78168         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78169         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78170         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78172         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78173         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78174         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78175         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78176         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78177         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78178         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78179         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78180         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78181         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78182         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78183         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78184         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78185         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78186         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78187         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78188         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78189         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78190         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78191         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78192         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78193         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78194         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78195         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78196         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78197         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78198         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78199         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78200         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78201         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78202         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78203         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78204         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78218         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78219         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78220         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78221         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78222         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78223         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78224         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78225         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78226         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78227         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78228         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78229         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78230         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78232         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78233         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78234         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78235         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78236         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78237         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78238         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78239         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78240         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78242         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78243         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78244         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78245         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78246         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78247         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78248         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78249         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78250         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78251         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78252         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78253         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78254         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78255         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78256         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78257         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78258         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78259         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78260         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78261         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78262         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78263         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78264         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78265         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78266         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78267         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78268         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78269         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78270         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78271         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78272         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78273         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78274         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78275         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78276         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78277         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78278         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78279         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78280         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78281         * sysdeps/ieee754/k_standard.c: Likewise.
78282         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78283         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78284         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78285         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78286         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78287         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78288         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78289         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78290         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78291         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78292         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78293         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78294         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78295         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78296         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78297         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78298         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78299         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78300         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78301         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78302         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78303         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78304         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78305         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78306         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78307         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78308         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78309         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78310         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78311         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78312         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78313         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78314         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78315         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78316         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78317         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78318         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78319         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78320         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78321         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78322         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78323         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78324         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78325         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78326         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78327         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78328         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78329         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78330         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78331         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78332         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78333         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78334         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78335         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78337         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78338         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78339         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78340         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78341         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78342         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78343         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78344         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78345         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78397         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78401         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78402         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78404         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78409         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78411         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78414         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78416         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78417         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78419         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78420         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78421         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78422         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78423         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78424         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78425         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78426         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78427         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78428         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78429         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78430         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78431         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78432         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78433         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78434         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78435         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78436         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78437         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78438         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78439         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78440         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78441         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78442         * sysdeps/ieee754/s_lib_version.c: Likewise.
78443         * sysdeps/ieee754/s_matherr.c: Likewise.
78444         * sysdeps/ieee754/s_signgam.c: Likewise.
78445         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78446         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78447         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78448         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78449         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78450         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78451         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78452         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78453         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78454         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78455         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78456         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78457         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78458         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78459         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78461         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78462         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78463         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78467 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78469         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78470         * sunrpc/rpc_main.c: Likewise.
78471         * sunrpc/rpc_svcout.c: Likewise.
78473 2012-03-09  David S. Miller  <davem@davemloft.net>
78475         * include/math_private.h: New file.
78477 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78479         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78480         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78481         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78482         from <bits/socket_type.h>.
78483         (enum __socket_type): Don't define here.
78484         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78486         bits/socket_type.h.
78488         [BZ #13566]
78489         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78490         checking __USE_GNU.
78492         * Makerules ($(inst_includedir)/%.h): New rule.
78493         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78494         (install-others): Remove variable setting.
78495         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78497 2012-03-08  Richard Henderson  <rth@twiddle.net>
78499         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78500         from macro to inline function; merge with the
78501         !__LIBC_INTERNAL_MATH_INLINES version.
78502         (__ieee754_sqrtf): Likewise.
78504         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78505         to inline function.
78506         (__rintf, __floor, __floorf): Likewise.
78508         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78509         macro to inline function.
78510         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78512         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78513         not <math/math_private.h>.
78515 2012-03-08  David S. Miller  <davem@davemloft.net>
78517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78518         copyright year.
78519         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78521 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78523         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78524         normalization.
78525         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78526         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78528 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78530         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78531         be defined individually, they must be defined as a block.  Define
78532         S for printing a string instead of hidint the different by using a
78533         macro for adding the 'l'.
78534         * stdio-common/tst-fphex-wide.c: Adjust.
78536 2012-03-07  Marek Polacek  <polacek@redhat.com>
78538         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78540 2012-03-08  Marek Polacek  <polacek@redhat.com>
78542         [BZ #13806]
78543         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78544         * stdio-common/tst-fphex.c: Define a few macros to make the
78545         test reusable.  Use them.
78546         * stdio-common/tst-fphex-wide.c: New file.
78548 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78550         [BZ #6911]
78551         * manual/macros.texi (gnusystems): New macro.
78552         (nongnusystems): Likewise.
78553         (gnulinuxhurdsystems): Likewise.
78554         (gnuhurdsystems): Likewise..
78555         (gnulinuxsystems): Likewise.
78556         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78557         variants of the GNU system, not "GNU system".
78558         * manual/conf.texi: Likewise.
78559         * manual/errno.texi: Likewise.  Update example of errno macro
78560         expansion.
78561         * manual/filesys.texi: Likewise.
78562         (getumask): Document as specific to GNU/Hurd.
78563         * manual/install.texi: Likewise.  Reword some references to
78564         GNU/Linux.
78565         * manual/intro.texi: Likewise.
78566         * manual/io.texi: Likewise.
78567         (File Name Portability): Detail which constraints are inapplicable
78568         to all GNU systems and which are only inapplicable to GNU/Hurd.
78569         * manual/job.texi: Likewise.
78570         * manual/llio.texi: Likewise.
78571         (O_NOCTTY): Document as present on GNU/Linux.
78572         * manual/maint.texi: Likewise.
78573         * manual/memory.texi: Likewise.
78574         * manual/pattern.texi: Likewise.
78575         * manual/pipe.texi: Likewise.
78576         * manual/process.texi: Likewise.
78577         * manual/resource.texi: Likewise.
78578         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78579         child on GNU/Hurd.
78580         * manual/setjmp.texi: Likewise.
78581         * manual/signal.texi: Likewise.
78582         * manual/startup.texi: Likewise.
78583         * manual/stdio.texi: Likewise.
78584         * manual/terminal.texi: Likewise.
78585         (ONLCR): Document as POSIX.
78586         (OXTABS): Document availability on GNU/Linux as XTABS.
78587         (ONOEOT): Document availability separately from other bits.
78588         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78589         * manual/time.texi: Likewise.
78590         * manual/users.texi: Likewise.
78591         * INSTALL: Regenerated.
78592         * sysdeps/gnu/errlist.c: Regenerated.
78594         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78595         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78596         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78597         puts.
78598         * configure: Regenerated.
78600 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78602         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78603         default includes instead of AC_HEADER_CHECK.
78604         * sysdeps/i386/configure: Regenerated.
78606         [BZ #10716]
78607         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78608         * math/s_cacoshf.c (__cacoshf): Likewise.
78609         * math/s_cacoshl.c (__cacoshl): Likewise.
78610         * math/s_casinh.c (__casinh): Set signs of result from argument.
78611         * math/s_casinhf.c (__casinhf): Likewise.
78612         * math/s_casinhl.c (__casinhl): Likewise.
78613         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78614         (casinh_test): Add more tests.
78615         * sysdeps/i386/fpu/libm-test-ulps: Update.
78616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78618 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78620         * po/zh_TW.po: Update from translation team.
78622         * login/Makefile (distribute): Remove variable.
78623         * catgets/Makefile: Likewise.
78624         * mach/Makefile: Likewise.
78625         * malloc/Makefile: Likewise.
78626         * misc/Makefile: Likewise.
78627         * iconv/Makefile: Likewise.
78628         * nscd/Makefile: Likewise.
78629         * hurd/Makefile: Likewise.
78630         * manual/Makefile: Likewise.
78631         * locale/Makefile: Likewise.
78632         * intl/Makefile: Likewise.
78633         * conform/Makefile: Likewise.
78634         * nss/Makefile: Likewise.
78635         * time/Makefile: Likewise.
78636         * soft-fp/Makefile: Likewise.
78637         * dirent/Makefile: Likewise.
78638         * gmon/Makefile: Likewise.
78639         * po/Makefile: Likewise.
78640         * rt/Makefile: Likewise.
78641         * socket/Makefile: Likewise.
78642         * math/Makefile: Likewise.
78643         * signal/Makefile: Likewise.
78644         * debug/Makefile: Likewise.
78645         * elf/Makefile: Likewise.
78646         * timezone/Makefile: Likewise.
78647         * stdlib/Makefile: Likewise.
78648         * iconvdata/Makefile: Likewise.
78649         * sunrpc/Makefile: Likewise.
78650         * io/Makefile: Likewise.
78651         * argp/Makefile: Likewise.
78652         * inet/Makefile: Likewise.
78653         * hesiod/Makefile: Likewise.
78654         * grp/Makefile: Likewise.
78655         * csu/Makefile: Likewise.
78656         * wctype/Makefile: Likewise.
78657         * crypt/Makefile: Likewise.
78658         * libio/Makefile: Likewise.
78659         * string/Makefile: Likewise.
78660         * nis/Makefile: Likewise.
78661         * resolv/Makefile: Likewise.
78662         * stdio-common/Makefile: Likewise.
78663         * wcsmbs/Makefile: Likewise.
78664         * dlfcn/Makefile: Likewise.
78665         * posix/Makefile: Likewise.
78667         [BZ #6959]
78668         * timezone/Makefile: Don't install timezone files, just the programs
78669         and scripts.
78671 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78673         * nss/databases.def: Add missing gshadow entry.
78675         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78677 2012-03-06  Marek Polacek  <polacek@redhat.com>
78679         [BZ #13726]
78680         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78681         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78682         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78683         * stdio-common/tst-long-dbl-fphex.c: New file.
78685 2012-03-06  David S. Miller  <davem@davemloft.net>
78687         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78688         (set_obp_int): New function.
78689         (get_obp_int): New function.
78690         (__get_clockfreq_via_dev_openprom): Likewise.
78691         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78692         Avoid unused variable warnings on 'val' and use builtin_expect.
78693         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78694         __builtin_expect.
78695         (INLINE_CLONE_SYSCALL): Likewise.
78697 2012-03-05  David S. Miller  <davem@davemloft.net>
78699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78701 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78706         only for |x| >= 40.
78707         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78709 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78711         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78712         Replace gettimeofday with __vdso_gettimeofday.
78714         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78715         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78716         __vdso_clock_gettime and __vdso_getcpu.
78718         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78719         time with __vdso_time.
78721 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78723         * manual/lang.texi (size_t): Note types to which size_t may be
78724         equivalent with the GNU C Library, but do not describe when
78725         differences between them are significant.
78727 2012-03-05  Andreas Jaeger  <aj@suse.de>
78729         * sysdeps/i386/fpu/libm-test-ulps: Update.
78731 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78733         [BZ #3976]
78734         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78735         (__ieee754_pow): Save and restore rounding mode and use
78736         round-to-nearest for main computations.
78737         * math/libm-test.inc (pow_test_tonearest): New function.
78738         (pow_test_towardzero): Likewise.
78739         (pow_test_downward): Likewise.
78740         (pow_test_upward): Likewise.
78741         (main): Call the new functions.
78742         * sysdeps/i386/fpu/libm-test-ulps: Update.
78743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78745         [BZ #3976]
78746         * math/libm-test.inc (cosh_test_tonearest): New function.
78747         (cosh_test_towardzero): Likewise.
78748         (cosh_test_downward): Likewise.
78749         (cosh_test_upward): Likewise.
78750         (sinh_test_tonearest): Likewise.
78751         (sinh_test_towardzero): Likewise.
78752         (sinh_test_downward): Likewise.
78753         (sinh_test_upward): Likewise.
78754         (main): Call the new functions.
78755         * sysdeps/i386/fpu/libm-test-ulps: Update.
78756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78758 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78760         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78761         default stack guard is set in last bytes.
78762         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78764 2012-03-05  Kees Cook  <keescook@chromium.org>
78766         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78768         [BZ #13656]
78769         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78770         possibly allocate from heap instead of stack.
78771         * stdio-common/bug-vfprintf-nargs.c: New file.
78772         * stdio-common/Makefile (tests): Add nargs overflow test.
78774 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78778 2012-03-03  Marek Polacek  <polacek@redhat.com>
78780         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78781         * math/math_private.h: Likewise.
78782         * stdlib/tst-strtod.c: Likewise.
78783         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78784         * sysdeps/x86_64/bits/atomic.h: Likewise.
78786 2012-03-02  David S. Miller  <davem@davemloft.net>
78788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78792         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78793         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78794         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78795         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78797 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78799         [BZ #13792]
78800         * manual/examples/README: New file, says the example source files
78801         can be used under GPL>=2.
78802         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78803         line containing just "*/".
78804         * manual/examples/add.c: Add copyright header (GPL>=2).
78805         * manual/examples/argp-ex1.c: Likewise.
78806         * manual/examples/argp-ex2.c: Likewise.
78807         * manual/examples/argp-ex3.c: Likewise.
78808         * manual/examples/argp-ex4.c: Likewise.
78809         * manual/examples/atexit.c: Likewise.
78810         * manual/examples/db.c: Likewise.
78811         * manual/examples/dir.c: Likewise.
78812         * manual/examples/dir2.c: Likewise.
78813         * manual/examples/execinfo.c: Likewise.
78814         * manual/examples/filecli.c: Likewise.
78815         * manual/examples/filesrv.c: Likewise.
78816         * manual/examples/fmtmsgexpl.c: Likewise.
78817         * manual/examples/genpass.c: Likewise.
78818         * manual/examples/inetcli.c: Likewise.
78819         * manual/examples/inetsrv.c: Likewise.
78820         * manual/examples/isockad.c: Likewise.
78821         * manual/examples/longopt.c: Likewise.
78822         * manual/examples/memopen.c: Likewise.
78823         * manual/examples/memstrm.c: Likewise.
78824         * manual/examples/mkfsock.c: Likewise.
78825         * manual/examples/mkisock.c: Likewise.
78826         * manual/examples/mygetpass.c: Likewise.
78827         * manual/examples/pipe.c: Likewise.
78828         * manual/examples/popen.c: Likewise.
78829         * manual/examples/rprintf.c: Likewise.
78830         * manual/examples/search.c: Likewise.
78831         * manual/examples/select.c: Likewise.
78832         * manual/examples/setjmp.c: Likewise.
78833         * manual/examples/sigh1.c: Likewise.
78834         * manual/examples/sigusr.c: Likewise.
78835         * manual/examples/stpcpy.c: Likewise.
78836         * manual/examples/strdupa.c: Likewise.
78837         * manual/examples/strftim.c: Likewise.
78838         * manual/examples/strncat.c: Likewise.
78839         * manual/examples/subopt.c: Likewise.
78840         * manual/examples/swapcontext.c: Likewise.
78841         * manual/examples/termios.c: Likewise.
78842         * manual/examples/testopt.c: Likewise.
78843         * manual/examples/testpass.c: Likewise.
78844         * manual/examples/timeval_subtract.c: Likewise.
78846         [BZ #13792]
78847         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78848         function to ...
78849         * manual/timeval_subtract.c.texi: ... here, new file.
78851 2012-03-02  David S. Miller  <davem@davemloft.net>
78853         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78855 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78857         [BZ #3976]
78858         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78859         (__sin): Save and restore rounding mode and use round-to-nearest
78860         for all computations.
78861         (__cos): Save and restore rounding mode and use round-to-nearest
78862         for all computations.
78863         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78864         <fenv.h>.
78865         (tan): Save and restore rounding mode and use round-to-nearest for
78866         all computations.
78867         * math/libm-test.inc (cos_test_tonearest): New function.
78868         (cos_test_towardzero): Likewise.
78869         (cos_test_downward): Likewise.
78870         (cos_test_upward): Likewise.
78871         (sin_test_tonearest): Likewise.
78872         (sin_test_towardzero): Likewise.
78873         (sin_test_downward): Likewise.
78874         (sin_test_upward): Likewise.
78875         (tan_test_tonearest): Likewise.
78876         (tan_test_towardzero): Likewise.
78877         (tan_test_downward): Likewise.
78878         (tan_test_upward): Likewise.
78879         (main): Call the new functions.
78880         * sysdeps/i386/fpu/libm-test-ulps: Update.
78881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78883         [BZ #10135]
78884         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78885         small n, then large n, before computing and testing k+n.
78886         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78887         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78888         Likewise.
78889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78890         Likewise.
78891         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78892         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78893         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78895         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78897         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78898         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78899         * math/libm-test.inc (scalbn_test): Add more tests.
78900         (scalbln_test): Likewise.
78902         * manual/filesys.texi (mode_t): Describe constraints on size and
78903         signedness, not exact equivalence to a particular type.
78904         (ino_t): Likewise.
78905         (ino64_t): Likewise.
78906         (dev_t): Likewise.
78907         (nlink_t): Likewise.
78908         (blkcnt_t): Likewise.
78909         (blkcnt64_t): Likewise.
78910         * manual/llio.texi (off_t): Likewise.
78912         [BZ #3976]
78913         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78914         (__ieee754_exp): Save and restore rounding mode and use
78915         round-to-nearest for all computations.
78916         * math/libm-test.inc (exp_test_tonearest): New function.
78917         (exp_test_towardzero): Likewise.
78918         (exp_test_downward): Likewise.
78919         (exp_test_upward): Likewise.
78920         (main): Call the new functions.
78921         * sysdeps/i386/fpu/libm-test-ulps: Update.
78922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78924 2012-03-01  Chris Demetriou  <cgd@google.com>
78926         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78927         have predictable order.
78929 2012-03-01  David S. Miller  <davem@davemloft.net>
78931         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78933         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78934         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78935         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78936         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78938         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78939         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78940         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78942         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78943         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78944         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78945         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78946         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78950         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78951         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78952         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78954         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78955         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78956         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78957         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78958         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78959         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78960         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78961         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78962         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78963         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78964         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78967         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78968         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78970         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78971         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78972         * sysdeps/sparc/elf/configure: Regenerated.
78974 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78976         * configure.in (AS, LD): Require binutils 2.20 or later.
78977         * configure: Regenerated.
78978         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78979         as required minimum version.
78980         * INSTALL: Regenerated.
78982         [BZ #2541]
78983         [BZ #4108]
78984         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78985         before squaring exponent.
78986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78987         bottom long double and 27 bits of top long double before squaring
78988         exponent.
78989         * math/libm-test.inc (erfc_test): Add more tests.
78990         * sysdeps/i386/fpu/libm-test-ulps: Update.
78991         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78994 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78996         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78997         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78998         containing bit-fields.
78999         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79000         * soft-fp/single.h (_FP_UNION_S): Likewise.
79001         * soft-fp/double.h (_FP_UNION_D): Likewise.
79003 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79005         [BZ #13786]
79006         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79007         not include ../strcmp.S.
79008         [USE_AS_STRNCASECMP_L]: Likewise.
79009         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79010         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79011         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79012         (__strncasecmp_l_ia32): Define as alias to
79013         __strncasecmp_l_nonascii.
79015         [BZ #5794]
79016         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79017         * sysdeps/i386/fpu/libm-test-ulps: Update.
79018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79020         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79023 2012-02-29  Jeff Law  <law@redhat.com>
79025         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79026         out of bounds read.
79028 2012-02-29  Marek Polacek  <polacek@redhat.com>
79030         [BZ #13706]
79031         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79032         * elf/Makefile: Add rules to run tst-unused-dep.out.
79034 2012-02-28  David S. Miller  <davem@davemloft.net>
79036         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79037         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79038         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79039         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79040         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79041         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79043 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79045         * math/libm-test.inc (llround_test): Move one test from
79046         lround_test.  Use TEST_f_L in moved test.
79047         (lround_test): Move misplaced test to llround_test.  Add testcase
79048         from bug 2561.
79050 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79052         * sysdeps/x86_64/fpu/e_expf.S: New file.
79053         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79055 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79057         [BZ #13637]
79058         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79059         of remain_len that may cause incomplete multi-byte character and
79060         false match.
79061         * posix/bug-regex33.c: New file.
79062         * posix/Makefile (tests): Add bug-regex33.
79064 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79066         * manual/macros.texi: New file.
79067         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79068         * manual/libc.texinfo: Include macros.texi.
79069         * manual/creatute.texi: Likewise.
79070         * manual/install.texi: Likewise.
79071         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79072         @glibcadj{} in references to the GNU C Library.
79073         * manual/charset.texi: Likewise.
79074         * manual/conf.texi: Likewise.
79075         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79076         when not using those macros.
79077         * manual/creature.texi: Likewise.
79078         * manual/crypt.texi: Likewise.
79079         * manual/errno.texi: Likewise.
79080         * manual/filesys.texi: Likewise.
79081         * manual/header.texi: Likewise.
79082         * manual/install.texi: Likewise.
79083         * manual/intro.texi: Likewise.
79084         * manual/io.texi: Likewise.
79085         * manual/job.texi: Likewise.
79086         * manual/lang.texi: Likewise.
79087         * manual/libc.texiinfo: Likewise.
79088         * manual/llio.texi: Likewise.
79089         * manual/locale.texi: Likewise.
79090         * manual/maint.texi: Likewise.
79091         * manual/math.texi: Likewise.
79092         * manual/memory.texi: Likewise.
79093         * manual/message.texi: Likewise.
79094         * manual/nss.texi: Likewise.
79095         * manual/pattern.texi: Likewise.
79096         * manual/process.texi: Likewise.
79097         * manual/resource.texi: Likewise.
79098         * manual/search.texi: Likewise.
79099         * manual/setjmp.texi: Likewise.
79100         * manual/signal.texi: Likewise.
79101         * manual/socket.texi: Likewise.
79102         * manual/startup.texi: Likewise.
79103         * manual/stdio.texi: Likewise.
79104         * manual/string.texi: Likewise.
79105         * manual/sysinfo.texi: Likewise.
79106         * manual/syslog.texi: Likewise.
79107         * manual/terminal.texi: Likewise.
79108         * manual/time.texi: Likewise.
79109         * manual/users.texi: Likewise.
79110         * INSTALL: Regenerated.
79111         * NOTES: Regenerated.
79112         * sysdeps/gnu/errlist.c: Regenerated.
79114 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79116         * include/dirent.h: Include <dirstream.h> before
79117         <dirent/dirent.h>.
79119 2012-02-28  David S. Miller  <davem@davemloft.net>
79121         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79122         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79123         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79124         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79126 2012-02-27  David S. Miller  <davem@davemloft.net>
79128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79130         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79131         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79134         frame pointer instead of stack pointer relative arg slot.
79135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79136         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79137         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79139 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79141         [BZ #3992]
79142         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79144 2012-02-27  David S. Miller  <davem@davemloft.net>
79146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79150         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79151         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79152         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79153         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79155 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79157         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79158         later.  Allow versions 5-9.
79159         * configure: Regenerated.
79160         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79161         required minimum version and 4.6 as recommended version.  Do not
79162         mention bugs in GCC 2.7 and 2.8.
79163         * INSTALL: Regenerated.
79165 2012-02-27  David S. Miller  <davem@davemloft.net>
79167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79171         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79172         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79173         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79174         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79176         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79177         manipulate bits before adding and subtracting TWO112[sx].
79178         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79180 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79182         [BZ #13775]
79183         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79184         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79185         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79186         being in POSIX, because they are in 1003.1-2008.
79188         * rt/tst-aio.c: Include <fcntl.h>.
79189         * rt/tst-aio7.c: Likewise.
79190         * rt/tst-aio64.c: Likewise.
79192         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79194 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79196         * manual/install.texi (--with-headers): Describe headers as
79197         interface headers, not private headers.
79198         (Specific advice for GNU/Linux systems): Describe use of headers
79199         from "make headers_install", not private headers from older
79200         kernels.
79201         * INSTALL: Regenerated.
79202         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79203         Change to 2.6.19.
79204         * sysdeps/unix/sysv/linux/configure: Regenerated.
79206         * manual/llio.texi (fclean): Remove documentation.
79208         * manual/Makefile (libc-texi-generated): New variable.  Include
79209         version.texi.
79210         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79211         $(libc-texi-generated), not duplicated list of files.
79212         (version.texi, stamp-version): New rules.
79213         (realclean): Remove $(libc-texi-generated), not individual files
79214         from that list.  Do not remove dir-add.texinfo.
79215         * manual/libc.texinfo: Comment out uses of edition numbers and
79216         references to printed manual.  Remove last-updated dates.
79217         (EDITION): Comment out.
79218         (ISBN): Likewise.
79219         (VERSION, UPDATED): Remove.
79220         (version.texi): Include.
79222 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79224         * sysdeps/posix/spawni.c: Include <signal.h>.
79225         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79226         * sysdeps/pthread/aio_fsync.c: Likewise.
79228 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79230         * conform/Makefile (tests): Run only when not cross-compiling and
79231         when fast-check is not defined.
79233         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79234         * conform/data/limits.h-data: Fixes for POSIX2008.
79235         * conform/run-conformtest.sh: Run all tests.
79236         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79237         headers.
79238         * include/bits/dlfcn.h: Likewise.
79239         * include/langinfo.h: Likewise.
79240         * include/monetary.h: Likewise.
79241         * include/sys/poll.h: Likewise.
79243         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79244         for __USE_GNU.
79245         * posix/spawn.h: Define __need_sigset_t.
79246         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79247         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79248         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79249         to get sigevent_t only.
79250         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79251         only for __USE_GNU.
79252         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79253         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79254         process_vm_writev only for __USE_GNU.
79255         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79257         * conform/Makefile: For now ignore errors from run-conformtest.
79258         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79259         POSIX to avoid namespace pollution.  Don't prepend headers.
79260         * conform/data/aio.h-data: Fixes for POSIX testing.
79261         * conform/data/fcntl.h-data: Likewise.
79262         * conform/data/glob.h-data: Likewise.
79263         * conform/data/grp.h-data: Likewise.
79264         * conform/data/pthread.h-data: Likewise.
79265         * conform/data/pwd.h-data: Likewise.
79266         * conform/data/signal.h-data: Likewise.
79267         * conform/data/spawn.h-data: Likewise.
79268         * conform/data/stdio.h-data: Likewise.
79269         * conform/data/stdlib.h-data: Likewise.
79270         * conform/data/stropts.h-data: Likewise.
79271         * conform/data/sys/mman.h-data: Likewise.
79272         * conform/data/sys/stat.h-data: Likewise.
79273         * conform/data/sys/types.h-data: Likewise.
79274         * conform/data/sys/wait.h-data: Likewise.
79275         * conform/data/time.h-data: Likewise.
79276         * conform/data/unistd.h-data: Likewise.
79277         * conform/data/utime.h-data: Likewise.
79279         * io/sys/stat.h: fchmod was always in POSIX.
79280         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79281         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79282         * rt/aio.h: Define __need_timespec before including <time.h>.
79283         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79284         struct.  Add forward declaration of pthread_attr_t and use it in
79285         sigevent.
79286         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79287         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79288         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79289         always remove CLK_TCK definition.
79291 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79293         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79295 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79297         * conform/run-conformtest.sh: New file.
79298         * conform/Makefile: Run run-conformtest for tests.
79299         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79300         support.
79302         * conform/data/uchar.h-data: New file.
79303         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79304         * conform/data/arpa/inet.h-data: Likewise.
79305         * conform/data/assert.h-data: Likewise.
79306         * conform/data/complex.h-data: Likewise.
79307         * conform/data/cpio.h-data: Likewise.
79308         * conform/data/ctype.h-data: Likewise.
79309         * conform/data/dirent.h-data: Likewise.
79310         * conform/data/dlfcn.h-data: Likewise.
79311         * conform/data/errno.h-data: Likewise.
79312         * conform/data/fcntl.h-data: Likewise.
79313         * conform/data/float.h-data: Likewise.
79314         * conform/data/fmtmsg.h-data: Likewise.
79315         * conform/data/fnmatch.h-data: Likewise.
79316         * conform/data/ftw.h-data: Likewise.
79317         * conform/data/glob.h-data: Likewise.
79318         * conform/data/grp.h-data: Likewise.
79319         * conform/data/iconv.h-data: Likewise.
79320         * conform/data/inttypes.h-data: Likewise.
79321         * conform/data/langinfo.h-data: Likewise.
79322         * conform/data/libgen.h-data: Likewise.
79323         * conform/data/limits.h-data: Likewise.
79324         * conform/data/locale.h-data: Likewise.
79325         * conform/data/math.h-data: Likewise.
79326         * conform/data/monetary.h-data: Likewise.
79327         * conform/data/mqueue.h-data: Likewise.
79328         * conform/data/ndbm.h-data: Likewise.
79329         * conform/data/net/if.h-data: Likewise.
79330         * conform/data/netdb.h-data: Likewise.
79331         * conform/data/netinet/in.h-data: Likewise.
79332         * conform/data/nl_types.h-data: Likewise.
79333         * conform/data/poll.h-data: Likewise.
79334         * conform/data/pthread.h-data: Likewise.
79335         * conform/data/pwd.h-data: Likewise.
79336         * conform/data/regex.h-data: Likewise.
79337         * conform/data/sched.h-data: Likewise.
79338         * conform/data/search.h-data: Likewise.
79339         * conform/data/semaphore.h-data: Likewise.
79340         * conform/data/setjmp.h-data: Likewise.
79341         * conform/data/signal.h-data: Likewise.
79342         * conform/data/spawn.h-data: Likewise.
79343         * conform/data/stdarg.h-data: Likewise.
79344         * conform/data/stdio.h-data: Likewise.
79345         * conform/data/stdlib.h-data: Likewise.
79346         * conform/data/string.h-data: Likewise.
79347         * conform/data/strings.h-data: Likewise.
79348         * conform/data/stropts.h-data: Likewise.
79349         * conform/data/sys/ipc.h-data: Likewise.
79350         * conform/data/sys/mman.h-data: Likewise.
79351         * conform/data/sys/msg.h-data: Likewise.
79352         * conform/data/sys/resource.h-data: Likewise.
79353         * conform/data/sys/select.h-data: Likewise.
79354         * conform/data/sys/sem.h-data: Likewise.
79355         * conform/data/sys/shm.h-data: Likewise.
79356         * conform/data/sys/socket.h-data: Likewise.
79357         * conform/data/sys/stat.h-data: Likewise.
79358         * conform/data/sys/statvfs.h-data: Likewise.
79359         * conform/data/sys/time.h-data: Likewise.
79360         * conform/data/sys/timeb.h-data: Likewise.
79361         * conform/data/sys/times.h-data: Likewise.
79362         * conform/data/sys/types.h-data: Likewise.
79363         * conform/data/sys/uio.h-data: Likewise.
79364         * conform/data/sys/un.h-data: Likewise.
79365         * conform/data/sys/utsname.h-data: Likewise.
79366         * conform/data/sys/wait.h-data: Likewise.
79367         * conform/data/syslog.h-data: Likewise.
79368         * conform/data/tar.h-data: Likewise.
79369         * conform/data/termios.h-data: Likewise.
79370         * conform/data/utime.h-data: Likewise.
79371         * conform/data/utmpx.h-data: Likewise.
79372         * conform/data/varargs.h-data: Likewise.
79373         * conform/data/wchar.h-data: Likewise.
79374         * conform/data/wctype.h-data: Likewise.
79375         * conform/data/wordexp.h-data: Likewise.
79377         * include/stropts.h: New file.
79378         * include/uchar.h: New file.
79379         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79380         * include/assert.h: Likewise.
79381         * include/ctype.h: Likewise.
79382         * include/dirent.h: Likewise.
79383         * include/dlfcn.h: Likewise.
79384         * include/fcntl.h: Likewise.
79385         * include/fnmatch.h: Likewise.
79386         * include/glob.h: Likewise.
79387         * include/grp.h: Likewise.
79388         * include/libio.h: Likewise.
79389         * include/locale.h: Likewise.
79390         * include/math.h: Likewise.
79391         * include/net/if.h: Likewise.
79392         * include/netdb.h: Likewise.
79393         * include/netinet/in.h: Likewise.
79394         * include/pthread.h: Likewise.
79395         * include/pwd.h: Likewise.
79396         * include/regex.h: Likewise.
79397         * include/sched.h: Likewise.
79398         * include/search.h: Likewise.
79399         * include/setjmp.h: Likewise.
79400         * include/signal.h: Likewise.
79401         * include/stdio.h: Likewise.
79402         * include/stdlib.h: Likewise.
79403         * include/string.h: Likewise.
79404         * include/sys/cdefs.h: Likewise.
79405         * include/sys/mman.h: Likewise.
79406         * include/sys/msg.h: Likewise.
79407         * include/sys/resource.h: Likewise.
79408         * include/sys/select.h: Likewise.
79409         * include/sys/socket.h: Likewise.
79410         * include/sys/stat.h: Likewise.
79411         * include/sys/statvfs.h: Likewise.
79412         * include/sys/time.h: Likewise.
79413         * include/sys/times.h: Likewise.
79414         * include/sys/uio.h: Likewise.
79415         * include/sys/utsname.h: Likewise.
79416         * include/sys/wait.h: Likewise.
79417         * include/termios.h: Likewise.
79418         * include/time.h: Likewise.
79419         * include/ulimit.h: Likewise.
79420         * include/unistd.h: Likewise.
79421         * include/utime.h: Likewise.
79422         * include/wchar.h: Likewise.
79423         * include/wctype.h: Likewise.
79424         * include/wordexp.h: Likewise.
79426         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79428         * time/time.h: TIME_UTC must be a macro.
79429         Make timespec_get available for ISO C11 only as well.
79431 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79433         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79434         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79436 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79438         * configure.in: Use -o not -a in test for unsupported multi-arch.
79440 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79442         * manual/texinfo.tex: Update to version 2012-01-19.16.
79444 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79446         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79448 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79450         [BZ #13738]
79451         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79452         * manual/fdl-1.3.texi: New file.
79453         * manual/fdl-1.1.texi: File removed.
79455         [BZ #13738]
79456         * manual/libc.texinfo (FDL_VERSION): New @set.
79457         Use it for mention of FDL in cover text.
79458         (Documentation License): Use it in @include file name.
79460 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79461             Roland McGrath  <roland@hack.frob.com>
79463         [BZ #5461]
79464         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79465         (not LONG_LONG_MAX and LONG_LONG_MIN.
79466         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79467         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79468         name.
79469         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79471 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79473         [BZ #2547]
79474         [BZ #11365]
79475         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79476         manipulate bits before adding and subtracting TWO23[sx].
79477         * math/libm-test.inc (nearbyint_test): Add more tests.
79479 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79481         [BZ #2548]
79482         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79483         bits before adding and subtracting TWO23[sx].
79484         * math/libm-test.inc (rint_test): Add more tests.
79485         (rint_test_tonearest): Likewise.
79486         (rint_test_towardzero): Likewise.
79487         (rint_test_downward): Likewise.
79488         (rint_test_upward: Likewise.
79490 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79492         [BZ #10110]
79493         * include/stdc-predef.h: New file.  Extracted from features.h.
79494         * include/features.h: Include stdc-predef.h.
79495         * Makefile (headers): Add stdc-predef.h.
79496         * CONFORMANCE (Compiler limitations): Update.
79498 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79500         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79502 2012-02-21  David S. Miller  <davem@davemloft.net>
79504         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79505         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79507 2012-02-20  David S. Miller  <davem@davemloft.net>
79509         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79510         using a normal save/restore sequence, rather than allocating a
79511         dummy stack frame just to store a frame pointer and restore.
79512         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79514 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79516         * manual/install.texi: Fix stray word in line-wrapped comment.
79518 2012-02-20  David S. Miller  <davem@davemloft.net>
79520         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79521         both binutils and gcc support GOTDATA.
79523         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79524         "rd %pc" in the PIC register setup sequences.
79526         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79527         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79528         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79529         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79530         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79531         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79532         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79535         (SYSCALL_ERROR_HANDLER): Likewise.
79536         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79537         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79539         (SYSCALL_ERROR_HANDLER): Likewise.
79541         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79542         (HAVE_GCC_GOTDATA): New.
79543         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79544         relocation support in both binutils and gcc.
79545         * sysdeps/sparc/elf/configure: Regenerate.
79547         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79548         * sysdeps/sparc/sparc32/elf/configure: Delete.
79549         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79550         * sysdeps/sparc/sparc64/elf/configure: Delete.
79551         * sysdeps/sparc/elf/configure.in: New file.
79552         * sysdeps/sparc/elf/configure: Generate.
79554         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79555         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79556         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79557         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79558         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79560 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79562         * manual/install.texi: Do not mention specific glibc version
79563         numbers.
79564         * manual/libc.texinfo (VERSION, UPDATED): Update.
79565         (@copying): Use @copyright{} and range of years.
79567 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79569         [BZ #13695]
79570         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79571         [crti.S not in sysdirs] (generated): Do not append.
79572         [crti.S not in sysdirs] (omit-deps): Likewise.
79573         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79574         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79575         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79576         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79577         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79578         Likewise.
79579         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79580         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79581         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79582         * csu/defs.awk: Remove file.
79583         * sysdeps/generic/initfini.c: Likewise.
79584         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79585         variable.
79586         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79587         Likewise.
79589 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79591         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79592         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79593         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79594         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79595         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79596         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79597         <bits/epoll.h>.
79598         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79599         (__EPOLL_PACKED): Define to empty if not defined by
79600         <bits/epoll.h>.
79601         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79603         bits/epoll.h.
79605 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79607         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79608         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79609         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79610         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79611         <bits/timerfd.h>.
79612         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79614         bits/timerfd.h.
79616 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79618         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79619         in C locale.
79620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79621         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79622         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79625 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79627         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79628         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79630 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79632         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79633         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79634         defined.
79635         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79636         Likewise.
79637         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79638         entry for 2.16.
79640 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79642         * math/w_acos.c: Use non-signaling floating-point comparisons.
79643         * math/w_acosf.c: Likewise.
79644         * math/w_acosh.c: Likewise.
79645         * math/w_acoshf.c: Likewise.
79646         * math/w_acoshl.c: Likewise.
79647         * math/w_acosl.c: Likewise.
79648         * math/w_asin.c: Likewise.
79649         * math/w_asinf.c: Likewise.
79650         * math/w_asinl.c: Likewise.
79651         * math/w_atanh.c: Likewise.
79652         * math/w_atanhf.c: Likewise.
79653         * math/w_atanhl.c: Likewise.
79654         * math/w_exp2.c: Likewise.
79655         * math/w_exp2f.c: Likewise.
79656         * math/w_exp2l.c: Likewise.
79657         * math/w_j0.c: Likewise.
79658         * math/w_j0f.c: Likewise.
79659         * math/w_j0l.c: Likewise.
79660         * math/w_j1.c: Likewise.
79661         * math/w_j1f.c: Likewise.
79662         * math/w_j1l.c: Likewise.
79663         * math/w_jn.c: Likewise.
79664         * math/w_jnf.c: Likewise.
79665         * math/w_log.c: Likewise.
79666         * math/w_log10.c: Likewise.
79667         * math/w_log10f.c: Likewise.
79668         * math/w_log10l.c: Likewise.
79669         * math/w_log2.c: Likewise.
79670         * math/w_log2f.c: Likewise.
79671         * math/w_log2l.c: Likewise.
79672         * math/w_logf.c: Likewise.
79673         * math/w_logl.c: Likewise.
79674         * math/w_sqrt.c: Likewise.
79675         * math/w_sqrtf.c: Likewise.
79676         * math/w_sqrtl.c: Likewise.
79677         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79678         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79680         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79681         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79683 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79685         [BZ #9739]
79686         * manual/string.texi (strnlen): Use correct parameter name in
79687         equivalent expression.
79689 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79691         [BZ #11174]
79692         * manual/users.texi (seteuid): Consistently use neweuid for
79693         argument name.
79695 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79697         [BZ #13704]
79698         * manual/nss.texi (Services in the NSS configuration): Correct
79699         list of services in example configuration file.
79701 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79703         [BZ #11322]
79704         * manual/arith.texi: Remove statements about negative zero
79705         behaving identically to zero.
79707 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79709         [BZ #5993]
79710         * manual/install.texi: Do not document upgrading from libc5.
79712 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79714         [BZ #4596]
79715         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79717 2012-02-18  David S. Miller  <davem@davemloft.net>
79719         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79720         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79721         %o7 across the call.
79722         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79723         instead.
79724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79725         SETUP_PIC_REG_LEAF.
79726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79727         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79728         * sysdeps/sparc/crtn.S: Likewise.
79730 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79732         * aout/Makefile: Remove.
79734 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79736         [BZ #13058]
79737         * manual/examples/argp-ex1.c (main): Format definition in GNU
79738         style.
79739         * manual/examples/argp-ex2.c (main): Likewise.
79740         * manual/examples/argp-ex3.c (main): Likewise.
79741         * manual/examples/argp-ex4.c (main): Likewise.
79742         * manual/examples/longopt.c (main): Use new-style prototype
79743         definition.
79744         * manual/examples/strncat.c (main): Specify return type and use
79745         (void) for arguments.
79746         * manual/examples/subopt.c (main): Use char **argv argument.
79748 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79750         [BZ #5077]
79751         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79752         rounding modes.
79754 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79756         [BZ #6907]
79757         * manual/string.texi (strchr): Change when strchrnul is
79758         recommended.
79760 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79762         [BZ #174]
79763         * manual/locale.texi (setlocale): Document LOCPATH.
79765 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79767         [BZ #10210]
79768         * manual/process.texi (execle): Move @dots{} before last argument.
79770 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79772         [BZ #12047]
79773         * manual/charset.texi (Generic Charset Conversion): Fix typo
79774         (LC_TYPE -> LC_CTYPE).
79776 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79778         [BZ #5805]
79779         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79780         (scalbnf): Likewise.
79781         (scalbnl): Likewise.
79782         (scalbln): Likewise.
79783         (scalblnf): Likewise.
79784         (scalblnl): Likewise.
79785         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79786         (vwarnx): Likewise.
79787         (verr): Likewise.
79788         (verrx): Likewise.
79789         * manual/filesys.texi (telldir): Use braces around return type.
79790         * manual/llio.texi (mmap): Add space after comma.
79791         (mmap64): Likewise.
79792         * manual/math.texi (jn): Use @var{} on parameter names.
79793         (jnf): Likewise.
79794         (jnl): Likewise.
79795         (yn): Likewise.
79796         (ynf): Likewise.
79797         (ynl): Likewise.
79798         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79799         line.
79800         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79801         "...".
79802         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79803         (sched_get_priority_max): Likewise.
79804         * manual/signal.texi (sigvec): Add space after comma.
79805         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79806         names.
79807         (if_indextoname): Likewise.
79808         (if_freenameindex): Likewise.
79809         (sendto): Use ',' instead of '.' in prototype.
79810         * manual/startup.texi (syscall): Use @dots{} instead of literal
79811         "...".
79812         * manual/stdio.texi (__fpending): Separate initial words of
79813         paragraph from @deftypefun line.
79814         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79815         "...".
79816         (vsyslog): Use @var{} on parameter names.
79817         * manual/terminal.texi (stty): Use @var{} on parameter names.
79818         * manual/users.texi (getutmp): Use @var{} on parameter names.
79819         (getutmpx): Likewise.
79821 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79823         [BZ #6884]
79824         * manual/stdio.texi (fopen): Fix typos in description of
79825         ",ccs=STRING".
79827 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79829         [BZ #4026]
79830         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79831         get clock_id definition.
79833 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79835         [BZ #4822]
79836         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79837         (madvise): Cast every argument to void on its own.
79839 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79841         [BZ #9902]
79842         * manual/startup.texi (Exit Status): Fix typo.
79844 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79846         [BZ #10140]
79847         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79848         * manual/examples/argp-ex2.c: Likewise.
79849         * manual/examples/argp-ex3.c: Likewise.
79851 2012-02-16  Richard Henderson  <rth@redhat.com>
79853         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79854         * sysdeps/s390/s390-32/initfini.c: Remove.
79855         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79856         * sysdeps/s390/s390-64/initfini.c: Remove.
79858 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79860         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79861         compiler output for sysdeps/generic/initfini.c.
79862         * sysdeps/sh/elf/initfini.c: Remove file.
79864 2012-02-16  David S. Miller  <davem@davemloft.net>
79866         [BZ #11494]
79867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79869         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79870         * sysdeps/sparc/crti.S: New file.
79871         * sysdeps/sparc/crtn.S: New file.
79872         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79873         * sysdeps/sparc/sparc64/Makefile: Likewise.
79875 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79877         [BZ #3335]
79878         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79880 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79882         [BZ #4822]
79883         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79885         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79886         (write, read, close): Likewise.
79887         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79889 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79891         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79892         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79893         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79894         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79895         <bits/signalfd.h>.
79896         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79898         bits/signalfd.h.
79900 2012-02-14  Marek Polacek  <polacek@redhat.com>
79902         * sysdeps/x86_64/crti.S: New file.
79903         * sysdeps/x86_64/crtn.S: New file.
79904         * sysdeps/x86_64/elf/initfini.c: Remove file.
79906 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79908         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79909         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79910         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79911         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79912         <bits/inotify.h>.
79913         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79915         bits/inotify.h.
79917 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79919         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79920         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79921         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79922         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79923         <bits/eventfd.h>.
79924         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79926         bits/eventfd.h.
79928 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79930         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79931         __feraiseexcept instead of feraiseexcept.
79933         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79934         nanosleep invocations.
79935         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79936         strings, and add error checking for a nanosleep invocations.
79938 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79940         Replace FSF snail mail address with URLs, as per GNU coding standards.
79941         Most of the snail mail addresses were wrong anyway, and omitting
79942         them makes the source code easier to maintain.  Almost all of the
79943         changes are to license notices and to locale LC_IDENTIFICATION
79944         addresses, except for this one:
79945         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79946         not its snail mail address.
79948 2012-02-09  Richard Henderson  <rth@twiddle.net>
79950         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79951         of kernel-features.h.
79953         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79955 2012-02-08  Marek Polacek  <polacek@redhat.com>
79957         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79958         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79959         * sysdeps/gnu/_G_config.h: Likewise.
79960         * sysdeps/generic/_G_config.h: Likewise.
79962 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79964         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79965         tests.
79966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79968         * sysdeps/powerpc/powerpc32/crti.S: New file.
79969         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79970         * sysdeps/powerpc/powerpc64/crti.S: New file.
79971         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79973         * Makeconfig (have-initfini): Don't set.
79974         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79975         * configure.in (nopic_initfini): Don't substitute.
79976         * config.h.in (HAVE_INITFINI): Don't #undef.
79977         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79978         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79980 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79982         Support crti.S and crtn.S provided directly by architectures.
79983         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79984         [crti.S in sysdirs] (omit-deps): Likewise.
79985         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79986         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79987         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79988         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79989         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79990         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79991         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79992         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79993         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79994         compiler output for sysdeps/generic/initfini.c.
79995         * sysdeps/i386/elf/Makefile: Remove file.
79996         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79998 2012-02-07  Marek Polacek  <polacek@redhat.com>
80000         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80001         * sysdeps/gnu/_G_config.h: Likewise.
80002         * sysdeps/mach/hurd/_G_config.h: Likewise.
80004 2012-02-07  Marek Polacek  <polacek@redhat.com>
80006         * math/Makefile (tests): Add tst-CMPLX2.
80007         * math/tst-CMPLX2.c: New file.
80009 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80011         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80013         * math/libm-test.inc (jn_test): Add missing L suffix.
80015 2012-02-06  Marek Polacek  <polacek@redhat.com>
80017         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80018         * sysdeps/i386/fpu/e_powf.S: Likewise.
80019         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80020         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80021         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80022         * sysdeps/i386/fpu/e_pow.S: Likewise.
80023         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80024         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80025         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80026         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80027         * sysdeps/i386/fpu/e_log2.S: Likewise.
80028         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80029         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80030         * sysdeps/i386/fpu/e_powl.S: Likewise.
80031         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80032         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80033         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80034         * sysdeps/i386/fpu/e_logl.S: Likewise.
80035         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80036         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80037         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80038         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80039         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80040         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80041         * sysdeps/i386/fpu/e_log.S: Likewise.
80042         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80043         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80044         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80045         * sysdeps/i386/fpu/e_logf.S: Likewise.
80046         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80047         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80048         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80049         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80050         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80051         * sysdeps/i386/fpu/e_log10.S: Likewise.
80052         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80053         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80054         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80055         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80056         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80057         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80058         * sysdeps/i386/asm-syntax.h: Likewise.
80059         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80060         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80061         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80062         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80063         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80064         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80065         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80066         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80068         * sysdeps/powerpc/sysdep.h: Likewise.
80069         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80070         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80072 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80074         [BZ #411]
80075         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80077 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80079         * sysdeps/i386/sysdep.h: Include <features.h>.
80080         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80081         version.
80083 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80085         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80086         Define.
80087         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80088         LOAD_PIC_REG_STR.
80090 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80092         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80093         (SETUP_PIC_REG): Use GET_PC_THUNK.
80094         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80095         macro.
80097 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80099         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80100         for non-PIC compilation.
80101         (SETUP_PIC_REG): Add .p2align directive.
80102         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80103         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80104         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80105         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80106         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80107         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80108         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80109         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80110         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80111         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80112         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80113         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80114         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80115         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80116         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80117         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80118         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80119         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80120         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80121         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80122         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80123         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80124         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80125         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80126         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80127         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80128         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80129         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80130         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80131         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80132         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80133         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80134         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80135         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80136         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80137         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80138         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80139         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80140         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80141         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80142         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80144 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80146         * math/tst-CMPLX.c: Include <stdio.h>.
80148 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80150         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80151         float.
80152         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80153         * sysdeps/sparc/bits/mathdef.h: Likewise.
80155 2012-01-31  Marek Polacek  <polacek@redhat.com>
80157         * libio/libio.h: Don't define _PARAMS.
80158         * locale/programs/config.h: Don't define PARAMS.
80159         * stdlib/strtol_l.c: Likewise.
80160         (__strtol_l): Remove PARAMS from the prototype.
80162 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80164         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80165         names.  Just use the correct names.  Remove unnecessary wrapper
80166         functions.
80167         * malloc/arena.c: Likewise.
80168         * malloc/hooks.c: Likewise.
80170         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80171         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80172         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80174 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80176         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80177         into tail calls.
80178         (update_get_addr): New function.
80179         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80180         GET_ADDR_MODULE parameter.
80182 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80184         * crypt/cert.c: Remove __STDC__ conditionals.
80185         * crypt/crypt-entry.c: Likewise.
80186         * crypt/crypt_util.c: Likewise.
80187         * libio/filedoalloc.c: Likewise.
80188         * libio/fileops.c: Likewise.
80189         * libio/genops.c: Likewise.
80190         * libio/iofclose.c: Likewise.
80191         * libio/iofdopen.c: Likewise.
80192         * libio/iofopen.c: Likewise.
80193         * libio/iofopen64.c: Likewise.
80194         * libio/iogetdelim.c: Likewise.
80195         * libio/iopopen.c: Likewise.
80196         * libio/obprintf.c: Likewise.
80197         * libio/oldfileops.c: Likewise.
80198         * libio/oldiofclose.c: Likewise.
80199         * libio/oldiofdopen.c: Likewise.
80200         * libio/oldiofopen.c: Likewise.
80201         * libio/oldiopopen.c: Likewise.
80202         * libio/wfiledoalloc.c: Likewise.
80203         * libio/wgenops.c: Likewise.
80204         * locale/programs/xmalloc.c: Likewise.
80205         * misc/syslog.c: Likewise.
80206         * stdio-common/xbug.c: Likewise.
80207         * string/memchr.c: Likewise.
80208         * string/memcmp.c: Likewise.
80209         * string/memrchr.c: Likewise.
80210         * string/rawmemchr.c: Likewise.
80211         * sysdeps/posix/getcwd.c: Likewise.
80212         * time/strftime_l.c: Likewise.
80214 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80216         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80217         * config.make.in (config-cflags-sse2avx): Define.
80218         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80219         Fix typo.
80221 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80223         * scripts/config.guess: Update from upstream config git repository.
80224         * scripts/config.sub: Likewise.
80226 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80228         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80229         (EM_NUM): Update.
80230         (R_TILEPRO_*, R_TILEGX_*): New macros.
80232         * scripts/firstversions.awk: Fix bug in version range handling.
80234         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80236         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80238         * include/sys/epoll.h: New file.
80239         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80240         libc_hidden_def.
80242 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80244         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80245         Avoid unnecessary __WORDSIZE == 64 test.
80246         (fmaxf): Use VEX format if possible.
80247         (fmax): Likewise.
80248         (fminf): Likewise.
80249         (fmin): Likewise.
80251         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80252         * math/math_private.h: Remove libc_fegetround* and
80253         libc_fesetround*.
80254         * sysdeps/i386/configure.in: Check for -msse2avx.
80255         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80256         also if SSE2AVX is defined.
80257         Remove libc_fegetround* and libc_fesetround*.
80258         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80259         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80261         of HAS_YMM_USABLE.
80262         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80263         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80264         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80265         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80266         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80268         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80270 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80272         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80273         size is not set.
80274         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80276 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80278         [BZ #13618]
80279         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80280         relocation.
80281         * Makeconfig (libm): Define.
80282         * elf/Makefile: Add rules to build and run tst-relsort1.
80283         * elf/tst-relsort1.c: New file.
80284         * elf/tst-relsort1mod1.c: New file.
80285         * elf/tst-relsort1mod2.c: New file.
80287 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80289         * math/s_ldexp.c: Remove __STDC__ conditionals.
80290         * math/s_ldexpf.c: Likewise.
80291         * math/s_ldexpl.c: Likewise.
80292         * math/s_nextafter.c: Likewise.
80293         * math/s_nexttowardf.c: Likewise.
80294         * math/s_significand.c: Likewise.
80295         * math/s_significandf.c: Likewise.
80296         * math/s_significandl.c: Likewise.
80297         * math/w_jnl.c: Likewise.
80298         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80299         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80300         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80301         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80302         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80303         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80304         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80305         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80306         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80307         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80308         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80309         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80310         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80311         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80312         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80313         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80314         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80315         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80317         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80318         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80319         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80320         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80321         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80322         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80323         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80324         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80325         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80326         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80327         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80328         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80329         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80330         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80331         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80332         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80333         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80334         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80335         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80336         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80337         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80338         * sysdeps/ieee754/k_standard.c: Likewise.
80339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80340         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80341         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80342         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80343         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80344         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80347         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80349         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80352         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80353         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80354         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80355         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80357         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80358         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80361         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80362         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80363         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80371         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80372         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80374         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80376         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80383         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80387         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80388         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80392         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80395         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80396         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80397         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80399         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80400         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80405         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80411         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80413         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80414         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80418         * sysdeps/ieee754/s_matherr.c: Likewise.
80419         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80420         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80421         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80424 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80426         * crypt/md5.h: Remove __STDC__ conditionals.
80427         * libio/libioP.h: Likewise.
80428         * locale/programs/config.h: Likewise.
80429         * sysdeps/generic/sysdep.h: Likewise.
80430         * sysdeps/i386/asm-syntax.h: Likewise.
80431         * sysdeps/s390/asm-syntax.h: Likewise.
80432         * sysdeps/unix/sysdep.h: Likewise.
80433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80436 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80438         * libio/libio.h: Remove __STDC__ conditionals.
80439         * malloc/obstack.h: Likewise.
80440         * math/complex.h: Likewise.
80441         * math/math.h: Likewise.
80442         * sysdeps/generic/_G_config.h: Likewise.
80443         * sysdeps/gnu/_G_config.h: Likewise.
80444         * sysdeps/mach/hurd/_G_config.h: Likewise.
80445         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80446         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80447         * sysdeps/sparc/bits/mathdef.h: Likewise.
80449 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80451         [BZ #13583]
80452         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80453         Clean up HAS_* macros.
80454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80455         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80456         possible.
80457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80458         HAS_AVX.
80459         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80460         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80461         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80462         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80463         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80465 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80467         * elf/tst-unique3.cc (gets): Remove declaration.
80468         * elf/tst-unique3lib.cc (gets): Likewise.
80469         * elf/tst-unique3lib2.cc (gets): Likewise.
80470         * elf/tst-unique4.cc (gets): Likewise.
80472 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80474         * include/stdio.h: Add C++ protection.  Add gets declarations and
80475         definitions.
80476         * debug/tst-chk1.c: Don't declare gets here.
80477         * stdio-common/tst-gets.c: Likewise.
80479 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80481         * posix/glob: Remove directory.
80483 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80485         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80487 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80489         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80490         of the non-standard EPFNOSUPPORT.
80492 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80494         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80495         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80496         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80498 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80500         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80502 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80504         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80505         transient errors.
80506         * nscd/grpcache.c (cache_addgr): Likewise.
80507         * nscd/hstcache.c (cache_addhst): Likewise.
80508         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80509         * nscd/pwdcache.c (cache_addpw): Likewise.
80510         * nscd/servicescache.c (cache_addserv): Likewise.
80512 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80514         * malloc/malloc.c: Various cleanups.
80515         * malloc/hooks.c: Likewise.
80517         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80518         * stdlib/bug-fmtmsg1.c: New file.
80520         * stdlib/fmtmsg.c (init): Add missing unlock.
80521         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80523 2012-01-12  Marek Polacek  <polacek@redhat.com>
80525         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80526         and _GNU_SOURCE.
80528 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80530         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80531         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80532         macro to ensure uniqueness of label name.
80533         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80534         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80536 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80538         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80540         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80541         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80542         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80543         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80545 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80547         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80549         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80550         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80551         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80553         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80555         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80556         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80557         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80560         * math/bits/math-finite.h: Add ldexp support.
80562 2012-01-10  Marek Polacek  <polacek@redhat.com>
80564         * locale/programs/localedef.h (show_archive_content): Add noreturn
80565         attribute.
80567 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80569         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80571 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80573         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80575         * io/Makefile (headers): Add bits/poll2.h.
80577 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80580         typo #include statement.
80582 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80584         * include/sys/cdefs.h: Define __attribute_alloc_size.
80585         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80586         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80587         * elf/pldd.c: Likewise.
80588         * iconv/iconv_charmap.c: Likewise.
80589         * iconv/iconvconfig.c: Likewise.
80590         * iconv/strtab.c: Likewise.
80591         * locale/programs/locale.c: Likewise.
80592         * locale/programs/localedef.h: Likewise.
80593         * locale/programs/simple-hash.c: Likewise.
80594         * nscd/nscd.h: Likewise.
80595         * nss/makedb.c: Likewise.
80596         * sysdeps/generic/ldconfig.h: Likewise.
80597         * locale/programs/localedef.c: Remove xmalloc prototype.
80598         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80600 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80602         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80603         appropriate.
80605 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80607         * math/Makefile (tests): Add tst-CMPLX.
80608         * math/tst-CMPLX.c: New file.
80610         * math/complex.h (CMPLXL): Fix typo.
80612         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80613         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80614         GLIBC_2.16.
80615         * debug/tst-chk1.c: Add poll and ppoll tests.
80616         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80617         * include/sys/poll.h: Add hidden proto for ppoll.
80618         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80619         * sysdeps/mach/hurd/ppoll.c: Likewise.
80620         * io/ppoll.c: Likewise.
80621         * debug/poll_chk.c: New file.
80622         * debug/ppoll_chk.c: New file.
80623         * include/bits/poll2.h: New file.
80624         * io/bits/poll2.h: New file.
80626         [BZ #1350]
80627         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80629         * configure.in: static is always set to yes.  Remove.
80630         * config.make.in: Don't set build-static.
80631         * Makeconfig: Remove use of build-static.
80632         * dlfcn/Makefile: Likewise.
80633         * elf/Makefile: Likewise.
80634         * math/Makefile: Likewise.
80635         * misc/Makefile: Likewise.
80636         * nptl/Makefile: Likewise.
80637         * sysdeps/mach/hurd/Makefile: Likewise.
80639         * configure.in: PWD_P is not used anymore.
80640         * config.make.in: Remove PWD_P entry.
80642         * configure.in: Remove last remnants of RANLIB.
80643         No need to check for signed size_t anymore.
80644         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80645         and IA-64.
80646         Remove __builtin_expect test because we require at least gcc 3.4.
80647         * aclocal.m4: Likewise.
80649         * wcsmbs/mbrtoc16.c: Implement using towc function.
80650         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80651         * wcsmbs/wcsmbsload.c: Likewise.
80652         * iconv/gconv_simple.c: Likewise.
80653         * iconv/gconv_int.h: Likewise.
80654         * iconv/gconv_builtin.h: Likewise.
80655         * iconv/iconv_prog.c: Remove CHAR16 handling.
80657         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80659         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80661         * configure.in: Remove --with-elf and --enable-bounded options.
80662         Dont set base_machine for ia64.  More non-ELF conditions removed.
80663         Remove testing and setting of leading underscore information.
80664         * config.make.in (build-bounded): Set to no.
80665         * config.h.in: Remove NO_UNDERSCORES entry.
80666         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80667         them.
80668         * csu/start.c: Remove !NO_UNDERSCORE code.
80669         * locale/localeinfo.h: Likewise.
80670         * sysdeps/generic/machine-gmon.h: Likewise.
80671         * sysdeps/generic/sysdep.h: Likewise.
80672         * sysdeps/i386/sysdep.h: Likewise.
80673         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80674         * sysdeps/mach/sysdep.h: Likewise.
80675         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80676         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80677         * sysdeps/sh/sysdep.h: Likewise.
80678         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80679         * sysdeps/unix/i386/sysdep.S: Likewise.
80680         * sysdeps/unix/sparc/start.c: Likewise.
80681         * sysdeps/unix/sparc/sysdep.S: Likewise.
80682         * sysdeps/unix/sparc/sysdep.h: Likewise.
80683         * sysdeps/unix/start.c: Likewise.
80684         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80685         * sysdeps/x86_64/sysdep.h: Likewise.
80687 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80689         [BZ #13553]
80690         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80691         for non-gcc.
80692         * argp/argp-fmtstream.h: Use const instead __const.
80693         * argp/argp.h: Likewise.
80694         * assert/assert.h: Likewise.
80695         * bits/fenv.h: Likewise.
80696         * bits/sched.h: Likewise.
80697         * bits/sigset.h: Likewise.
80698         * bits/sigthread.h: Likewise.
80699         * catgets/nl_types.h: Likewise.
80700         * conform/data/pthread.h-data: Likewise.
80701         * crypt/crypt-private.h: Likewise.
80702         * crypt/crypt.h: Likewise.
80703         * crypt/crypt_util.c: Likewise.
80704         * ctype/ctype.h: Likewise.
80705         * debug/execinfo.h: Likewise.
80706         * debug/mbsnrtowcs_chk.c: Likewise.
80707         * debug/mbsrtowcs_chk.c: Likewise.
80708         * debug/wcsnrtombs_chk.c: Likewise.
80709         * debug/wcsrtombs_chk.c: Likewise.
80710         * debug/wcstombs_chk.c: Likewise.
80711         * dirent/dirent.h: Likewise.
80712         * dlfcn/dlfcn.h: Likewise.
80713         * elf/neededtest4.c: Likewise.
80714         * grp/grp.h: Likewise.
80715         * gshadow/gshadow.h: Likewise.
80716         * iconv/gconv.h: Likewise.
80717         * iconv/gconv_int.h: Likewise.
80718         * iconv/gconv_simple.c: Likewise.
80719         * iconv/iconv.h: Likewise.
80720         * iconv/loop.c: Likewise.
80721         * iconv/skeleton.c: Likewise.
80722         * include/aio.h: Likewise.
80723         * include/aliases.h: Likewise.
80724         * include/argz.h: Likewise.
80725         * include/arpa/inet.h: Likewise.
80726         * include/assert.h: Likewise.
80727         * include/dirent.h: Likewise.
80728         * include/dlfcn.h: Likewise.
80729         * include/execinfo.h: Likewise.
80730         * include/fcntl.h: Likewise.
80731         * include/fenv.h: Likewise.
80732         * include/glob.h: Likewise.
80733         * include/grp.h: Likewise.
80734         * include/libintl.h: Likewise.
80735         * include/mntent.h: Likewise.
80736         * include/netdb.h: Likewise.
80737         * include/pwd.h: Likewise.
80738         * include/rpc/netdb.h: Likewise.
80739         * include/sched.h: Likewise.
80740         * include/search.h: Likewise.
80741         * include/shadow.h: Likewise.
80742         * include/signal.h: Likewise.
80743         * include/stdio.h: Likewise.
80744         * include/stdlib.h: Likewise.
80745         * include/string.h: Likewise.
80746         * include/sys/socket.h: Likewise.
80747         * include/sys/stat.h: Likewise.
80748         * include/sys/statfs.h: Likewise.
80749         * include/sys/statvfs.h: Likewise.
80750         * include/sys/syslog.h: Likewise.
80751         * include/sys/time.h: Likewise.
80752         * include/sys/uio.h: Likewise.
80753         * include/time.h: Likewise.
80754         * include/unistd.h: Likewise.
80755         * include/utmp.h: Likewise.
80756         * include/wchar.h: Likewise.
80757         * include/wctype.h: Likewise.
80758         * inet/aliases.h: Likewise.
80759         * inet/arpa/inet.h: Likewise.
80760         * inet/netinet/ether.h: Likewise.
80761         * inet/netinet/in.h: Likewise.
80762         * intl/libintl.h: Likewise.
80763         * io/bits/fcntl2.h: Likewise.
80764         * io/fcntl.h: Likewise.
80765         * io/ftw.h: Likewise.
80766         * io/sys/poll.h: Likewise.
80767         * io/sys/stat.h: Likewise.
80768         * io/sys/statfs.h: Likewise.
80769         * io/sys/statvfs.h: Likewise.
80770         * io/utime.h: Likewise.
80771         * libio/bits/stdio.h: Likewise.
80772         * libio/bits/stdio2.h: Likewise.
80773         * libio/libio.h: Likewise.
80774         * libio/libioP.h: Likewise.
80775         * libio/stdio.h: Likewise.
80776         * locale/lc-ctype.c: Likewise.
80777         * locale/locale.h: Likewise.
80778         * login/utmp.h: Likewise.
80779         * malloc/arena.c: Likewise.
80780         * malloc/malloc.c: Likewise.
80781         * malloc/malloc.h: Likewise.
80782         * malloc/mcheck.c: Likewise.
80783         * malloc/mtrace.c: Likewise.
80784         * math/bits/mathcalls.h: Likewise.
80785         * math/fenv.h: Likewise.
80786         * math/math_private.h: Likewise.
80787         * misc/bits/error.h: Likewise.
80788         * misc/bits/syslog.h: Likewise.
80789         * misc/err.h: Likewise.
80790         * misc/error.h: Likewise.
80791         * misc/fstab.h: Likewise.
80792         * misc/mntent.h: Likewise.
80793         * misc/regexp.h: Likewise.
80794         * misc/search.h: Likewise.
80795         * misc/sgtty.h: Likewise.
80796         * misc/sys/mman.h: Likewise.
80797         * misc/sys/syslog.h: Likewise.
80798         * misc/sys/uio.h: Likewise.
80799         * misc/sys/xattr.h: Likewise.
80800         * misc/ttyent.h: Likewise.
80801         * nis/rpcsvc/ypclnt.h: Likewise.
80802         * nss/nss.h: Likewise.
80803         * posix/bits/unistd.h: Likewise.
80804         * posix/fnmatch.h: Likewise.
80805         * posix/glob.h: Likewise.
80806         * posix/sched.h: Likewise.
80807         * posix/spawn.h: Likewise.
80808         * posix/sys/wait.h: Likewise.
80809         * posix/unistd.h: Likewise.
80810         * posix/wordexp.h: Likewise.
80811         * pwd/pwd.h: Likewise.
80812         * resolv/netdb.h: Likewise.
80813         * resource/sys/resource.h: Likewise.
80814         * rt/aio.h: Likewise.
80815         * rt/bits/mqueue2.h: Likewise.
80816         * rt/mqueue.h: Likewise.
80817         * shadow/shadow.h: Likewise.
80818         * signal/signal.h: Likewise.
80819         * socket/send.c: Likewise.
80820         * socket/sendto.c: Likewise.
80821         * socket/sys/socket.h: Likewise.
80822         * stdio-common/printf.h: Likewise.
80823         * stdlib/bits/stdlib.h: Likewise.
80824         * stdlib/fmtmsg.h: Likewise.
80825         * stdlib/monetary.h: Likewise.
80826         * stdlib/stdlib.h: Likewise.
80827         * stdlib/ucontext.h: Likewise.
80828         * streams/stropts.h: Likewise.
80829         * string/argz.h: Likewise.
80830         * string/bits/string2.h: Likewise.
80831         * string/string.h: Likewise.
80832         * string/strings.h: Likewise.
80833         * sunrpc/rpc/auth.h: Likewise.
80834         * sunrpc/rpc/auth_des.h: Likewise.
80835         * sunrpc/rpc/clnt.h: Likewise.
80836         * sunrpc/rpc/netdb.h: Likewise.
80837         * sunrpc/rpc/pmap_clnt.h: Likewise.
80838         * sunrpc/rpc/xdr.h: Likewise.
80839         * sysdeps/generic/inttypes.h: Likewise.
80840         * sysdeps/generic/net/if.h: Likewise.
80841         * sysdeps/generic/sys/swap.h: Likewise.
80842         * sysdeps/gnu/net/if.h: Likewise.
80843         * sysdeps/gnu/utmpx.h: Likewise.
80844         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80845         * sysdeps/i386/i486/bits/string.h: Likewise.
80846         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80847         * sysdeps/s390/bits/string.h: Likewise.
80848         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80849         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80850         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80851         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80852         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80853         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80854         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80855         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80856         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80857         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80858         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80859         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80860         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80861         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80862         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80863         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80864         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80866         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80867         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80868         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80869         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80870         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80871         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80872         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80873         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80874         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80875         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80876         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80877         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80878         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80879         * sysvipc/sys/ipc.h: Likewise.
80880         * sysvipc/sys/msg.h: Likewise.
80881         * sysvipc/sys/sem.h: Likewise.
80882         * sysvipc/sys/shm.h: Likewise.
80883         * termios/termios.h: Likewise.
80884         * time/sys/time.h: Likewise.
80885         * time/time.h: Likewise.
80886         * wcsmbs/bits/wchar2.h: Likewise.
80887         * wcsmbs/uchar.h: Likewise.
80888         * wcsmbs/wchar.h: Likewise.
80889         * wctype/wctype.h: Likewise.
80891         [BZ #13551]
80892         * Makeconfig: Remove all but ELF support including AIX support.
80893         * Makerules: Likewise.
80894         * config.h.in: Likewise.
80895         * config.make.in: Likewise.
80896         * configure: Likewise.
80897         * configure.in: Likewise.
80898         * csu/Makefile: Likewise.
80899         * csu/version.c: Likewise.
80900         * debug/Makefile: Likewise.
80901         * dlfcn/Makefile: Likewise.
80902         * elf/Makefile: Likewise.
80903         * extra-lib.mk: Likewise.
80904         * iconv/Makefile: Likewise.
80905         * include/libc-symbols.h: Likewise.
80906         * include/shlib-compat.h: Likewise.
80907         * resolv/Makefile: Likewise.
80908         * resolv/res_libc.c: Likewise.
80909         * rt/Makefile: Likewise.
80910         * sysdeps/i386/asm-syntax.h: Likewise.
80911         * sysdeps/i386/sysdep.h: Likewise.
80912         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80913         * sysdeps/mach/sysdep.h: Likewise.
80914         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80915         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80916         * sysdeps/s390/asm-syntax.h: Likewise.
80917         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80918         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80919         * sysdeps/sh/sysdep.h: Likewise.
80920         * sysdeps/unix/sparc/sysdep.h: Likewise.
80921         * sysdeps/wordsize-32/divdi3.c: Likewise.
80922         * sysdeps/x86_64/sysdep.h: Likewise.
80924         * argp/Versions: Remove _argp_unlock_xxx.
80926         [BZ #13559]
80927         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80928         * abilist/libBrokenLocale.abilist: Likewise.
80929         * abilist/libanl.abilist: Likewise.
80930         * abilist/libc.abilist: Likewise.
80931         * abilist/libcrypt.abilist: Likewise.
80932         * abilist/libdl.abilist: Likewise.
80933         * abilist/libm.abilist: Likewise.
80934         * abilist/libnsl.abilist: Likewise.
80935         * abilist/libpthread.abilist: Likewise.
80936         * abilist/libresolv.abilist: Likewise.
80937         * abilist/librt.abilist: Likewise.
80938         * abilist/libthread_db.abilist: Likewise.
80939         * abilist/libutil.abilist: Likewise.
80940         * abilist/libnss_db.abilist: New file.
80942         * scripts/abilist.awk: Add support for indirect functions.
80944         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80946         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80948         * shlib-versions: Remove entries for ports architectures.
80950         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80951         files in ports.
80952         * elf/stackguard-macros.h: Remove support for IA-64.
80953         * elf/tst-auditmod1.c: Likewise.
80954         * sysdeps/generic/ldsodefs.h: Likewise.
80956         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80957         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80958         configure files.
80960         [BZ #13552]
80961         * configure.in: Remove --enable-omitfp support.
80962         * FAQ.in: Adjust.
80963         * config.make.in: Likewise.
80964         * Makeconfig: Likewise.
80965         * manual/install.texi: Likewise.
80967         In case anyone cares, the IA-64 architecture could move to ports.
80968         * sysdeps/ia64/*: Removed.
80969         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80970         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80972         [BZ #13555]
80973         * configure.in: Remove entries for unsupported architectures.
80975         [BZ #13533]
80976         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80977         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80978         routines.
80979         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80980         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80981         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80982         fall back to using wcrtomb.
80983         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80984         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80985         renaming.
80986         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80987         * wcsmbs/tst-c16c32-1.c: New file.
80989         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80990         local variable.
80992         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80994         * elf/tst-unique3.cc: Add explicit declaration of gets.
80995         * elf/tst-unique3lib.cc: Likewise.
80996         * elf/tst-unique3lib2.cc: Likewise.
80997         * elf/tst-unique4.cc: Likewise.
80999         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81001 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81003         [BZ #13566]
81004         * assert/assert.h (static_assert): Don't define for C++.
81005         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81006         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81008 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81010         * iconv/loop.c (single loop): Fix assertion in storing of
81011         remaining bytes.
81013         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81015 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81017         * posix/getconf.c: Update copyright year.
81018         * nss/getent.c: Likewise.
81019         * nss/makedb.c: Likewise.
81020         * iconv/iconvconfig.c: Likewise.
81021         * iconv/iconv_prog.c: Likewise.
81022         * elf/ldconfig.c: Likewise.
81023         * elf/pldd.c: Likewise.
81024         * elf/sotruss.ksh: Likewise.
81025         * catgets/gencat.c: Likewise.
81026         * csu/version.c: Likewise.
81027         * elf/ldd.bash.in: Likewise.
81028         * elf/sprof.c (print_version): Likewise.
81029         * locale/programs/locale.c: Likewise.
81030         * locale/programs/localedef.c: Likewise.
81031         * login/programs/pt_chown.c: Likewise.
81032         * nscd/nscd.c (print_version): Likewise.
81033         * debug/xtrace.sh: Likewise.
81034         * malloc/memusage.sh: Likewise.
81035         * malloc/mtrace.pl: Likewise.
81036         * debug/catchsegv.sh: Likewise.
81038 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81040         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81041         pure attribute.
81043 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81045         [BZ #13533]
81046         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81047         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81048         transformations.
81049         * iconv/gconv_int.h: Likewise.
81050         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81051         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81052         from libc for GLIBC_2.16.
81053         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81054         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81055         * wcsmbs/uchar.h: Really define mbstate_t.
81056         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81057         * wcsmbs/c16rtomb.c: New file.
81058         * wcsmbs/mbrtoc16.c: New file.
81059         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81060         for C/POSIX locale.
81061         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81062         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81064         * wcsmbs/wchar.h: Add missing __restrict.
81066 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81068         [BZ #13532]
81069         * time/Makefile (routines): Add timespec_get.
81070         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81071         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81072         timespec for ISO C11.
81073         * time/timespec_get.c: New file.
81074         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81075         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81077         [BZ #13531]
81078         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81079         * stdlib/stdlib.h: Declare aligned_alloc.
81080         * Versions.def: Add GLIBC_2.16 for libc.
81081         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81083         [BZ 13527]
81084         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81085         ISO C11.
81087         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81088         code.
81090         [BZ #13528]
81091         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81093         [BZ #13529]
81094         * assert/assert.h (static_assert): Define.
81096         * version.h: Update for 2.16 development version.
81098         [BZ #13526]
81099         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81100         _ISOC11_SOURCE.
81102         * version.h (RELEASE): Bump for 2.15 release.
81103         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81105         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81106         Patch by Marek Polacek <mpolacek@redhat.com>.
81108         * bits/byteswap.h: Protect long long constants with __extension__.
81109         * sysdeps/i386/bits/byteswap.h: Likewise.
81110         * sysdeps/ia64/bits/byteswap.h: Likewise.
81111         * sysdeps/s390/bits/byteswap.h: Likewise.
81112         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81114 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81116         [BZ #13540]
81117         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81118         destination buffer.
81119         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81121 2011-12-23  Marek Polacek  <polacek@redhat.com>
81123         * elf/dl-addr.c (determine_info): Add inline keyword.
81124         * elf/tst-auditmod4b.c (check_avx): Likewise.
81125         * elf/tst-auditmod6b.c (check_avx): Likewise.
81126         * elf/tst-auditmod6c.c (check_avx): Likewise.
81127         * elf/tst-auditmod7b.c (check_avx): Likewise.
81129 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81131         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81132         !__SSE_MATH__.
81134 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81136         [BZ #13540]
81137         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81138         processing for last bytes.
81140 2011-08-06  Bruno Haible  <bruno@clisp.org>
81142         [BZ #13061]
81143         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81144         U+0385, not to U+1FEE.
81146         [BZ #13062]
81147         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81148         entry for U+00A5 U+0301.
81150 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81152         [BZ #13166]
81153         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81154         buffer for the output is too small.
81156         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81157         optimization.
81159         [BZ #13185]
81160         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81161         SSE flags if possible.
81163 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81165         [BZ #13540]
81166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81167         processing for last bytes.
81169 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81171         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81172         (syscall-list-default-options, syscall-list-default-condition)
81173         (syscall-list-includes): Define.
81174         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81175         list of ABIs and options and #if conditions for each ABI.  Do not
81176         handle common syscalls between ABIs specially.
81177         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81178         Remove.
81179         (syscall-list-variants, syscall-list-32bit-options)
81180         (syscall-list-32bit-condition, syscall-list-64bit-options)
81181         (syscall-list-64bit-condition): Define.
81182         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81183         (syscall-list-variants, syscall-list-32bit-options)
81184         (syscall-list-32bit-condition, syscall-list-64bit-options)
81185         (syscall-list-64bit-condition): Define.
81186         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81187         Remove.
81188         (syscall-list-variants, syscall-list-32bit-options)
81189         (syscall-list-32bit-condition, syscall-list-64bit-options)
81190         (syscall-list-64bit-condition): Define.
81191         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81192         Remove.
81193         (syscall-list-variants, syscall-list-32bit-options)
81194         (syscall-list-32bit-condition, syscall-list-64bit-options)
81195         (syscall-list-64bit-condition): Define.
81197 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81199         * locale/iso-639.def: Add brx entry.
81201         [BZ #13328]
81202         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81203         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81205         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81206         __feraiseexcept_renamed.
81208 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81210         [BZ #13538]
81211         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81212         EPOLLET with unsigned values.
81213         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81214         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81216         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81217         to large cancellation.
81218         * math/s_cacoshf.c: Likewise.
81219         * math/s_cacoshl.c: Likewise.
81221 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81223         [BZ #13305]
81224         [BZ #12786]
81225         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81226         * math/s_cacoshf.c: Likewise.
81227         * math/s_cacoshl.c: Likewise.
81229 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81231         [BZ #13439]
81232         * iconv/gconv.h: Define __GCONV_SWAP.
81233         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81234         * iconvdata/utf-16.c: Likewise.
81235         * iconvdata/utf-32.c: Likewise.
81237 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81239         [BZ #13524]
81240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81241         numerator after shifting it by one limb.
81243 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81245         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81246         under [__USE_EXTERN_INLINES].
81248 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81250         [BZ #13446]
81251         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81253 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81255         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81256         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81257         optimized code.
81258         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81259         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81260         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81261         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81262         for strncasecmp/strncasecmp_l compilation.
81263         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81264         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81266 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81268         [BZ #13484]
81269         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81270         of __asm__.
81272 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81274         [BZ #13506]
81275         * time/tzfile.c (__tzfile_read): Check values from file header.
81277 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81279         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81280         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81281         * powerpc/powerpc32/dl-start.S: Likewise.
81282         * powerpc/powerpc32/elf/start.S: Likewise.
81283         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81284         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81285         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81286         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81287         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81288         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81289         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81290         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81291         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81292         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81293         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81294         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81295         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81296         * powerpc/powerpc32/memset.S: Likewise.
81297         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81298         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81299         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81300         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81301         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81302         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81303         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81304         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81305         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81306         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81307         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81308         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81309         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81311 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81313         * math/libm-test.inc: Added more nearbyint tests.
81314         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81315         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81316         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81317         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81319 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81321         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81322         FD_CLOEXEC.
81324 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81326         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81327         Add wcscpy-ssse3 wcscpy-c.
81328         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81329         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81330         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81331         * sysdeps/x86_64/wcschr.S: New file.
81332         * sysdeps/x86_64/wcsrchr.S: New file.
81333         * string/test-strcmp.c: Remove checking of wcscmp function for
81334         wrong alignments.
81335         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81336         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81337         wcsrchr-sse2 wcsrchr-c.
81338         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81339         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81340         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81341         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81342         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81343         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81344         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81345         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81346         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81347         * wcsmbc/wcschr.c (WCSCHR): New macro.
81349 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81351         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81352         * wcsmbs/test-wcsrchr.c: New file.
81353         * string/test-strrchr.c: Add wcsrchr support.
81354         (WIDE): New macro.
81355         * wcsmbs/test-wcscpy.c: New file.
81356         * string/test-strcpy.c: Add wcscpy support.
81357         (WIDE): New macro.
81359 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81361         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81362         the inner loop.
81364 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81366         [BZ #13472]
81367         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81369 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81371         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81372         Minor optimizations.
81374         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81375         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81376         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81378 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81380         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81381         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81382         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81383         for gcc to avoid warnings.
81384         * inet/Makefile (tests): Add tst-checks.
81385         * inet/tst-checks.c: New file.
81387         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81388         warning.
81390         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81391         __wmemcmp_sse2.
81393         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81394         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81396         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81398 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81400         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81401         problem.
81403         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81405 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81407         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81408         conditional on GCC version.
81409         (__arch_compare_and_exchange_val_8_acq)
81410         (__arch_compare_and_exchange_val_16_acq)
81411         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81412         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81413         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81415 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81417         * sysdeps/sh/backtrace.c: New file.
81419 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81421         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81422         parenthesis.
81424 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81426         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81427         falling back to utime.
81429 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81431         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81432         expectations for float.
81434 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81436         * locale/weight.h (findidx): Add parameter len.
81437         * locale/weightwc.h (findidx): Likewise.
81438         * posix/fnmatch_loop.c (FCT): Adjust caller.
81439         * posix/regcomp.c (build_equiv_class): Likewise.
81440         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81441         * posix/regexec.c (check_node_accept_bytes): Likewise.
81442         * string/strcoll_l.c (STRCOLL): Likewise.
81443         * string/strxfrm_l.c (STRXFRM): Likewise.
81445 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81447         * Makefile.in: Remove CVSOPT handling.
81448         * configure.in: Remove use of AC_REVISION.
81449         * iconvdata/Makefile (distribute): No need to filter out CVS.
81450         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81451         handling.
81453 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81455         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81456         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81457         [USE_AS_STRNCASECMP_L]: Likewise.
81458         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81459         NO_TLS_DIRECT_SEG_REFS.
81460         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81461         Fix argument offsets for non-PIC.
81462         [USE_AS_STRNCASECMP_L]: Likewise.
81463         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81464         NO_TLS_DIRECT_SEG_REFS.
81466 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81468         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81469         O_CLOEXEC.
81470         * locale/loadlocale.c (_nl_load_locale): Likewise.
81472 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81474         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81475         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81476         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81477         (SYSCALL_GETTIME): Set errno on error.
81479         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81480         count references to noai6ai_cached.
81482 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81484         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81486         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81487         FD_CLOEXEC for /proc/self/maps.
81489         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81490         FD_CLOEXEC for /proc/meminfo.
81492         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81493         gai.conf.
81495         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81496         FD_CLOEXEC for given file.
81498         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81500         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81501         FD_CLOEXEC for /etc/hosts.
81502         (_gethtent): Likewise.
81504         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81506         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81507         cancellation and set FD_CLOEXEC for /etc/netgroup.
81509         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81510         reading /etc/publickey.
81512         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81513         allow cancellation when reading /etc/group.
81515         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81516         cancellation.
81517         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81519         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81520         when using data file.
81522         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81524         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81525         (write_nis_obj): Use "c" and "e" in fopen.
81527         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81529         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81531         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81533         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81535         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81536         locale.alias.
81538         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81540         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81542         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81544         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81545         file parsing and set FD_CLOEXEC.
81547 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81549         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81551 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81553         * malloc/arena.c (arena_get2): Don't call reused_arena when
81554         _int_new_arena failed.
81556 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81558         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81559         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81560         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81561         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81562         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81563         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81564         to compile strcasecmp and strncasecmp.
81565         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81566         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81570 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81572         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81573         locale-defines.sym to gen-as-const-headers.
81574         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81575         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81577         to compile strcasecmp and strncasecmp.
81578         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81579         strcasecmp_l and strncasecmp_l.
81580         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81581         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81582         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81583         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81584         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81585         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81586         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81587         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81588         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81589         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81590         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81592 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81594         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81595         result of SYSDEP_GETTIME_CPU to retval.
81596         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81597         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81599         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81600         variable.
81602         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81603         mantissa words.
81604         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81606         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81607         from unused variable.
81609         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81610         DWARF definitions.
81611         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81612         for assembling.
81614         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81615         over namespaces.
81617         * sunrpc/rpc_prot.c (rejected): Fix case value.
81619         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81620         unsigned long long int to avoid warnings in shift.
81622         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81623         of use of trans.
81624         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81625         variable tmp.
81627         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81628         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81629         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81631         * nis/nis_table.c (nis_list): Use variable of correct type for
81632         result of __follow_path call.
81634 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81636         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81637         of math functions ceil, trunc, floor, round, and sqrt, when
81638         avaliable on the platform.
81639         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81640         name clash.
81641         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81642         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81643         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81645 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81647         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81648         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81650 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81652         * include/unistd.h: Fix __readlink return type.
81653         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81655 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81657         * stdlib/ucontext.h: Undo last change for makecontext.
81659 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81661         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81663         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81664         * setjmp/setjmp.h: Mark functions as non-leaf.
81665         * setjmp/bits/setjmp2.h: Likewise.
81666         * stdlib/ucontext.h: Likewise.
81668 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81670         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81671         (reused_arena): Don't check arena limit.
81672         (arena_get2): Atomically check arena limit.
81674 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81676         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81677         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81680         instructions.
81682 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81684         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81685         handler when locking.
81687         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81688         Fix size of allocated buffer.
81690 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81692         [BZ #10103]
81693         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81694         declarations for long double functions.
81695         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81697         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81699 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81701         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81702         installed.
81704         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81705         is disabled.
81707 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81709         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81711 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81713         * include/alloca.h (stackinfo_alloca_round): Define.
81714         (extend_alloca): Use it.
81715         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81716         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81717         here.
81719         * scripts/check-local-headers.sh: Ignore libaudit.h.
81721         * nscd/Makefile (extra-objs): Make recursively expanded.
81723 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81725         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81726         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81728         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81729         * posix/tst-rfc3484-2.c: Likewise.
81730         * posix/tst-rfc3484-3.c: Likewise.
81732         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81733         process_vm_writev.
81734         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81735         process_vm_writev.
81736         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81737         process_vm_writev from libc using GLIBC_2.15 version.
81739         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81741 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81743         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81744         stack usage.
81746 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81748         [BZ #13367]
81749         * nss/getent.c (initgroups_keys): Show error message in case no group
81750         names are given.
81752         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81753         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81754         __bump_nl_timestamp.
81755         * nscd/connections (nscd_init): When host database is served open
81756         netlink socket and request notification about configuration changes.
81757         (main_loop_poll): Track netlink file descriptor and bump timestamp
81758         in case data becomes available.
81759         (main_loop_epoll): Likewise.
81760         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81761         (database_pers_head): Add extra_data fileds.
81762         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81763         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81764         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81765         Adjust caller.
81766         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81767         in6ai data, call __free_in6ai.
81768         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81769         Add -DHAVE_NETLINK.
81770         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81771         interface information.  Reuse previous data if netlink timestamp
81772         is not changed.
81773         (__bump_nl_timestamp): New function.
81774         (__free_in6ai): New function.
81776 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81778         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81779         close_not_cancel_no_status here.
81780         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81782 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81784         [BZ #13276]
81785         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81786         return value.
81788         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81789         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81790         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81792 2011-07-03  Andreas Jaeger  <aj@suse.de>
81794         [BZ #10709]
81795         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81796         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81797         * math/libm-test.inc (sin_test): Add test case.
81799 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81801         [BZ #13337]
81802         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81803         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81805         * elf/chroot_canon.c (chroot_canon): Cleanups.
81807         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81809         [BZ #13335]
81810         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81811         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81813         * string/test-strchr.c: Make usable for strchrnul testing.
81814         * string/test-strchrnul.c: New file.
81815         * string/Makefile (strop-tests): Add strchrnul.
81817         * po/it.po: Update from translation team.
81818         * po/es.po: Likewise.
81820 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81822         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81823         the three constants needed as parameters.  Drop the others.
81824         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81825         __m128i_strloadu_tolower.
81826         Create and initialize variable zero and use it in all the places
81827         where _mm_setzero_si128 was used.
81829         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81830         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81831         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81832         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81833         anymore.
81834         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81835         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81836         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81837         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81838         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81839         __mpranred, __mptan.
81840         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81841         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81842         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81843         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81844         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81845         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81846         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81847         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81848         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81850 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81852         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81853         redefine if SHARED.
81854         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81857         wide char related routines to wcsmbs subdir.
81859 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81861         [BZ #13344]
81862         * misc/sys/cdefs.h (__THROWNL): Define.
81863         * posix/unistd.h: Use __THREADNL instead of __THREAD
81864         for memory synchronization functions.
81866 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81868         [BZ #13349]
81869         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81870         doesn't exist.
81871         * manual/stdio.texi (Obstack Streams): Node removed.
81873 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81875         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81876         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81877         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81879         * math/math_private.h (math_force_eval): Allow non-addressable
81880         arguments.
81881         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81883 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81885         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81886         file is not needed.
81888         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81890         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81891         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81892         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81893         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81894         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81895         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81896         Add AVX variants.
81897         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81898         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81899         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81900         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81901         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81902         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81903         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81904         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81905         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81906         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81907         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81908         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81909         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81910         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81911         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81912         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81913         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81914         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81915         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81917         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81918         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81920         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81921         place.  Use VEX encoding when compiling for AVX.
81923 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81925         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81926         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81928         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81930 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81932         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81933         useless if() expression.
81934         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81935         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81936         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81938         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81939         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81940         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81941         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81942         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81944         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81945         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81946         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81947         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81948         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81949         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81950         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81951         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81952         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81954         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81956 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81958         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81959         condition.
81960         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81962 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81964         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81965         .text section.  Avoid duplicate constants.
81966         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81970         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81974         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81975         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81976         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81977         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81978         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81979         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81980         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81981         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81982         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81983         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81984         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81985         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81986         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81987         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81988         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81990         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81991         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81992         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81993         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81994         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81995         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81996         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81997         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81998         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81999         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82000         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82001         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82002         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82003         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82004         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82005         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82006         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82007         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82008         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82009         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82010         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82012 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82014         * sysdeps/x86_64/dla.h: Move to ...
82015         * sysdeps/x86_64/fpu/dla.h: ...here.
82016         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82017         situations.  Use __builtin_fma only for gcc 4.6 and up.
82019         * config.make.in: Add have-mfma4 entry.
82020         * configure.in: Substitute libc_cv_cc_fma4.
82021         * math/Makefile (dbl-only-routines): Add sincostab.
82022         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82023         Use __sincostab not sincos.
82024         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82025         name is a macro.
82026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82027         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82030         using __copysign.
82031         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82032         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82033         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82034         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82035         and __inv.
82036         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82037         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82038         __copysign.
82039         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82040         define aliases when function name is a macro.
82041         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82042         sysdeps/ieee754/dbl-64/sincos.tbl.
82043         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82044         fma4-enabled routines.
82045         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82046         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82047         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82048         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82049         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82050         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82051         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82052         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82053         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82054         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82055         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82056         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82057         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82058         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82059         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82060         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82061         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82062         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82063         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82064         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82065         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82066         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82067         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82068         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82069         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82070         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82071         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82072         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82073         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82074         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82076         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82077         rename.
82078         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82079         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82080         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82082         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82083         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82084         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82085         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82087 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82089         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82091 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82096         prediction.
82097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82099         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82100         Remove unused variable magic_bits.
82101         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82103         * string/strnlen.c: Define and use STRNLEN macro.
82104         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82105         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82106         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82107         * wcsmbs/wcslen.c: Define and use WCSLEN.
82108         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82109         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82110         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82111         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82112         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82113         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82114         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82116 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82119         strnlen-sse2-no-bsf.
82120         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82121         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82122         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82123         Add strnlen support.
82124         (USE_AS_STRNLEN): New macro.
82125         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82126         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82127         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82128         * sysdeps/x86_64/wcslen.S: New file.
82130 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82132         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82133         XMM-moves are used for copying on small sizes.
82135 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82137         * wcsmbs/Makefile (strop-tests): Add wcschr.
82138         * wcsmbs/test-wcschr.c: New file.
82139         * string/test-strchr.c: Update.
82140         Add wcschr support.
82141         (WIDE): New macro.
82143 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82145         * wcsmbs/Makefile (strop-tests): Add wcslen.
82146         * wcsmbs/test-wcslen.c: New file.
82147         * string/test-strlen.c: Update.
82148         Add wcslen support.
82149         (WIDE): New macro.
82151 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82153         * po/it.po: Update from translation team.
82155 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82157         * sysdeps/x86_64/wcscmp.S: Update.
82158         Fix wrong comparison semantics.
82159         wcscmp shall use signed comparison not unsigned.
82160         Don't use substraction to avoid overflow bug.
82161         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82162         * wcsmbc/wcscmp.c: Likewise.
82163         * string/test-strcmp.c: Likewise.
82164         Add new tests to check cases with negative values.
82166 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82168         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82169         * sysdeps/x86_64/dla.h: ...here.  New file.
82170         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82172         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82175         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82178         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82180 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82183         __ynl_finite aliases.
82185 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82189         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82190         define DLA_FMA.
82191         [DLA_FMA] (EMULV): Use DLA_FMA.
82192         [DLA_FMA] (MUL12): Use EMULV.
82193         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82194         that are not needed.
82195         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82196         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82197         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82198         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82201         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82203 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82205         * math/s_nan.c: Undef __nan.
82206         * math/s_nanf.c: Undef __nanf.
82207         * math/s_nanl.c: Undef __nanl.
82208         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82209         "math_private.h".
82211 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82213         * math/s_catan.c: Add branch predictions.
82214         * math/s_catanf.c: Likewise.
82215         * math/s_catanh.c: Likewise.
82216         * math/s_catanhf.c: Likewise.
82217         * math/s_catanhl.c: Likewise.
82218         * math/s_catanl.c: Likewise.
82219         * math/s_cexp.c: Likewise.
82220         * math/s_cexpf.c: Likewise.
82221         * math/s_cexpl.c: Likewise.
82222         * math/s_clog.c: Likewise.
82223         * math/s_clog10.c: Likewise.
82224         * math/s_clog10f.c: Likewise.
82225         * math/s_clog10l.c: Likewise.
82226         * math/s_clogf.c: Likewise.
82227         * math/s_clogl.c: Likewise.
82228         * math/s_csqrt.c: Likewise.
82229         * math/s_csqrtf.c: Likewise.
82230         * math/s_csqrtl.c: Likewise.
82231         * math/s_ctanf.c: Likewise.
82232         * math/s_ctanh.c: Likewise.
82233         * math/s_ctanhf.c: Likewise.
82234         * math/s_ctanhl.c: Likewise.
82235         * math/s_ctanl.c: Likewise.
82237         * math/math_private.h: Define __nan, __nanf, __nanl.
82238         * math/s_cacosh.c: Include <math_private.h>.
82239         * math/s_cacoshl.c: Likewise.
82240         * math/s_casinh.c: Likewise.
82241         * math/s_casinhf.c: Likewise.
82242         * math/s_casinhl.c: Likewise.
82243         * math/s_ccos.c: Rely entire on ccosh.
82244         * math/s_ccosf.c: Rely entire on ccoshf.
82245         * math/s_ccosl.c: Rely entirely on ccoshl.
82246         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82247         Remove tests for FE_INVALID.
82248         * math/s_ccoshf.c: Likewise.
82249         * math/s_ccoshl.c: Likewise.
82250         * math/s_csin.c: Likewise.
82251         * math/s_csinf.c: Likewise.
82252         * math/s_csinh.c Likewise.
82253         * math/s_csinhf.c: Likewise.
82254         * math/s_csinhl.c: Likewise.
82255         * math/s_csinl.c: Likewise.
82256         * math/s_ctan.c: Likewise.
82257         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82258         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82259         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82261 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82264         compilation problems.
82266         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82267         __builtin_expect.
82269 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82271         * sysdeps/i386/configure.in: Test for -mfma4 option.
82272         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82273         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82274         COMMON_CPUID_INDEX_80000001.
82275         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82276         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82277         use it if FMA3 is not supported.
82278         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82280         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82281         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82283 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82285         [BZ #12892]
82286         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82287         it would create a cycle with a link time dependency.
82289 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82291         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82292         instruction.
82293         * string/Makefile (strop-tests): Add rawmemchr.
82294         * string/test-rawmemchr.c: New file.
82296         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82298         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82299         when compiling str{,n}casecmp and when AVX is available.  Hook up
82300         new optimized code in initializers.
82302 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82304         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82305         __feraiseexcept instead of feraiseexcept.
82307 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82309         * math/math_private.h: Define defaults for libc_fetestexcept and
82310         libc_feupdateenv.
82311         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82312         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82313         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82314         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82315         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82316         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82317         libc_fetestexcept and libc_feupdateenv.
82319         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82320         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82321         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82322         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82323         libc_feholdexcept_setround.
82325         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82326         Add s_nearbyint-c and s_nearbyintf-c.
82327         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82328         nearbyintf inlines.
82329         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82330         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82331         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82332         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82334         * math/math_private.h: Define defaults for libc_fegetround,
82335         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82336         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82337         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82338         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82339         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82340         standard functions.
82341         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82342         Remove comments and hacks for old compiler versions.
82343         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82344         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82345         libc_feholdexceptl.
82347 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82349         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82350         (__feraiseexcept_renamed): Add __NTH.
82351         (feraiseexcept): Add __NTH.  Rename local variables to fix
82352         namespace violations.
82354 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82356         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82358         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82360         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82361         recently added interfaces.
82362         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82364         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82365         about macro parameter expansion.
82367         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82368         __NO_MATH_INLINES is defined.  Cleanups.
82370         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82371         and __floorf is target has SSE4.1.
82372         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82373         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82374         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82375         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82377         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82378         name.
82379         (floorf): Likewise.
82381         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82383 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82385         * misc/sys/cdefs.h: Fix last change.
82387         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82388         database lookup.
82390 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82392         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82394         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82395         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82396         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82397         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82398         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82399         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82400         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82401         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82402         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82403         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82404         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82405         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82406         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82407         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82408         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82409         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82410         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82411         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82412         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82413         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82414         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82415         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82417         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82418         ceil, ceilf, floor, floorf.
82420         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82421         Perform IRELATIVE relocations last.
82423         * elf/do-rel.h: Add another parameter nrelative, replacing the
82424         local variable with the same name.  Change name of the function
82425         to end in Rel or Rela (uppercase).
82426         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82427         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82428         elf_dynamic_do_##reloc function.
82430 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82432         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82433         is sufficient, at least on modern CPUs.
82435         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82437         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82438         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82440         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82441         __expl_finite.
82442         * math/bits/math-finite.h: Add entries for exp.
82443         * math/e_expl.c: Add __*_finite alias.
82444         * sysdeps/i386/fpu/e_exp.S: Likewise.
82445         * sysdeps/i386/fpu/e_expf.S: Likewise.
82446         * sysdeps/i386/fpu/e_expl.c: Likewise.
82447         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82448         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82449         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82451         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82452         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82453         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82455         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82456         is sufficient, at least on modern CPUs.
82458         * ctype/ctype-info.c (__ctype_init): Define.
82459         * include/ctype.h (__ctype_init): Declare.
82460         (__ctype_b_loc): The variable is always initialized.
82461         (__ctype_toupper_loc): Likewise.
82462         (__ctype_tolower_loc): Likewise.
82463         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82464         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82466 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82468         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82470         * configure.in: Also look in $cxxmachine/include for C++ system
82471         headers.
82473 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82475         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82476         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82477         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82478         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82479         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82480         (USE_AS_WMEMCMP): New macro.
82481         Fixing indents.
82482         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82483         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82484         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82485         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82487         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82488         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82489         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82490         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82491         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82492         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82493         (USE_AS_WMEMCMP): New macro.
82494         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82495         * sysdeps/string/test-memcmp.c: Update.
82496         Fix simple_wmemcmp.
82497         Add new tests.
82498         * wcsmbs/wmemcmp.c: Update.
82499         (WMEMCMP): New macro.
82500         Fix overflow bug.
82502 2011-10-12  Andreas Jaeger  <aj@suse.de>
82504         [BZ #13268]
82505         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82507 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82509         * libio/iofwide.c (do_length): Avoid warning.
82511         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82513 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82515         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82517         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82518         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82519         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82520         * sysdeps/i386/i686/fpu/e_log.S: New file.
82521         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82522         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82524         * ctype/ctype.h: Add support for inlined isXXX functions when
82525         compiling C++ code.
82527 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82529         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82531         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82533 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82535         [BZ #13291]
82536         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82538 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82540         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82541         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82542         feraiseexcept.
82544         * sysdeps/x86_64/memrchr.S: Check for zero size.
82546         * string/stratcliff.c: Add memrchr tests.
82548 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82551         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82552         rawmemchr-sse2 rawmemchr-sse2-bsf.
82553         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82554         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82555         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82556         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82557         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82558         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82559         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82560         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82561         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82562         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82563         * string/memrchr.c (MEMRCHR): New macro.
82565 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82567         Add integration with gcc's -ffinite-math-only and optimize wrapper
82568         functions in libm.
82569         * Versions.def: Define GLIBC_2.15 version for libm.
82570         * math/Makefile (headers): Add bits/math-finite.h.
82571         * math/bits/math-finite.h: New file.
82572         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82573         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82574         * math/e_acoshl.c: Add __*_finite alias.
82575         * math/e_acosl.c: Likewise.
82576         * math/e_asinl.c: Likewise.
82577         * math/e_atan2l.c: Likewise.
82578         * math/e_atanhl.c: Likewise.
82579         * math/e_coshl.c: Likewise.
82580         * math/e_exp10.c: Likewise.
82581         * math/e_exp10f.c: Likewise.
82582         * math/e_exp10l.c: Likewise.
82583         * math/e_exp2l.c: Likewise.
82584         * math/e_fmodl.c: Likewise.
82585         * math/e_gammal_r.c: Likewise.
82586         * math/e_hypotl.c: Likewise.
82587         * math/e_j0l.c: Likewise.
82588         * math/e_j1l.c: Likewise.
82589         * math/e_jnl.c: Likewise.
82590         * math/e_lgammal_r.c: Likewise.
82591         * math/e_log10l.c: Likewise.
82592         * math/e_log2l.c: Likewise.
82593         * math/e_logl.c: Likewise.
82594         * math/e_powl.c: Likewise.
82595         * math/e_sinhl.c: Likewise.
82596         * math/e_sqrtl.c: Likewise.
82597         * math/e_scalb.c: Completely rewritten and optimized.
82598         * math/e_scalbf.c: Likewise.
82599         * math/e_scalbl.c: Likewise.
82600         * math/w_acos.c: Likewise.
82601         * math/w_acosf.c: Likewise.
82602         * math/w_acosl.c: Likewise.
82603         * math/w_acosh.c: Likewise.
82604         * math/w_acoshf.c: Likewise.
82605         * math/w_acoshl.c: Likewise.
82606         * math/w_asin.c: Likewise.
82607         * math/w_asinf.c: Likewise.
82608         * math/w_asinl.c: Likewise.
82609         * math/w_atan2.c: Likewise.
82610         * math/w_atan2f.c: Likewise.
82611         * math/w_atan2l.c: Likewise.
82612         * math/w_atanh.c: Likewise.
82613         * math/w_atanhf.c: Likewise.
82614         * math/w_atanhl.c: Likewise.
82615         * math/w_exp10.c: Likewise.
82616         * math/w_exp10f.c: Likewise.
82617         * math/w_exp10l.c: Likewise.
82618         * math/w_fmod.c: Likewise.
82619         * math/w_fmodf.c: Likewise.
82620         * math/w_fmodl.c: Likewise.
82621         * math/w_j0.c: Likewise.
82622         * math/w_j0f.c: Likewise.
82623         * math/w_j0l.c: Likewise.
82624         * math/w_j1.c: Likewise.
82625         * math/w_j1f.c: Likewise.
82626         * math/w_j1l.c: Likewise.
82627         * math/w_jn.c: Likewise.
82628         * math/w_jnf.c: Likewise.
82629         * math/w_log.c: Likewise.
82630         * math/w_logf.c: Likewise.
82631         * math/w_logl.c: Likewise.
82632         * math/w_log10.c: Likewise.
82633         * math/w_log10f.c: Likewise.
82634         * math/w_log10l.c: Likewise.
82635         * math/w_log2.c: Likewise.
82636         * math/w_log2f.c: Likewise.
82637         * math/w_log2l.c: Likewise.
82638         * math/w_pow.c: Likewise.
82639         * math/w_powf.c: Likewise.
82640         * math/w_powl.c: Likewise.
82641         * math/w_remainder.c: Likewise.
82642         * math/w_remainderf.c: Likewise.
82643         * math/w_remainderl.c: Likewise.
82644         * math/w_scalb.c: Likewise.
82645         * math/w_scalbf.c: Likewise.
82646         * math/w_scalbl.c: Likewise.
82647         * math/w_sqrt.c: Likewise.
82648         * math/w_sqrtf.c: Likewise.
82649         * math/w_sqrtl.c: Likewise.
82650         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82651         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82652         used.
82653         * math/math_private.h: Declare __kernel_standard_f.
82654         * math/w_cosh.c: Remove cruft and optimize a bit.
82655         * math/w_coshf.c: Likewise.
82656         * math/w_coshl.c: Likewise.
82657         * math/w_exp2.c: Likewise.
82658         * math/w_exp2f.c: Likewise.
82659         * math/w_exp2l.c: Likewise.
82660         * math/w_hypot.c: Likewise.
82661         * math/w_hypotf.c: Likewise.
82662         * math/w_hypotl.c: Likewise.
82663         * math/w_lgamma.c: Likewise.
82664         * math/w_lgamma_r.c: Likewise.
82665         * math/w_lgammaf.c: Likewise.
82666         * math/w_lgammaf_r.c: Likewise.
82667         * math/w_lgammal.c: Likewise.
82668         * math/w_lgammal_r.c: Likewise.
82669         * math/w_sinh.c: Likewise.
82670         * math/w_sinhf.c: Likewise.
82671         * math/w_sinhl.c: Likewise.
82672         * math/w_tgamma.c: Likewise.
82673         * math/w_tgammaf.c: Likewise.
82674         * math/w_tgammal.c: Likewise.
82675         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82676         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82677         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82678         Minor optimizations.  Pretty printing.  Remove cruft.
82679         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82680         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82681         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82682         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82683         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82684         * sysdeps/i386/fpu/e_asin.S: Likewise.
82685         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82686         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82687         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82688         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82689         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82690         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82692         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82693         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82694         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82695         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82696         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82697         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82698         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82699         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82700         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82701         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82702         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82703         * sysdeps/i386/fpu/e_log.S: Likewise.
82704         * sysdeps/i386/fpu/e_log10.S: Likewise.
82705         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82706         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82707         * sysdeps/i386/fpu/e_log2.S: Likewise.
82708         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82709         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82710         * sysdeps/i386/fpu/e_logf.S: Likewise.
82711         * sysdeps/i386/fpu/e_logl.S: Likewise.
82712         * sysdeps/i386/fpu/e_pow.S: Likewise.
82713         * sysdeps/i386/fpu/e_powf.S: Likewise.
82714         * sysdeps/i386/fpu/e_powl.S: Likewise.
82715         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82716         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82717         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82718         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82720         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82721         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82722         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82723         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82724         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82725         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82726         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82727         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82728         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82729         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82730         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82731         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82735         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82736         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82737         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82738         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82739         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82740         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82741         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82742         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82743         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82744         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82745         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82746         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82747         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82748         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82749         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82750         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82751         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82752         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82753         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82754         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82755         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82757         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82758         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82759         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82760         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82761         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82762         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82763         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82764         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82765         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82766         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82767         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82768         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82769         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82770         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82771         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82772         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82773         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82774         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82775         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82776         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82779         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82780         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82781         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82783         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82784         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82785         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82789         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82790         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82791         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82792         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82794         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82795         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82800         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82801         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82802         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82803         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82804         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82805         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82806         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82807         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82808         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82809         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82810         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82812         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82813         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82814         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82815         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82816         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82817         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82818         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82819         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82820         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82821         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82822         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82823         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82824         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82825         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82826         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82827         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82828         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82829         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82830         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82831         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82832         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82833         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82834         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82835         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82836         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82837         (__isnanf): Likewise.
82838         (__isinf_ns): Likewise.
82839         (__isinf_nsf): Likewise.
82840         (__finite): Likewise.
82841         (__finitef): Likewise.
82842         (__ieee754_sqrt): Define as macro.
82843         (__ieee754_sqrtf): Define as macro.
82844         (__ieee754_sqrtl): Define as macro.
82845         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82846         inlined copy.
82847         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82848         __FINITE_MATH_ONLY__ consistent.
82849         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82851 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82853         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82854         of rawmemchr.
82856         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82858 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82860         * po/ja.po: Update from translation team.
82862 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82864         * locale/programs/locarchive.c (prepare_address_space): New function.
82865         (create_archive, enlarge_archive, open_archive): Use it.
82867         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82868         inside [SHARED], where it is used.
82870         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82872         * nss/getent.c (netgroup_keys): Remove unused variable.
82873         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82875 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82877         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82878         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82880         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82881         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82882         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82883         * math/Makefile (libm-calls): Add s_isinf_ns.
82884         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82885         * math/multc3.c: Likewise.
82886         * math/s_casin.c: Likewise.
82887         * math/s_casinf.c: Likewise.
82888         * math/s_casinl.c: Likewise.
82889         * math/s_ccos.c: Likewise.
82890         * math/s_ccosf.c: Likewise.
82891         * math/s_ccosl.c: Likewise.
82892         * math/s_ctan.c: Likewise.
82893         * math/s_ctanf.c: Likewise.
82894         * math/s_ctanh.c: Likewise.
82895         * math/s_ctanhf.c: Likewise.
82896         * math/s_ctanhl.c: Likewise.
82897         * math/s_ctanl.c: Likewise.
82898         * math/w_fmod.c: Likewise.
82899         * math/w_fmodf.c: Likewise.
82900         * math/w_fmodl.c: Likewise.
82901         * math/w_remainder.c: Likewise.
82902         * math/w_remainderf.c: Likewise.
82903         * math/w_remainderl.c: Likewise.
82904         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82905         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82906         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82907         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82908         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82909         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82910         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82911         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82913         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82914         of the number.
82915         * stdio-common/printf_fphex.c: Likewise.
82916         * stdio-common/printf_size.c: Likewise.
82918         * math/e_exp10.c: Include math_private.h using <...> not "...".
82919         * math/e_exp10f.c: Likewise.
82920         * math/e_exp10l.c: Likewise.
82921         * math/e_exp2l.c: Likewise.
82922         * math/e_j0l.c: Likewise.
82923         * math/e_j1l.c: Likewise.
82924         * math/e_jnl.c: Likewise.
82925         * math/e_lgammal_r.c: Likewise.
82926         * math/e_rem_pio2l.c: Likewise.
82927         * math/e_scalb.c: Likewise.
82928         * math/e_scalbf.c: Likewise.
82929         * math/e_scalbl.c: Likewise.
82930         * math/k_cosl.c: Likewise.
82931         * math/k_sinl.c: Likewise.
82932         * math/k_tanl.c: Likewise.
82933         * math/s_cacoshf.c: Likewise.
82934         * math/s_catan.c: Likewise.
82935         * math/s_catanf.c: Likewise.
82936         * math/s_catanh.c: Likewise.
82937         * math/s_catanhf.c: Likewise.
82938         * math/s_catanhl.c: Likewise.
82939         * math/s_catanl.c: Likewise.
82940         * math/s_ccosh.c: Likewise.
82941         * math/s_ccoshf.c: Likewise.
82942         * math/s_ccoshl.c: Likewise.
82943         * math/s_cexp.c: Likewise.
82944         * math/s_cexpf.c: Likewise.
82945         * math/s_cexpl.c: Likewise.
82946         * math/s_clog.c: Likewise.
82947         * math/s_clog10.c: Likewise.
82948         * math/s_clog10f.c: Likewise.
82949         * math/s_clog10l.c: Likewise.
82950         * math/s_clogf.c: Likewise.
82951         * math/s_clogl.c: Likewise.
82952         * math/s_csin.c: Likewise.
82953         * math/s_csinf.c: Likewise.
82954         * math/s_csinh.c: Likewise.
82955         * math/s_csinhf.c: Likewise.
82956         * math/s_csinhl.c: Likewise.
82957         * math/s_csinl.c: Likewise.
82958         * math/s_csqrt.c: Likewise.
82959         * math/s_csqrtf.c: Likewise.
82960         * math/s_csqrtl.c: Likewise.
82961         * math/s_ctan.c: Likewise.
82962         * math/s_ctanf.c: Likewise.
82963         * math/s_ctanh.c: Likewise.
82964         * math/s_ctanhf.c: Likewise.
82965         * math/s_ctanhl.c: Likewise.
82966         * math/s_ctanl.c: Likewise.
82967         * math/s_ldexp.c: Likewise.
82968         * math/s_ldexpf.c: Likewise.
82969         * math/s_ldexpl.c: Likewise.
82970         * math/s_significand.c: Likewise.
82971         * math/s_significandf.c: Likewise.
82972         * math/s_significandl.c: Likewise.
82973         * math/w_acos.c: Likewise.
82974         * math/w_acosf.c: Likewise.
82975         * math/w_acosh.c: Likewise.
82976         * math/w_acoshf.c: Likewise.
82977         * math/w_acoshl.c: Likewise.
82978         * math/w_acosl.c: Likewise.
82979         * math/w_asin.c: Likewise.
82980         * math/w_asinf.c: Likewise.
82981         * math/w_asinl.c: Likewise.
82982         * math/w_atan2.c: Likewise.
82983         * math/w_atan2f.c: Likewise.
82984         * math/w_atan2l.c: Likewise.
82985         * math/w_atanh.c: Likewise.
82986         * math/w_atanhf.c: Likewise.
82987         * math/w_atanhl.c: Likewise.
82988         * math/w_cosh.c: Likewise.
82989         * math/w_coshf.c: Likewise.
82990         * math/w_coshl.c: Likewise.
82991         * math/w_dremf.c: Likewise.
82992         * math/w_exp10.c: Likewise.
82993         * math/w_exp10f.c: Likewise.
82994         * math/w_exp10l.c: Likewise.
82995         * math/w_exp2.c: Likewise.
82996         * math/w_exp2f.c: Likewise.
82997         * math/w_fmod.c: Likewise.
82998         * math/w_fmodf.c: Likewise.
82999         * math/w_fmodl.c: Likewise.
83000         * math/w_hypot.c: Likewise.
83001         * math/w_hypotf.c: Likewise.
83002         * math/w_hypotl.c: Likewise.
83003         * math/w_j0.c: Likewise.
83004         * math/w_j0f.c: Likewise.
83005         * math/w_j0l.c: Likewise.
83006         * math/w_j1.c: Likewise.
83007         * math/w_j1f.c: Likewise.
83008         * math/w_j1l.c: Likewise.
83009         * math/w_jn.c: Likewise.
83010         * math/w_jnf.c: Likewise.
83011         * math/w_jnl.c: Likewise.
83012         * math/w_lgamma.c: Likewise.
83013         * math/w_lgamma_r.c: Likewise.
83014         * math/w_lgammaf.c: Likewise.
83015         * math/w_lgammaf_r.c: Likewise.
83016         * math/w_lgammal.c: Likewise.
83017         * math/w_lgammal_r.c: Likewise.
83018         * math/w_log.c: Likewise.
83019         * math/w_log10.c: Likewise.
83020         * math/w_log10f.c: Likewise.
83021         * math/w_log10l.c: Likewise.
83022         * math/w_log2.c: Likewise.
83023         * math/w_log2f.c: Likewise.
83024         * math/w_log2l.c: Likewise.
83025         * math/w_logf.c: Likewise.
83026         * math/w_logl.c: Likewise.
83027         * math/w_pow.c: Likewise.
83028         * math/w_powf.c: Likewise.
83029         * math/w_powl.c: Likewise.
83030         * math/w_remainder.c: Likewise.
83031         * math/w_remainderf.c: Likewise.
83032         * math/w_remainderl.c: Likewise.
83033         * math/w_scalb.c: Likewise.
83034         * math/w_scalbf.c: Likewise.
83035         * math/w_scalbl.c: Likewise.
83036         * math/w_sinh.c: Likewise.
83037         * math/w_sinhf.c: Likewise.
83038         * math/w_sinhl.c: Likewise.
83039         * math/w_sqrt.c: Likewise.
83040         * math/w_sqrtf.c: Likewise.
83041         * math/w_sqrtl.c: Likewise.
83042         * math/w_tgamma.c: Likewise.
83043         * math/w_tgammaf.c: Likewise.
83044         * math/w_tgammal.c: Likewise.
83046         * po/ja.po: Update from translation team.
83048 2011-09-29  Andreas Jaeger  <aj@suse.de>
83050         [BZ #13179]
83051         * sunrpc/netname.c (netname2host): Fix logic.
83053         [BZ #6779]
83054         [BZ #6783]
83055         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83056         correctly.
83057         * math/w_remainder.c (__remainder): Likewise.
83058         * math/w_remainderf.c (__remainderf): Likewise.
83059         * math/libm-test.inc (remainder_test): Add test cases.
83061 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83063         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83064         sdiv_qrnnd.
83066 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83068         * string/test-memcmp.c: Avoid unncessary #defines.
83069         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83071 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83073         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83074         Use new sse2 version for core i3 - i7 as it's faster
83075         than sse42 version.
83076         (bit_Prefer_PMINUB_for_stringop): New.
83077         * sysdeps/x86_64/rawmemchr.S: Update.
83078         Replace with faster SSE2 version.
83079         * sysdeps/x86_64/memrchr.S: New file.
83080         * sysdeps/x86_64/memchr.S: Update.
83081         Replace with faster SSE2 version.
83083 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83085         * elf/dl-load.c (lose): Add cast to avoid warning.
83087 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83089         * po/ca.po: Update from translation team.
83091         * inet/getnetgrent_r.c: Hook up nscd.
83092         * nscd/Makefile (routines): Add nscd_netgroup.
83093         (nscd-modules): Add netgroupcache.
83094         (CFLAGS-netgroupcache.c): Define.
83095         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83096         (cache_search): Add const to second parameter.
83097         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83098         INNETGR.
83099         (dbs): Add netgrdb entry.
83100         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83101         (verify_persistent_db): Handle netgrdb.
83102         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83103         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83104         GETFDNETGR.
83105         (netgroup_response_header): Define.
83106         (innetgroup_response_header): Define.
83107         (datahead): Add netgroup_response_header and innetgroup_response_header
83108         elements.
83109         * nscd/nscd.conf: Add entries for netgroup cache.
83110         * nscd/nscd.h (dbtype): Add netgrdb.
83111         (_PATH_NSCD_NETGROUP_DB): Define.
83112         (netgroup_iov_disabled): Declare.
83113         (xmalloc, xcalloc, xrealloc): Move declarations here.
83114         (cache_search): Adjust prototype.
83115         Add netgroup-related prototypes.
83116         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83117         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83118         (__nscd_innetgr): Declare.
83119         * nscd/selinux.c (perms): Use access_vector_t as element type and
83120         add netgroup-related initializers.
83121         * nscd/netgroupcache.c: New file.
83122         * nscd/nscd_netgroup.c: New file.
83123         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83124         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83125         For four parameters use innetgr.
83126         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83127         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83128         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83129         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83131         * nscd/connections.c (register_traced_file): Don't register file
83132         for disabled databases.
83134 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83136         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83138         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83139         from tree and freeing node.
83141 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83143         * nss/nsswitch.c (__nss_database_lookup): Handle
83144         nss_parse_service_list out of memory case.
83146 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83148         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83149         out of memory case.
83151 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83153         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83154         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83155         pass it down.
83156         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83157         elf_machine_rela, elf_machine_lazy_rel.
83158         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83159         (ELF_DYNAMIC_DO_REL): Likewise.
83160         (ELF_DYNAMIC_DO_RELA): Likewise.
83161         (ELF_DYNAMIC_RELOCATE): Likewise.
83162         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83163         to ELF_DYNAMIC_DO_REL.
83164         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83165         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83166         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83167         elf_machine_rela.
83168         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83169         skip_ifunc, don't call ifunc function if non-zero.
83170         (elf_machine_rela): Likewise.
83171         (elf_machine_lazy_rel): Likewise.
83172         (elf_machine_lazy_rela): Likewise.
83173         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83174         (elf_machine_lazy_rel): Likewise.
83175         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83176         Likewise.
83177         (elf_machine_lazy_rel): Likewise.
83178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83179         Likewise.
83180         (elf_machine_lazy_rel): Likewise.
83181         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83182         (elf_machine_lazy_rel): Likewise.
83183         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83184         (elf_machine_lazy_rel): Likewise.
83185         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83186         (elf_machine_lazy_rel): Likewise.
83187         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83188         (elf_machine_lazy_rel): Likewise.
83189         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83190         (elf_machine_lazy_rel): Likewise.
83191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83192         (elf_machine_lazy_rel): Likewise.
83194 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83196         * nss/nss_files/files-init.c (_nss_files_init): Use static
83197         initialization for all the *_traced_file variables.
83199 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83201         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83203 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83205         [BZ #13226]
83206         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83208 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83211         Reread the line before reparsing it.
83213 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83215         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83217 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83218             Maxim Kuvyrkov  <maxim@codesourcery.com>
83219             Joseph Myers  <joseph@codesourcery.com>
83221         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83222         if needed for __stack_chk_guard.
83224 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83226         * sysdeps/posix/spawni.c (script_execute): Always define it.
83227         It will be optimized away if unused.
83228         (maybe_script_execute): New function.
83229         (__spawni): Call it.
83231         * Makerules: Don't include tls.make.
83232         (config-tls): Always set to thread.
83233         * tls.make.c: File removed.
83235 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83237         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83238         * config.make.in (CPPFLAGS-config): New substituted variable.
83240 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83242         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83244         [BZ #13192]
83245         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83246         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83248 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83250         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83251         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83252         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83253         (CALL_FAIL): Likewise.
83254         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83255         (CALL_FAIL): Macro removed.
83256         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83258 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83260         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83261         for __FINITE_MATH_ONLY__ == 1.
83263 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83265         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83266         __ieee754_sqrt instead of sqrt.
83267         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83268         __ieee754_sqrtf instead of sqrtf.
83269         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83270         __floorf instead of floorf.
83271         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83272         __floorf, __truncf instead of floorf, truncf.
83274 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83276         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83278         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83279         __extern_always_inline.
83280         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83281         32-bit.
83283 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83285         * elf/rtld.c (dl_main): Also relocate in dependency order when
83286         doing symbol dependency testing.
83288 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83291         Always define `refsym'.
83293 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83295         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83296         (__FD_ELT): Renamed from __FDELT.
83297         * misc/bits/select2.h (__FD_ELT): Likewise.
83298         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83299         __FD_MASK instead of __FDELT, __FDMASK.
83300         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83301         Likewise.
83302         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83303         Likewise.
83305         * elf/Makefile (gen-ldd): Fix pattern.
83307         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83308         (init_tls): Likewise.
83310 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83312         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83314 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83316         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83317         `struct cmsghdr *' instead of `void *'.
83318         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83319         Likewise.
83321 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83323         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83324         if non-absolute.
83325         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83326         ldd_rewrite_script.
83328 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83330         * configure.in: Remove --with-tls option.
83331         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83332         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83333         out in case it is missing.
83334         * sysdeps/ia64/elf/configure.in: Likewise.
83335         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83336         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83337         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83338         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83339         * sysdeps/sh/elf/configure.in: Likewise.
83340         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83341         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83342         * sysdeps/x86_64/elf/configure.in: Likewise.
83343         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83344         * sysdeps/mach/hurd/tls.h: Likewise.
83346         [BZ #13067]
83347         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83349         [BZ #13090]
83350         * configure.in: Fix use of AC_INIT.
83352         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83354 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83356         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83357         __set_errno.
83358         * malloc/hooks.c: Likewise.
83360         [BZ #11929]
83361         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83362         variables statically.
83363         (narenas): Initialize.
83364         (list_lock): Initialize.
83365         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83366         initializtion of main_arena and list_lock.  Small cleanups.
83367         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83368         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83369         Add initializers to main_arena and mp_.
83370         (malloc_state): Remove pagesize member.  Change all users to use
83371         GLRO(dl_pagesize).
83373         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83374         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83375         is always initialized.
83377         * malloc/malloc.c: Removed unused configurations and dead code.
83378         * malloc/arena.c: Likewise.
83379         * malloc/hooks.c: Likewise.
83380         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83382         * include/tls.h: Removed.  USE___THREAD must always be defined.
83383         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83384         * elf/dl-libc.c: Likewise.
83385         * elf/dl-tsd.c: Likewise.
83386         * include/errno.h: Likewise.
83387         * include/netdb.h: Likewise.
83388         * include/resolv.h: Likewise.
83389         * inet/herrno-loc.c: Likewise.
83390         * inet/herrno.c: Likewise.
83391         * malloc/arena.c: Likewise.
83392         * malloc/hooks.c: Likewise.
83393         * malloc/malloc.c: Likewise.
83394         * resolv/res-state.c: Likewise.
83395         * resolv/res_libc.c: Likewise.
83396         * sysdeps/i386/dl-machine.h: Likewise.
83397         * sysdeps/ia64/dl-machine.h: Likewise.
83398         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83399         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83400         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83401         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83402         * sysdeps/sh/dl-machine.h: Likewise.
83403         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83404         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83405         * sysdeps/unix/i386/sysdep.S: Likewise.
83406         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83407         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83410         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83412         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83416         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83417         * sysdeps/x86_64/dl-machine.h: Likewise.
83418         * tls.make.c: Likewise.
83420         * configure.in: Remove --with-__thread option.  Make tests for
83421         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83422         tls_model attribute fail if no support is available.  Remove
83423         USE_IN_LIBIO.
83424         * Makeconfig: Adjust for dropped configure option.  All features are
83425         now mandatory.
83426         * Makerules: Likewise.
83427         * Versions.def: Likewise.
83428         * argp/argp-fmtstream.c: Likewise.
83429         * argp/argp-fmtstream.h: Likewise.
83430         * argp/argp-help.c: Likewise.
83431         * assert/assert.c: Likewise.
83432         * config.h.in: Likewise.
83433         * config.make.in: Likewise.
83434         * configure: Likewise.
83435         * configure.in: Likewise.
83436         * csu/Versions: Likewise.
83437         * csu/init.c: Likewise.
83438         * elf/tst-audit2.c: Likewise.
83439         * elf/tst-tls10.c: Likewise.
83440         * elf/tst-tls10.h: Likewise.
83441         * elf/tst-tls11.c: Likewise.
83442         * elf/tst-tls12.c: Likewise.
83443         * elf/tst-tls14.c: Likewise.
83444         * elf/tst-tlsmod11.c: Likewise.
83445         * elf/tst-tlsmod12.c: Likewise.
83446         * elf/tst-tlsmod13.c: Likewise.
83447         * elf/tst-tlsmod13a.c: Likewise.
83448         * elf/tst-tlsmod14a.c: Likewise.
83449         * elf/tst-tlsmod15b.c: Likewise.
83450         * elf/tst-tlsmod16a.c: Likewise.
83451         * elf/tst-tlsmod16b.c: Likewise.
83452         * elf/tst-tlsmod7.c: Likewise.
83453         * elf/tst-tlsmod8.c: Likewise.
83454         * elf/tst-tlsmod9.c: Likewise.
83455         * gmon/gmon.c: Likewise.
83456         * grp/fgetgrent_r.c: Likewise.
83457         * grp/putgrent.c: Likewise.
83458         * hurd/fopenport.c: Likewise.
83459         * include/libc-symbols.h: Likewise.
83460         * include/tls.h: Likewise.
83461         * intl/gettextP.h: Likewise.
83462         * intl/loadinfo.h: Likewise.
83463         * locale/global-locale.c: Likewise.
83464         * locale/localeinfo.h: Likewise.
83465         * mach/devstream.c: Likewise.
83466         * malloc/arena.c: Likewise.
83467         * malloc/set-freeres.c: Likewise.
83468         * misc/err.c: Likewise.
83469         * misc/getttyent.c: Likewise.
83470         * misc/mntent_r.c: Likewise.
83471         * posix/getopt.c: Likewise.
83472         * posix/wordexp.c: Likewise.
83473         * pwd/fgetpwent_r.c: Likewise.
83474         * resolv/Versions: Likewise.
83475         * resolv/res_hconf.c: Likewise.
83476         * shadow/fgetspent_r.c: Likewise.
83477         * shadow/putspent.c: Likewise.
83478         * stdio-common/printf_fphex.c: Likewise.
83479         * stdio-common/tmpfile.c: Likewise.
83480         * stdlib/abort.c: Likewise.
83481         * stdlib/fmtmsg.c: Likewise.
83482         * sunrpc/auth_unix.c: Likewise.
83483         * sunrpc/clnt_perr.c: Likewise.
83484         * sunrpc/clnt_tcp.c: Likewise.
83485         * sunrpc/clnt_udp.c: Likewise.
83486         * sunrpc/clnt_unix.c: Likewise.
83487         * sunrpc/openchild.c: Likewise.
83488         * sunrpc/svc_simple.c: Likewise.
83489         * sunrpc/svc_tcp.c: Likewise.
83490         * sunrpc/svc_udp.c: Likewise.
83491         * sunrpc/svc_unix.c: Likewise.
83492         * sunrpc/xdr.c: Likewise.
83493         * sunrpc/xdr_array.c: Likewise.
83494         * sunrpc/xdr_rec.c: Likewise.
83495         * sunrpc/xdr_ref.c: Likewise.
83496         * sunrpc/xdr_stdio.c: Likewise.
83498 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83500         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83502 2011-07-03  Andreas Jaeger  <aj@suse.de>
83504         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83505         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83506         regenerate with gen-libm-tests.pl.
83508 2010-05-12  Petr Baudis  <pasky@suse.cz>
83510         [BZ #11589]
83511         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83512         around j0() zero points by switching to j1().
83513         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83514         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83516         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83518 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83520         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83521         instead of 0.
83522         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83523         instead of 0.
83524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83525         Patch in part by Pavel Roskin <proski@gnu.org>.
83527         [BZ #13138]
83528         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83529         realloc.
83530         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83531         Free memory block if necessary.
83533         [BZ #12847]
83534         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83535         be NULL.  Don't lock in this case.
83537 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83539         * elf/elf.h (ELFOSABI_GNU): New macro.
83540         (ELFOSABI_LINUX): Define to that.
83542 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83544         * string/strncat.c (strncat): Undef the symbol in case it has been
83545         defined in bits/string.h.
83547 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83549         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83551         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83552         link map.
83554 2011-08-17  Andreas Jaeger  <aj@suse.de>
83556         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83558 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83559             Ian Lance Taylor  <iant@google.com>
83561         * math/libm-test.inc (lround_test): New testcase.
83562         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83564 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83566         * Makefile: Remove support for automatic cvs check-ins.
83567         * Makerules: Likewise.
83568         * config.make.in: Likewise.
83569         * configure.in: Likewise.
83570         * intl/Makefile: Likewise.
83571         * locale/Makefile: Likewise.
83572         * po/Makefile: Likewise.
83573         * posix/Makefile: Likewise.
83574         * sysdeps/gnu/Makefile: Likewise.
83575         * sysdeps/mach/hurd/Makefile: Likewise.
83576         * sysdeps/sparc/sparc32/Makefile: Likewise.
83578         [BZ #13118]
83579         * posix/Makefile (bug-regex32-ENV): Define.
83580         Patch by John Stanley <jpsinthemix@verizon.net>.
83582         * misc/Makefile (headers): Add bits/select2.h.
83583         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83584         * misc/bits/select2.h: New file.
83585         * include/bits/select2.h: New file.
83586         * debug/Makefile (routines): Add fdelt_chk.
83587         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83588         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83589         FD_ISSET.
83590         * debug/fdelt_chk.c: New file.
83592         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83593         * wcsmbs/test-wmemcmp.c: Likewise.
83594         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83595         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83597 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83599         * string/Makefile (strop-tests): Add memcmp.
83600         * string/test-wmemcmp.c: New file.
83601         * string/test-memcmp.c: Add wmemcmp support.
83603 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83605         [BZ #13153]
83606         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83607         2011-07-19 change.
83609         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83610         garbage value in a __mach_port_mod_refs call in the cases of the
83611         task-self and thread-self ports.
83613 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83615         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83617 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83619         * elf/dl-load.c (lose): Check for non-null L.
83621 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83623         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83625         * elf/dl-libc.c (dlerror_run): Pass back error code from
83626         dl_catch_error.
83628         [BZ #13123]
83629         * elf/dl-load.c (lose): Free l_origin if it is valid.
83631         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83632         names.
83633         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83634         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83635         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83636         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83637         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83638         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83640 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83642         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83643         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83644         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83645         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83646         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83647         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83648         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83649         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83650         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83651         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83653 2011-08-15  Alan Modra  <amodra@gmail.com>
83655         [BZ #13092]
83656         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83657         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83658         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83659         ppc_mcount to static-only-routines.
83660         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83661         __mcount_internal.
83662         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83663         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83665 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83667         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83668         for finite and infinity parameters.
83670 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83672         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83673         and add nop instructions for throughput optimization.
83674         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83676 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83678         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83679         aligned copy for power7 with vector-scalar instructions.
83680         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83682 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83685         AVX check.
83687 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83689         [BZ #13144]
83690         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83691         last change.
83693 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83695         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83696         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83697         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83698         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83699         clock_gettime.
83701 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83703         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83704         Forgot to demangle the pointer.
83706         * sysdeps/i386/sysdep.h: Define atom_text_section.
83707         * sysdeps/x86_64/sysdep.h: Likewise.
83708         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83709         section with atom_text_section.
83710         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83711         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83712         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83713         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83714         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83716         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83718         already be defined.  Change to take two parameters and don't assign
83719         result to variable.  Adjust all users.
83720         Define INTERNAL_GETTIME if not already defined.
83721         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83722         call.
83723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83724         HAVE_CLOCK_GETTIME_VSYSCALL.
83725         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83727         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83728         gettimeofday vsyscall, just use time.
83730 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83733         <errno.h>.
83735 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83737         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83738         syscall on x86-64.
83739         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83740         syscall.
83741         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83742         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83743         syscall if possible.
83745 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83747         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83748         e_ident.  Don't pass to find_mapsXX.
83749         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83751 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83754         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83755         * sysdeps/x86_64/multiarch/strchr.S: Update.
83756         Check bit_slow_BSF bit.
83757         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83758         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83759         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83761 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83763         [BZ #13134]
83764         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83765         before glibc 2.15.
83766         (tryshell): Define.
83767         (__spawni): Change last parameter to be flag.  Test
83768         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83769         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83770         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83771         * posix/spawni.c: Likewise.
83772         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83773         * posix/spawnp.c: Likewise.  Change normal version to use
83774         SPAWN_XFLAGS_USE_PATH.
83775         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83776         SPAWN_XFLAGS_TRY_SHELL.
83778         [BZ #13150]
83779         * posix/glob.h: Remove gcc 1.x support.
83781         [BZ #13068]
83782         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83784 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83786         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83787         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83788         strrchr-sse2-bsf
83789         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83790         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83791         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83792         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83793         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83794         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83796 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83798         * sysdeps/x86_64/wcscmp.S: New file.
83800         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83801         wcscmp-c wcscmp-sse2
83802         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83803         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83804         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83805         * wcsmbs/wcscmp.c: Allow renaming.
83807 2011-09-05  David S. Miller  <davem@davemloft.net>
83809         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83810         stack slot, rather than the struct return pointer slot.
83811         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83812         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83814         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83816 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83818         * po/ja.po: Update from translation team.
83820         [BZ #13144]
83821         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83822         kernel in 64-bit binaries.
83824 2011-09-01  David S. Miller  <davem@davemloft.net>
83826         * elf/elf.h (HWCAP_SPARC_*): Move to..
83827         * sysdeps/sparc/sysdep.h: this new file and add new values.
83828         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83829         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83830         _DL_HWCAP_COUNT to 24.
83831         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83832         entries.
83833         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83834         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83835         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83837         instead of magic constants.
83838         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83840 2011-08-31  David S. Miller  <davem@davemloft.net>
83842         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83844         Reimplement to do errno handling inline.
83845         (SYSCALL_ERROR_HANDLER): New macro.
83846         (__SYSCALL_STRING): Do not do errno handling in asm.
83847         (__CLONE_SYSCALL_STRING): Delete.
83848         (__INTERNAL_SYSCALL_STRING): Delete.
83849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83850         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83851         (PSEUDO): Reimplement to do errno handling inline.
83852         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83853         (SYSCALL_ERROR_HANDLER): New macro.
83854         (__SYSCALL_STRING): Do not do errno handling in asm.
83855         (__CLONE_SYSCALL_STRING): Delete.
83856         (__INTERNAL_SYSCALL_STRING): Delete.
83857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83858         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83859         i386.
83860         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83861         (inline_syscall*): Add 'err' argument.
83862         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83863         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83864         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83865         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83867         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83868         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83870 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83872         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83874 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83876         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83877         directive.
83879 2011-08-24  David S. Miller  <davem@davemloft.net>
83881         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83883 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83885         * elf/Makefile: Add rules to build and run unload8 test.
83886         * elf/unload8.c: New file.
83887         * elf/unload8mod1.c: New file.
83888         * elf/unload8mod1x.c: New file.
83889         * elf/unload8mod2.c: New file.
83890         * elf/unload8mod3.c: New file.
83892         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83893         it wasn't used.
83895 2011-08-23  David S. Miller  <davem@davemloft.net>
83897         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83898         subtract stack bias.
83899         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83900         %sp not %fp in calculations.
83901         (_JMPBUF_UNWINDS_ADJ): Likewise.
83903         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83904         (aio_suspend): Call it to force an exception region around the
83905         AIO_MISC_WAIT() invocation.
83907 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83909         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83910         backslash.
83912 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83914         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83915         protection macro.
83916         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83917         and <dl-machine.h>.
83918         (Elf64_FuncDesc): Remove.
83920 2011-08-22  David S. Miller  <davem@davemloft.net>
83922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83923         sigaltstack check, add missing cfi directives.
83924         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83925         missing cfi directives, and sigaltstack handling.
83927 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83929         [BZ #11724]
83930         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83931         object is seen twice.
83932         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83934         * elf/Makefile (distribute): Add tst-initorder2.c.
83935         (tests): Add tst-initorder2.
83936         (modules-names): Add tst-initorder2a tst-initorder2b
83937         tst-initorder2c tst-initorder2d.  Add rules to build them.
83938         ($(objpfx)tst-initorder2.out): New rule.
83939         * elf/tst-initorder2.c: New file.
83940         * elf/tst-initorder2.exp: New file.
83942 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83944         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83946         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83947         dependencies back to end of function.
83949         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83950         $(elfobjdir)/ld.so.
83952 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83955         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83956         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83957         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83958         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83959         of __vdso_gettimeofday.
83960         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83961         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83962         attribute_hidden.
83963         (_libc_vdso_platform_setup): Remove initialization of
83964         __vdso_gettimeofday and __vdso_time.
83966 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83968         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83969         and fgetc_unlocked.
83970         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83971         getc_unlocked.
83973         * elf/dl-open.c (add_to_global): Report additions to the global scope
83974         for LD_DEBUG=scopes.
83975         (dl_open_worker): Also print scope of newly loaded dependencies.
83976         (_dl_show_scope): Indicate if there is no scope.
83978         [BZ #13114]
83979         * stdio-common/Makefile (tests): Add bug24.
83980         * stdio-common/bug24.c: New file.
83982 2011-08-19  Andreas Jaeger  <aj@suse.de>
83984         [BZ #13114]
83985         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83986         non-existant file when using close-on-exec mode.
83988 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83991         the very first instruction.
83993         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83994         the CFI state in the end.
83995         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83996         inclusion of dl-trampoline.h.
83997         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83999 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84001         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84002         expectations for long double.
84004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84005         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84007 2011-08-14  David S. Miller  <davem@davemloft.net>
84009         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84010         artificual limit depends upon the system page size.
84012 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84014         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84015         * resolv/Makefile: Define CFLAGS-libresolv.
84017 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84019         * nss/makedb.c (compute_tables): Make variables used in nested
84020         function static.
84022 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84024         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84025         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84026         if buffer was too small.
84028         * elf/pldd.c (main): Attach to all threads in the process.
84029         Rewrite /proc handling to use *at functions.
84031 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84033         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84034         specifies first scope to show.
84035         (dl_open_worker): Update callers.  Move printing scope of new
84036         object to before the relocation.
84037         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84038         * sysdeps/generic/ldsodefs.h: Update declaration.
84040         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84041         string for the scope number.
84043 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84045         * nscd/servicescache.c (cache_addserv): Make sure written is always
84046         initialized.
84048 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84050         * sysdeps/i386/i486/bits/atomic.h
84051         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84052         statement expression, so as to suppress "set but not used" warning.
84053         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84055         * string/strncat.c (STRNCAT): Use prototype definition.
84057         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84058         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84059         -Iprograms here.
84060         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84061         (localedef-modules): Add localedef.
84062         (locale-modules): Add locale.
84064         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84065         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84066         to avoid a warning.
84068 2011-08-14  David S. Miller  <davem@davemloft.net>
84070         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84071         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84073 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84075         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84076         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84077         * elf/rtld.c (dl_main): Set l_name of vDSO.
84078         Call _dl_show_scope when DL_DEBUG_SCOPES.
84079         (process_dl_debug): Recognize scopes flag and also set it for all.
84080         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84081         Declare _dl_show_scope.
84083         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84084         (do_dlopen): Pass caller_dlopen to dl_open.
84085         (__libc_dlopen_mode): Initialize caller_dlopen.
84087         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84088         of libc.  Make tolower call locale-independent.  Optimize a bit by
84089         using isdigit instead of isalnum.
84090         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84092 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84094         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84095         was a dependency or dynamically loaded.
84097 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84099         * intl/l10nflist.c: Allow architecture-specific pop function.
84100         * sysdeps/x86_64/l10nflist.c: New file.
84102         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84103         classification.
84105 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84107         * include/dirent.h: Add libc_hidden_proto for scandirat and
84108         scandirat64.  Don't declare __scandirat64.
84109         * dirent/scandirat.c: Add libc_hidden_def.
84110         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84111         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84113 2011-08-10  David S. Miller  <davem@davemloft.net>
84115         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84116         enum.
84117         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84118         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84119         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84121 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84123         * Versions.def [libc]: Add GLIBC_2.15.
84124         * dirent/Makefile (routines): Add scandirat and scandirat64.
84125         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84126         GLIBC_2.15.
84127         * dirent/dirent.h: Declare scandirat and scandirat64.
84128         * dirent/scandirat.c: New file.
84129         * dirent/scandirat64.c: New file.
84130         * sysdeps/wordsize-64/scandirat.c: New file.
84131         * sysdeps/wordsize-64/scandirat64.c: New file.
84132         * dirent/opendir.c: Define opendirat.
84133         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84134         using scandirat.
84135         * dirent/scandir64.c: Adjust for scandir.c change.
84136         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84137         __scandirat64, and __scandir_cancel_handler.
84138         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84139         additional parameter and use openat instead of open (outside of ld.so).
84140         Add new __opendir as wrapper around __opendirat.
84141         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84142         here without requiring old scandirat implementation.
84144 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84146         * dirent/scandir.c (cancel_handler): Renamed to
84147         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84148         defined.  Adjust users.
84149         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84150         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84152 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84154         * string/test-string.h (IMPL): Use __STRING to expand name and then
84155         stringify it.
84157         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84158         of cleanups.
84160 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84162         * string/Makefile: Update.
84163         (strop-tests): Append strncat.
84164         * string/test-wcscmp.c: New file.
84165         New comprehensive test for wcscmp.
84166         * string/test-strcmp.c: Update.
84167         (WIDE): New define.
84169 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84171         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84172         line.
84174 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84177         encoding to ACE if AI_IDN.
84179 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84181         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84182         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84184 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84186         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84187         Fix overflow bug in strncat.
84188         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84190         * string/test-strncat.c: Update.
84191         Add new tests for checking overflow bugs.
84193 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84196         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84197         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84198         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84199         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84200         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84201         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84202         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84203         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84206         (USE_AS_STRCAT): Define.
84207         Add strcat and strncat support.
84208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84210 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84212         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84213         __n bigger than INT_MAX+1.
84214         (__strncmp_g): Likewise.
84216 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84218         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84219         * libio/stido.h: Likewise.
84221         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84222         (AF_NFC): Define.
84223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84224         (AF_NFC): Define.
84226         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84227         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84228         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84229         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84230         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84232         [BZ #13021]
84233         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84234         installed.
84236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84237         typo.
84238         (_dl_x86_64_save_sse): Likewise.
84240 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84242         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84243         OSXSAVE.
84244         (_dl_x86_64_save_sse): Likewise.
84246         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84248         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84250 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84253         change.
84254         (_dl_x86_64_save_sse): Use correct AVX check.
84256 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84258         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84259         bug in strncpy/strncat.
84260         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84262 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84264         * string/tester.c (test_strcat): Add tests for different alignments
84265         of source and destination.
84266         (test_strncat): Likewise.
84268 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84270         [BZ #12852]
84271         * posix/glob.c (glob): Check passed in values before using them in
84272         expressions to avoid some overflows.
84273         (glob_in_dir): Likewise.
84275         [BZ #13007]
84276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84277         check for AVX enablement so that we don't crash with old kernels and
84278         new hardware.
84279         * elf/tst-audit4.c: Add same checks here.
84280         * elf/tst-audit6.c: Likewise.
84282         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84284 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84286         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84288 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84290         * po/cs.po: Update from translation team.
84291         * po/bg.po: Likewise.
84293 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84295         * misc/sys/cdefs.h: Add support for const attribute.
84296         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84297         to gnu_dev_{major,minor,makedev} functions.
84299 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84301         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84303 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84305         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84306         strlen results.
84308 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84311         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84312         register in order to avoid conflicts with the soft frame pointer
84313         being held in r11 when necessary.
84314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84315         (INTERNAL_VSYSCALL_NCS): Likewise.
84317 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84319         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84320         * elf/dl-fini.c (_dl_fini): Adjust caller.
84321         * elf/dl-close.c (_dl_close_worker): Likewise.
84322         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84324 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84326         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84327         "aux_cache->nlibs < 0".
84329         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84330         in the reload-count case.
84332 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84335         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84336         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84337         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84338         * sysdeps/x86_64/multiarch/strcat.S: New file.
84339         * sysdeps/x86_64/multiarch/strncat.S: New file.
84340         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84341         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84342         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84343         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84344         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84345         (USE_AS_STRCAT): Define.
84346         Add strcat and strncat support.
84347         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84348         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84349         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84350         * string/strncat.c: Update.
84351         (USE_AS_STRNCAT): Define.
84352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84353         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84354         and i7.
84355         * sysdeps/x86_64/multiarch/init-arch.h
84356         (bit_Prefer_PMINUB_for_stringop): New.
84357         (index_Prefer_PMINUB_for_stringop): Likewise.
84358         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84359         bit_Prefer_PMINUB_for_stringop.
84361 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84363         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84364         buffer64.
84365         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84366         of casting of buffer.
84367         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84368         buffer32 and buffer64.
84369         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84370         writes instead of casting of buffer.
84371         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84372         buffer32.
84373         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84374         casting of buffer.
84376 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84378         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84380 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84382         * nscd/nscd.c (termination_handler): Don't do anything for a database
84383         if it has not yet been initialized.
84385 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84387         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84389 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84391         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84393 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84395         * po/nl.po: Update from translation team.
84396         * po/sv.po: Likewise.
84398 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84400         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84401         now disallowed by GCC.
84403         * configure.in (use-default-link): Default to yes if a test -shared
84404         link meets our qualifications.
84405         * configure: Regenerated.
84407         * config.make.in (output-format): New variable.
84408         * configure.in: Check for ld --print-output-format support.
84409         * configure: Regenerated.
84410         * Makerules ($(common-objpfx)format.lds)
84411         [$(output-format) != unknown]: Just use $(output-format),
84412         instead of the linker-script munging.
84414 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84416         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84417         of $(common-objpfx)shlib.lds.
84418         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84420         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84421         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84423         * configure.in (-z relro check): Adjust test code to add a large
84424         writable data section after it.
84425         * configure: Regenerated.
84427 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84429         * configure.in (-z relro check): Fix test code to make the variable
84430         truly const.
84431         * configure: Regenerated.
84433 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84435         * nscd/nscd.h (struct traced_file): Define.
84436         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84437         elements.  Add traced_files.
84438         (inotify_fd): Declare.
84439         (register_traced_file): Declare.
84440         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84441         (inotify_fd): Export.
84442         (resolv_conf_descr): Remove.
84443         (nscd_init): Move inotify descriptor creation to main.
84444         Don't register files for notification here.
84445         (register_traced_file): New function.
84446         (invalidate_cache): Don't use reset_res to determine whether to call
84447         res_init, go through the list of registered files.
84448         (main_loop_poll): The inotify descriptors are now stored in the
84449         structures for the traced files.
84450         (main_loop_epoll): Likewise.
84451         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84452         to __nss_disable_nscd.
84453         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84454         for a database anymore.  Check the records for all the registered
84455         files instead.
84456         * nss/Makefile (libnss_files-routines): Add files-init.
84457         (libnss_db-routines): Add db-init.
84458         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84459         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84460         * nss/nss_db/db-init.c: New file.
84461         * nss/nss_files/files-init.c: New file.
84462         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84463         __nss_lookup_function.
84464         (__nss_lookup_function): Call nss_load_library.
84465         (nss_load_all_libraries): New function.
84466         (__nss_disable_nscd): Take parameter with callback function for files
84467         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84468         used for the cached services.
84469         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84470         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84471         options for features to all the files in nscd.
84473         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84475 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84477         * csu/elf-init.c (__libc_csu_init): Comment typo.
84479 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84481         * po/pl.po: Update from translation team.
84482         * po/ja.po: Likewise.
84483         * po/ru.po: Likewise.
84484         * po/ko.po: Likewise.
84485         * po/fr.po: Likewise.
84487 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84489         * configure.in (.ctors/.dtors header and trailer check):
84490         Use an empirical test on a built program.
84491         * configure: Regenerated.
84493         * configure.in (-z relro check): Use an empirical test on a built DSO.
84494         Detect, but do not require, on ia64.
84495         * configure: Regenerated.
84497         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84498         Update tests that use readelf to use $READELF instead.
84499         * configure: Regenerated.
84501 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84503         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84504         if the result is not used.
84506 2011-07-05  Andreas Jaeger  <aj@suse.de>
84508         [BZ#9696]
84509         * stdlib/tst-strtod.c: Add testcase.
84511 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84513         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84514         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84515         The latter has a higher limit.  Take additional parameter to pass to
84516         the new function.
84517         (__pathconf): Pass file to __statfs_link_max.
84518         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84519         __statfs_link_max.
84520         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84521         __statfs_link_max.
84523         [BZ #12868]
84524         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84525         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84526         Handle Lustre.
84527         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84528         (__statfs_filesize_max): Likewise.
84529         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84531 2011-07-05  Andreas Jaeger  <aj@suse.de>
84533         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84535 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84537         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84538         `status' variable.
84539         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84540         Likewise.
84542 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84544         * Makefile (strop-tests): Add strncat.
84545         * string/test-strncat.c: New file.
84547 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84549         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84551 2011-06-21  Andreas Jaeger  <aj@suse.de>
84553         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84554         Copy rule from iconvdata/Makefile.
84556 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84558         [BZ #12922]
84559         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84560         but no long options are defined, just return 'W'.
84562 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84564         [BZ #9696]
84565         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84567 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84569         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84570         netgroups to read.
84571         (innetgr): Likewise.
84573 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84575         * config.make.in (install_root): Default to $(DESTDIR).
84577 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84579         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84581 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84583         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84585         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84586         containing directory rather than embedding absolute directory names.
84588         * scripts/check-local-headers.sh: Rewritten using awk.
84589         Match by word, not by line.  Print error messages for matches.
84590         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84592         * Makerules [shlib-lds-flags empty]:
84593         ($(common-objpfx)libc_pic.opts): New target.
84594         ($(common-objpfx)libc_pic.os.clean): New target.
84595         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84597         * config.make.in (OBJCOPY): New variable.
84598         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84599         * configure: Regenerated.
84601         * config.make.in (use-default-link): New variable.
84602         * configure.in (use_default_link): Grok --with-default-link to set it.
84603         * configure: Regenerated.
84604         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84605         (shlib-lds, shlib-lds-flags): Define to empty.
84607         * Makerules (shlib-lds): New variable.
84608         (shlib-lds-flags): New variable.
84609         (build-shlib, build-moduile, build-module-asneeded): Use it.
84610         ($(common-objpfx)libc.so): Use $(shlib-lds).
84611         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84612         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84614         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84615         DT_FLAGS/DT_FLAGS_1 with zero flags.
84617         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84618         linker script munging.
84620 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84622         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84623         as 128-bit value.
84624         * crypt/sha512.c (sha512_process_block): Perform total addition using
84625         128-bit if possible.
84626         (__sha512_finish_ctx): Likewise.
84627         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84628         as 64-bit value.
84629         * crypt/sha256.c (SWAP64): Define.
84630         (sha256_process_block): Perform total addition using 64-bit if
84631         possible.
84632         (__sha256_finish_ctx): Likewise.
84634 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84636         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84638         * nscd/hstcache.c (cache_addhst): Likewise.
84639         * nscd/grpcache.c (cache_addgr): Likewise.
84640         * nscd/aicache.c (addhstaiX): Likewise.
84641         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84643 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84645         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84646         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84647         * nscd/hstcache.c (cache_addhst): Likewise.
84648         * nscd/grpcache.c (cache_addgr): Likewise.
84649         * nscd/aicache.c (addhstaiX): Likewise.
84651 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84653         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84654         domain only when needed.
84656 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84659         is always restored.
84661 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84663         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84664         are re-adding the entry.
84665         * nscd/servicescache.c (cache_addserv): Likewise.
84667 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84669         * sysdeps/generic/dl-irel.h: fix protection against multiple
84670         inclusions.
84671         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84673 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84675         [BZ #12935]
84676         * malloc/memusage.sh: Fix quoting in message.
84677         * debug/xtrace.sh: Likewise.
84679         * configure.in: Remove support for --experimental-malloc option, make
84680         it the default.
84681         * config.make.in: Likewise.
84682         * malloc/Makefile: Likewise.
84684 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84686         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84687         two-byte characters.
84689 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84691         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84692         AC_CACHE_CHECK invocation.
84693         * configure: Regenerated.
84695         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84697 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84699         [BZ #12350]
84700         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84701         bit from old_res_options.
84703         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84705         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84706         value type for setfct.
84708 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84711         __gettimeofday instead of gettimeofday.
84713 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84715         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84717 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84719         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84721         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84722         info.
84724 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84727         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84728         strcpy-sse2-unaligned strncpy-sse2-unaligned
84729         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84730         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84731         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84732         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84733         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84734         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84735         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84736         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84737         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84738         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84739         (STRCPY): Support SSE2 and SSSE3 versions.
84741 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84743         [BZ #12874]
84744         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84745         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84746         kernels which artificially limit size of requests.
84748 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84751         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84752         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84753         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84754         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84755         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84756         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84757         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84758         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84760         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84761         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84762         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84763         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84764         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84766         Enable unaligned load optimization for Intel Core i3, i5 and i7
84767         processors.
84768         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84769         Define.
84770         (index_Fast_Unaligned_Load): Define.
84771         (HAS_FAST_UNALIGNED_LOAD): Define.
84773 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84775         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84777 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84779         [BZ #12907]
84780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84781         until it is clear that the information is realy needed.
84782         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84784 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84788 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84790         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84791         /sys/devices/system/cpu/online if it is usable.
84793         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84794         reading the information from the /proc filesystem to once a second.
84796 2011-06-21  Andreas Jaeger  <aj@suse.de>
84798         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84799         NULL after inclusion of kernel headers.
84801 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84803         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84804         calls to internal_setent.
84806         [BZ #12885]
84807         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84808         addresses using gethostbyname4_r ignore IPv4 addresses.
84810         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84811         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84813         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84815 2011-06-20  David S. Miller  <davem@davemloft.net>
84817         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84818         inclusions.
84819         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84821         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84822         (elf_irel): Use it.
84823         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84824         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84825         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84826         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84827         * sysdeps/x86_64/dl-irel.h: Likewise.
84829         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84830         * elf/dl-sym.c: Likewise.
84832 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84834         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84835         need to dereference resplen2.
84837 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84839         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84841 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84843         * Makeconfig: Define vardbdir and inst_vardbdir.
84844         * nss/Makefile: Add rules to install db-Makefile.
84846         * nss/nss_db/db-XXX.c: Cleanup.
84848         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84849         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84850         GLIBC_PRIVATE.
84851         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84852         * nss/makedb.c: Implement -g option to specify that value strings
84853         are generated and should not be added to table iterated over for
84854         get*ent calls.
84855         * nss/nss_db/db-initgroups.c: New file.
84857         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84858         interface.
84860         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84861         (internal_getgrouplist): Adjust to name change.
84862         Update use_initgroups_entry if this is not the first call.
84863         * nss/databases.def: Add initgroups entry.
84865         * nss/makedb.c (compute_tables): Check result of multiple hash table
84866         sizes to minimize maximum chain length.
84868 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84870         * Versions.def: Add entry for libnss_db.
84871         * shlib-versions: Likewise.
84872         * nss/Makefile: Add rules to build libnss_db.
84873         * nss/Versions: Add libnss_db information.  Organize libnss_files
84874         entries better.
84875         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84876         makedb progra.  Some minor improvements to generate smaller files.
84877         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84878         here from...
84879         * nss/makedb.c: ...here.
84880         Improve database format to be smaller and require less memory at
84881         runtime.
84882         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84883         db anymore.
84884         * nss/nss_db/db-netgrp.c: Likewise.
84885         * nss/nss_db/db-open.c: Likewise.
84886         * nss/nss_files/flies-XXX.x: Adjust comments.
84887         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84888         * nss/nss_files/files-grp.c: Likewise.
84889         * nss/nss_files/files-hosts.c: Likewise.
84890         * nss/nss_files/files-network.c: Likewise.
84891         * nss/nss_files/files-proto.c: Likewise.
84892         * nss/nss_files/files-pwd.c: Likewise.
84893         * nss/nss_files/files-rpc.c: Likewise.
84894         * nss/nss_files/files-service.c: Likewise.
84895         * nss/nss_files/files-sgrp.c: Likewise.
84896         * nss/nss_files/files-spwd.c: Likewise.
84897         * nss/nss_db/db-alias.c: Removed.
84898         * nss/nss_db/dummy-db.h: Removed.
84900 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84902         * nss/makedb.c: Rewritten to not use database library.
84903         * nss/Makefile: Update to build new makedb program.
84905 2011-06-14  Andreas Jaeger  <aj@suse.de>
84907         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84908         memset declaration.
84910 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84913         tmpbuf.
84915 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84917         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84918         * elf/Makefile ($(objpfx)ld.so): Likewise.
84920         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84921         Don't list ld.so twice in dependencies.
84923         * posix/bug-regex31.c: Include <stdlib.h>.
84925         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84927         * nis/nss_compat/compat-spwd.c
84928         (getspent_next_nss_netgr): Remove unused variable.
84929         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84931         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84932         nonmembers" output to use the right array.
84934         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84936         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84938         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84939         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84940         * catgets/gencat.c (read_input_file): Likewise.
84941         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84943         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84944         variable definition inside #if's controlling its use.
84946         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84948         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84950         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84952         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84953         unreachable code.
84955         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84957         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84958         * configure: Regenerated.
84960         * Makerules: Revert last change.
84961         * elf/Makefile: Likewise.
84963 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84965         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84966         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84967         (reloc-link): Likewise.
84969 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84971         * elf/Makefile: Add rules to build pldd.
84972         * elf/pldd.c: New file.
84973         * elf/pldd-xx.c: New file.
84975 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84977         * version.h: Update for 2.15 development version.
84979 2011-06-07  David S. Miller  <davem@davemloft.net>
84981         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84982         ifuncs.
84983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84984         elf_machine_lazy_rel): Likewise.
84985         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84986         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84987         elf_machine_lazy_rel): Likewise.
84988         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84989         dl_hwcap via passed in argument.
84990         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84991         Likewise.
84993 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84995         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84997 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84999         [BZ #12849]
85000         * manual/fdl-1.1.texi: New file, verbatim from:
85001         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85002         * manual/lgpl-2.1.texi: New file, verbatim from:
85003         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85004         * manual/Makefile (licenses): New variable, list those new file names.
85005         (texis): Use it.
85006         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85008         * manual/fdl.texi: File removed.
85009         * manual/lesser.texi: File removed.
85010         * manual/libc.texinfo (Copying, Documentation License):
85011         Use new @include file names, put @appendix directive before @include.
85013 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85015         [BZ #12841]
85016         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85017         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85018         (mq_open): Add __NTH.
85020 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85023         Assume Intel Core i3/i5/i7 processor if AVX is available.
85025 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85027         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85028         typo.
85030 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85032         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85033         memory.  Use alloca_account.  Fix memory leak when retrying.
85035 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85037         * version.h (RELEASE): Bump for 2.14 release.
85038         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85040         * config.make.in (RANLIB): Remove entry.
85042 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85044         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85045         (libc.pot): Work around missing support for .ksh extension in xgettext.
85047         [BZ #12684]
85048         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85049         if both request failed.
85050         (send_dg): In case of server errors clear resplen or *resplen2.
85052         [BZ #12454]
85053         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85054         when there are multiple maps.
85055         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85056         (_dl_fini): Remove test here.
85058         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85060 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85062         [BZ #12350]
85063         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85064         bit from old_res_options.
85065         (gaih_inet): Likewise.
85067         [BZ #11099]
85068         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85069         as signed.
85071         * resolv/res_init.c (res_setoptions): Make the code more compact.
85073         [BZ #11558]
85074         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85075         set RES_USEVC.
85077         [BZ #11634]
85078         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85080         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85082         [BZ #11781]
85083         * malloc/malloc.h: Declare malloc hook variables as volatile.
85085         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85086         in last patch.
85088         [BZ #11799]
85089         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85090         raise in the comment.
85091         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85093         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85095 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85097         [BZ #12811]
85098         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85099         grow the buffers more if it already has to be sufficient.
85100         (build_wcs_upper_buffer): Likewise.
85101         * posix/regexec.c (check_matching): Likewise.
85102         (clean_state_log_if_needed): Likewise.
85103         (extend_buffers): Don't enlarge buffers beyond size of the input
85104         buffer.
85105         Patches mostly by Emil Wojak <emil@wojak.eu>.
85106         * posix/bug-regex32.c: New file.
85107         * posix/Makefile (tests): Add bug-regex32.
85109         * locale/findlocale.c (_nl_find_locale): Return right away if
85110         _nl_explode_name failed.
85111         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85113         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85115         * debug/xtrace.sh: Unify messages.
85116         * malloc/memusage.sh: Likewise.
85118         [BZ #12813]
85119         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85120         time symbol from vDSO.  Substitute with vsyscall if not available.
85121         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85122         __vdso_time.
85124         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85125         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85126         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85127         Add sendmmsg and internal_sendmmsg.
85128         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85129         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85130         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85132         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85133         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85134         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85136 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85138         [BZ #12813]
85139         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85140         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85141         available.
85142         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85143         __vdso_getcpu.
85145         [BZ #12814]
85146         * iconvdata/Makefile (tests): Add bug-iconv9.
85147         * iconvdata/bug-iconv9.c: New file.
85149 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85151         [BZ #12814]
85152         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85154 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85156         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85157         (struct user_regs_struct): Change intcs field back to cs.
85159 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85161         * po/ja.po: Update from translation team.
85163 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85165         [BZ #12795]
85166         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85167         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85169 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85171         * stdlib/longlong.h: Update from GCC.
85173 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85175         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85176         parameter name.
85177         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85178         Add parameter name.
85179         (__sysconf): Pass it down.
85181 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85183         [BZ #12671]
85184         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85185         some situations.
85186         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85187         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85188         add in in __libc_use_alloca calls.  Adjust callers.
85189         (glob): Use malloc in some situations.
85191         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85192         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85193         pltexit.
85195 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85197         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85198         and CLOCK_BOOTTIME_ALARM.
85200         [BZ #12782]
85201         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85202         is returned.
85204         * string/_strerror.c (__strerror_r): Print negative errors as signed
85205         numbers.
85207         [BZ #12777]
85208         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85209         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85210         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85212         * configure.in: Fix typo in redirection and correct removal of test
85213         files in two cases.
85215         [BZ #12788]
85216         * locale/setlocale.c (new_composite_name): Fix test to check for
85217         identical name of all categories.
85219         [BZ #12792]
85220         * libio/filedoalloc.c (local_isatty): New function.
85221         (_IO_file_doallocate): Use local_isatty.
85222         * stdio-common/perror.c (perror): In case a new stream is used
85223         forward the stream error.
85224         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85225         error flag.
85227 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85229         [BZ #11884]
85230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85231         alloca.
85232         * include/alloca.h (extend_alloca_account): Define.
85234         [BZ #11857]
85235         * posix/regex.h: Fix comments with documentation of user-accessible
85236         fields after compilation and describe correct free'ing of pattern
85237         after re_compile_pattern.
85238         Patch by Reuben Thomas <rrt@sc3d.org>.
85240 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85242         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85243         and -mno-altivec to prevent the compiler from using Altivec and/or
85244         VSX instructions when the corresponding registers are not available.
85246 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85248         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85250 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85252         * libio/freopen.c (freopen): Use __dup2, not dup2.
85253         * libio/freopen64.c (freopen64): Likewise.
85255 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85257         [BZ #12775]
85258         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85259         * math/Makefile (tests): Add test-powl.
85260         (CFLAGS-test-powl.c): Define.
85261         * math/test-powl.c: New file.
85263 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85265         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85267 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85269         [BZ #11837]
85270         * iconvdata/gb18030.c: Update to GB18020-2005.
85272 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85274         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85275         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85276         Patch by Aharon Robbins <arnold@skeeve.com>.
85278         [BZ #11892]
85279         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85280         on the stack.
85282         [BZ #11895]
85283         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85284         through underflows.
85286         [BZ #12766]
85287         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85288         point to strings before performing equality test for error_one_per_line
85289         mode.
85291         [BZ #11697]
85292         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85294         [BZ #11820]
85295         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85296         (struct user_fpregs_struct): Avoid __uint*_t types.
85298         [BZ #6420]
85299         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85300         symbol info.  Use it instead of calling _dl_addr locally.
85301         (lock_and_info): New function.
85302         (tr_freehook): Call lock_and_info and pass symbol info as additional
85303         parameter to tr_where.
85304         (tr_mallochook): Likewise.
85305         (tr_reallochook): Likewise.
85306         (tr_memalignhook): Likewise.
85308         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85309         used and couldn't be at all thread-safe.
85311 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85313         * libio/freopen.c (freopen): Don't close old file descriptor
85314         before the new one is opened.  Instead dup the new file descriptor
85315         to the old one after the new stream is created.
85316         * libio/freopen64.c (freopen64): Likewise.
85317         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85318         * libio/fileops.c (_IO_new_file_close_it): Handle new
85319         _IO_FLAGS2_NOCLOSE flag.
85320         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85321         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85322         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85323         _IO_FLAGS2_NOCLOSE flag.
85324         * include/unistd.h: Add hidden_proto for dup3.
85325         Define __have_dup3.
85326         * io/dup3.c: Define hidden symbol.
85327         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85329         [BZ #7101]
85330         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85331         when an incomplete long option is used.
85332         * posix/tst-getopt_long1.c: New file.
85333         * posix/Makefile (tests): Add tst-getopt_long1.
85335         [BZ #10138]
85336         * scripts/config.guess: Update from autoconf-2.68.
85337         * scripts/config.sub: Likewise.
85339         [BZ #10157]
85340         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85341         tests into ...
85342         (has_cpuclock): ...this.  New function.
85343         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85344         macro here based on has_cpuclock code.
85346         [BZ #10149]
85347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85348         First byte (not low byte) is now always NUL.
85349         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85352         Use non-cancelable interfaces.
85354         [BZ #9809]
85355         * locale/iso-639.def: Add entry for Sorani.
85357         [BZ #11901]
85358         * include/stdlib.h: Move include protection to the right place.
85359         Define abort_msg_s.  Declare __abort_msg with it.
85360         * stdlib/abort.c (__abort_msg): Adjust type.
85361         * assert/assert.c (__assert_fail_base): New function.  Majority
85362         of code from __assert_fail.  Allocate memory for __abort_msg with
85363         mmap.
85364         (__assert_fail): Now call __assert_fail_base.
85365         * assert/assert-perr.c: Remove bulk of implementation.  Use
85366         __assert_fail_base.
85367         * include/assert.hL Declare __assert_fail_base.
85368         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85369         mmap.
85370         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85372 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85374         [BZ #11952]
85375         [BZ #12453]
85376         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85377         until all modules are registered in the DTV.
85378         * elf/Makefile: Add rules to build and run tst-tls19.
85379         * elf/tst-tls19.c: New file.
85380         * elf/tst-tls19mod1.c: New file.
85381         * elf/tst-tls19mod2.c: New file.
85382         * elf/tst-tls19mod3.c: New file.
85383         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85385         [BZ #12083]
85386         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85387         correctly.
85389         [BZ #12601]
85390         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85391         two-byte sequence errors.
85392         * iconvdata/Makefile (tests): Add bug-iconv8.
85393         * iconvdata/bug-iconv8.c: New file.
85395         [BZ #12626]
85396         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85397         buf2 definition.
85399         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85401         [BZ #12432]
85402         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85403         (dummy_getcfa): New function.
85404         (init): Get _Unwind_GetCFA address, use dummy if not found.
85405         (backtrace_helper): In recursion check, also check whether CFA changes.
85406         (__backtrace): Completely initialize arg.
85408         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85409         storing incomplete byte sequence in state object.  Avoid testing for
85410         guaranteed too small input if we know there is enough data available.
85412 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85414         * Makeconfig (+link-pie): Indent.
85415         * Rules (binaries-pie): Define if $(have-fpie) and
85416         $(build-shared).
85417         (binaries-shared): Also filter out $(binaries-pie).
85418         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85419         * nscd/Makefile (others-pie): Add nscd.
85420         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85421         ($(objpfx)nscd): Remove command override.
85422         * login/Makefile (others-pie): Add pt_chown.
85423         ($(objpfx)pt_chown): Remove command override.
85424         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85425         remove command overrides.
85427 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85429         * libio/tst_putwc.c: Fix error messages.
85431         [BZ #12724]
85432         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85433         currently writing and seek to current position when not.
85434         * libio/Makefile (tests): Add bug-fclose1.
85435         * libio/bug-fclose1.c: New file.
85437 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85439         [BZ #12511]
85440         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85441         don't set DF_1_NODELETE here.
85442         (do_lookup_x): When entering new entry test for copy relocation
85443         and if necessary set DF_1_NODELETE flag.
85444         * elf/tst-unique4.cc: New file.
85445         * elf/tst-unique4.h: New file.
85446         * elf/tst-unique4lib.cc: New file.
85447         * elf/Makefile: Add rules to build and run tst-unique4.
85448         Patch by Piotr Bury <pbury@goahead.com>.
85450 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85452         [BZ #12052]
85453         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85455         [BZ #12625]
85456         * misc/mntent_r.c (addmntent): Flush the stream after the output
85458         [BZ #12393]
85459         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85460         (is_trusted_path_normalize): Skip initial colon.  Append slash
85461         to empty buffer.  Duplicate is_trusted_path code but allow
85462         constructed patch to be prefix.
85463         (is_dst): Allow $ORIGIN followed by /.
85464         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85465         Correct testing of result of is_trusted_path_normalize
85466         (decompose_rpath): Fix warning.
85468 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85470         [BZ #11257]
85471         * grp/initgroups.c (internal_getgrouplist): When we found the service
85472         list through the initgroups entry in nsswitch.conf do not always
85473         continue on a successful lookup.  Don't always use the
85474         __nss_group_database value if it is set.
85475         * nss/nsswitch.conf (initgroups): Change action for successful db
85476         lookup to continue for compatibility.
85478 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85480         [BZ #11532]
85481         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85482         and CP774 modules.
85483         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85484         and CP774 modules.
85485         * iconvdata/tst-tables.sh: Likewise.
85486         * iconvdata/cp770.c: New file.
85487         * iconvdata/cp771.c: New file.
85488         * iconvdata/cp772.c: New file.
85489         * iconvdata/cp773.c: New file.
85490         * iconvdata/cp774.c: New file.
85491         * iconvdata/testdata/CP770: New file.
85492         * iconvdata/testdata/CP770..UTF8: New file.
85493         * iconvdata/testdata/CP771: New file.
85494         * iconvdata/testdata/CP771..UTF8: New file.
85495         * iconvdata/testdata/CP772: New file.
85496         * iconvdata/testdata/CP772..UTF8: New file.
85497         * iconvdata/testdata/CP773: New file.
85498         * iconvdata/testdata/CP773..UTF8: New file.
85499         * iconvdata/testdata/CP774: New file.
85500         * iconvdata/testdata/CP774..UTF8: New file.
85502         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85503         END CHARMAP line.
85504         * iconvdata/gen-8bit-gap.sh: Likewise.
85505         * iconvdata/gen-8bit.sh: Likewise.
85507         * locale/iso-639.def: Add ary entry.
85509         [BZ #11258]
85510         * locale/C-translit.h.in: Add U20A1 transliteration.
85512         [BZ #12178]
85513         * locale/iso-639.def: Add wae entry.
85514         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85516         [BZ #12545]
85517         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85518         for n.
85520         [BZ #12711]
85521         * locale/C-translit.h.in: Add entry for U20B9.
85522         Patch by pravin.d.s@gmail.com.
85524 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85526         [BZ #12713]
85527         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85528         ENAMETOOLONG use generic getcwd.
85529         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85530         in rtld.  Use *stat64.
85531         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85532         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85533         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85534         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85535         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85536         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85537         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85538         __fstatat64 macros.
85539         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85540         * dirent/rewinddir.c: Add libc_hidden_def.
85541         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85542         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85544         * include/dirent.h (__alloc_dir): Add flags parameter.
85545         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85546         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85547         __alloc_dir.
85548         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85549         from fdopendir if O_CLOEXEC is already set.
85551 2011-03-15  Alan Modra  <amodra@gmail.com>
85553         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85554         l_tls_firstbyte_offset non-zero.  Save padding offset in
85555         l_tls_firstbyte_offset for later use.
85556         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85557         freeing static tls block.
85559 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85561         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85562         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85563         being defined by the kernel headers.
85565 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85567         [BZ #12734]
85568         * resolv/resolv.h: Define RES_NOTLDQUERY.
85569         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85570         no-tld-query and set RES_NOTLDQUERY.
85571         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85572         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85573         modern BIND to search name as TLD unless forbidden.
85575 2011-05-07  Petr Baudis  <pasky@suse.cz>
85576             Ulrich Drepper  <drepper@gmail.com>
85578         [BZ #12393]
85579         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85580         (is_trusted_path): ...to here.
85581         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85582         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85583         using is_trusted_path_normalize() in setuid scripts.
85585 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85587         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85588         __BEGIN/__END_DECLS.
85590 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85592         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85593         NSS_STATUS_NOTFOUND if no record was found.
85595 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85597         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85598         (headers-not-in-tirpc): Remove rpc/netdb.h
85599         * resolv/netdb.h: Revert last change.
85601 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85603         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85604         circular dependency between libgcc.a and libc.a.
85606 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85608         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85609         * nis/Makefile: Don't install rpcsvc/*.
85610         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85611         instead of <rpc/types.h>.
85612         (MAXHOSTNAMELEN): Define.
85614 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85616         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85618 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85620         [BZ #12714]
85621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85622         gethostbyname4_r when IPv6 results are possible.
85624 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85626         [BZ #12723]
85627         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85628         _PC_PIPE_BUF handling.
85630 2011-04-30  Bruno Haible  <bruno@clisp.org>
85632         [BZ #12717]
85633         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85634         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85635         to 'int'.
85636         * inet/getnameinfo.c (getnameinfo): Likewise.
85638 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85640         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85641         to groups setting in database lookup.
85642         * nss/nsswitch.conf: Add initgroups entry.
85644 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85646         [BZ #12685]
85647         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85648         mode string.
85649         Patch by Eric Blake <eblake@redhat.com>.
85651 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85653         * sunrpc/Makefile (need-export-routines): Add svc_run.
85654         (routines): Remove svc_run.
85655         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85656         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85657         * sunrpc/svc_run.c (svc_run): Likewise.
85658         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85660 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85662         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85663         problem in reallocation in last patch.
85665 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85667         * sunrpc/Makefile: Move inclusion of Rules.
85669 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85671         * nss/nss_files/files-initgroups.c: New file.
85672         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85673         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85674         _nss_files_initgroups_dyn.
85676 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85678         * elf/elf.h (R_ARM_IRELATIVE): Define.
85680 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85682         * po/ru.po: Update from translation team.
85684 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85686         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85687         dependencies.
85689 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85691         [BZ #12653]
85692         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85693         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85694         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85695         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85696         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85698 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85700         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85701         differing bytes.
85702         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85703         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85706 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85708         [BZ #12420]
85709         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85710         storing it.
85711         * stdlib/bug-getcontext.c: New file.
85712         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85714 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85716         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85717         instructions into .machine "z9-109".
85718         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85719         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85721 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85723         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85724         between environment variables and auxiliary vector.
85726 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85728         * Makefile: Add rules to build linkobj/libc.so.
85729         * include/libc-symbols.h: Define libc_hidden_nolink.
85730         * include/rpc/auth.h: Mark functions which are to be hidden.
85731         * include/rpc/auth_des.h: Likewise.
85732         * include/rpc/auth_unix.h: Likewise.
85733         * include/rpc/clnt.h: Likewise.
85734         * include/rpc/des_crypt.h: Likewise.
85735         * include/rpc/key_prot.h: Likewise.
85736         * include/rpc/pmap_clnt.h: Likewise.
85737         * include/rpc/pmap_prot.h: Likewise.
85738         * include/rpc/pmap_rmt.h: Likewise.
85739         * include/rpc/rpc_msg.h: Likewise.
85740         * include/rpc/svc.h: Likewise.
85741         * include/rpc/svc_auth.h: Likewise.
85742         * include/rpc/xdr.h: Likewise.
85743         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85744         * nss/Makefile: Likewise.
85745         * sunrpc/Makefile: Don't install headers.  Build library with normal
85746         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85747         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85748         for the compat linking library.  Remove use of INTDEF/INTUSE.
85749         * sunrpc/auth_none.c: Likewise.
85750         * sunrpc/auth_unix.c: Likewise.
85751         * sunrpc/authdes_prot.c: Likewise.
85752         * sunrpc/authuxprot.c: Likewise.
85753         * sunrpc/clnt_gen.c: Likewise.
85754         * sunrpc/clnt_perr.c: Likewise.
85755         * sunrpc/clnt_raw.c: Likewise.
85756         * sunrpc/clnt_simp.c: Likewise.
85757         * sunrpc/clnt_tcp.c: Likewise.
85758         * sunrpc/clnt_udp.c: Likewise.
85759         * sunrpc/clnt_unix.c: Likewise.
85760         * sunrpc/des_crypt.c: Likewise.
85761         * sunrpc/des_soft.c: Likewise.
85762         * sunrpc/get_myaddr.c: Likewise.
85763         * sunrpc/key_call.c: Likewise.
85764         * sunrpc/key_prot.c: Likewise.
85765         * sunrpc/netname.c: Likewise.
85766         * sunrpc/pm_getmaps.c: Likewise.
85767         * sunrpc/pm_getport.c: Likewise.
85768         * sunrpc/pmap_clnt.c: Likewise.
85769         * sunrpc/pmap_prot.c: Likewise.
85770         * sunrpc/pmap_prot2.c: Likewise.
85771         * sunrpc/pmap_rmt.c: Likewise.
85772         * sunrpc/publickey.c: Likewise.
85773         * sunrpc/rpc_cmsg.c: Likewise.
85774         * sunrpc/rpc_common.c: Likewise.
85775         * sunrpc/rpc_dtable.c: Likewise.
85776         * sunrpc/rpc_prot.c: Likewise.
85777         * sunrpc/rpc_thread.c: Likewise.
85778         * sunrpc/rtime.c: Likewise.
85779         * sunrpc/svc.c: Likewise.
85780         * sunrpc/svc_auth.c: Likewise.
85781         * sunrpc/svc_authux.c: Likewise.
85782         * sunrpc/svc_raw.c: Likewise.
85783         * sunrpc/svc_run.c: Likewise.
85784         * sunrpc/svc_simple.c: Likewise.
85785         * sunrpc/svc_tcp.c: Likewise.
85786         * sunrpc/svc_udp.c: Likewise.
85787         * sunrpc/svc_unix.c: Likewise.
85788         * sunrpc/svcauth_des.c: Likewise.
85789         * sunrpc/xcrypt.c: Likewise.
85790         * sunrpc/xdr.c: Likewise.
85791         * sunrpc/xdr_array.c: Likewise.
85792         * sunrpc/xdr_float.c: Likewise.
85793         * sunrpc/xdr_intXX_t.c: Likewise.
85794         * sunrpc/xdr_mem.c: Likewise.
85795         * sunrpc/xdr_rec.c: Likewise.
85796         * sunrpc/xdr_ref.c: Likewise.
85797         * sunrpc/xdr_sizeof.c: Likewise.
85798         * sunrpc/xdr_stdio.c: Likewise.
85800 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85802         [BZ #12650]
85803         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85804         * sysdeps/ia64/dl-tls.h: Likewise.
85805         * sysdeps/powerpc/dl-tls.h: Likewise.
85806         * sysdeps/s390/dl-tls.h: Likewise.
85807         * sysdeps/sh/dl-tls.h: Likewise.
85808         * sysdeps/sparc/dl-tls.h: Likewise.
85809         * sysdeps/x86_64/dl-tls.h: Likewise.
85810         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85812 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85814         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85815         rpath element also skip the following colon.
85816         (expand_dynamic_string_token): Add is_path parameter and pass
85817         down to DL_DST_REQUIRED and _dl_dst_substitute.
85818         (decompose_rpath): Call expand_dynamic_string_token with
85819         non-zero is_path.  Ignore empty rpaths.
85820         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85821         with zero is_path.
85823 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85826         Make cancelable.
85828 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85830         [BZ #12655]
85831         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85832         Patch by Filipe David Manana <fdmanana@apache.org>.
85834 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85837         Maintain aligned stack.
85838         (CHECK_RSP): Remove unused macro.
85840 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85842         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85843         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85845 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85847         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85849         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85851 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85853         [BZ #12518]
85854         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85855         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85856         * sysdeps/x86_64/memmove.c: New file.
85857         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85858         (memcpy): Renamed to ...
85859         (__new_memcpy): This.
85860         (memcpy): Provide GLIBC_2_14 memcpy.
85861         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85862         (memcpy): Provide GLIBC_2_2_5 memcpy.
85864 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85866         [BZ #12631]
85867         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85869 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85871         * misc/syncfs.c: New file.
85872         * misc/Makefile (routines): Add syncfs.
85873         * posix/unistd.h: Declare syncfs.
85874         * sysdeps/unix/syscalls.list: Add syncfs.
85876 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85878         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85879         open_by_handle_at.
85880         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85881         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85883         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85885         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85886         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85888 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85890         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85891         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85892         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85893         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85894         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85896         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85898         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85899         sync_file_range.c with -fexceptions.
85900         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85901         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85902         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85903         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85904         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85905         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85906         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85907         sync_file_range as cancellation point
85908         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85909         now a wrapper around __call_sync_file_range with cancellation handling.
85910         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85911         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85912         function name to __call_sync_file_range.
85913         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85914         Add call_sync_file_range.
85916 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85919         bits/timex.h.
85921 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85923         * iconv/iconv.h: Fix typo in comment.
85924         * io/fcntl.h: Likewise.
85925         * libio/stdio.h: Likewise.
85926         * posix/spawn.h: Likewise.
85927         * posix/unistd.h: Likewise.
85928         * stdlib/stdlib.h: Likewise.
85929         * time/time.h: Likewise.
85930         * wcsmbs/wchar.h: Likewise.
85932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85933         open_by_handle): Add.
85934         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85935         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85936         Augment a few comments.
85937         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85939         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85941         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85942         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85943         open_by_handle.
85945         * io/fcntl.h (AT_EMPTY_PATH): Define.
85947 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85949         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85950         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85951         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85952         to...
85953         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85954         * Versions.def: Add GLIBC_2.14.
85955         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85956         Export.
85958 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85960         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85961         round counter.
85962         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85964 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85966         [BZ #12597]
85967         * string/test-strncmp.c (do_page_test): New function.
85968         (check2): Likewise.
85969         (test_main): Call check2.
85970         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85972 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85974         [BZ #12587]
85975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85976         Handle cache information in CPU leaf 4.
85977         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85979 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85981         [BZ #12583]
85982         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85983         character representation.
85984         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85986 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85988         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85989         END(__isnan) to END(__isnanf) to match function entry point/label
85990         EALIGN(__isnanf,...).
85992 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85994         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85996 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85998         [BZ #12510]
85999         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86000         copy from the symbol referenced in the relocation to initialize the
86001         used variable.
86002         Patch by Piotr Bury <pbury@goahead.com>.
86003         * elf/Makefile: Add rules to build and tst-unique3.
86004         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86005         * elf/tst-unique3.cc: New file.
86006         * elf/tst-unique3.h: New file.
86007         * elf/tst-unique3lib.cc: New file.
86008         * elf/tst-unique3lib2.cc: New file.
86010         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86012 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86014         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86015         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86016         to _start.
86018 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86020         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86021         to-be-loaded object along a path to loader is ld.so.
86023 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86024             Ulrich Drepper  <drepper@gmail.com>
86026         * sysdeps/x86_64/memset.S: After aligning destination, code
86027         branches to different locations depending on the value of
86028         misalignment, when multiarch is enabled. Fix this.
86030 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86032         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86033         Set _x86_64_preferred_memory_instruction for AMD processsors.
86034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86035         Set bit_Prefer_SSE_for_memop for AMD processors.
86037 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86039         * libio/fmemopen.c (fmemopen): Optimize a bit.
86041 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86043         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86045 2011-03-03  Roland McGrath  <roland@redhat.com>
86047         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86049 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86051         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86052         __bzero_ultra1 instead of __memset_ultra1.
86054 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86055             Ulrich Drepper  <drepper@gmail.com>
86057         [BZ #12509]
86058         * include/link.h (struct link_map): Add l_orig_initfini.
86059         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86060         returning unsuccessfully.
86061         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86062         close of a file loaded at startup, restore the original l_initfini
86063         list.
86064         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86065         list, store the pointer.
86066         * elf/Makefile ($(objpfx)noload-mem): New rule.
86067         (noload-ENV): Define.
86068         (tests): Add $(objpfx)noload-mem.
86069         * elf/noload.c: Include <memcheck.h>.
86070         (main): Call mtrace.  Close all opened handles.
86072 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86074         [BZ #12454]
86075         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86076         dependencies are missing.
86078 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86080         Fix __if_freereq crash: Unlike the generic version which uses free,
86081         Hurd needs munmap.
86082         * sysdeps/mach/hurd/ifreq.h: New file.
86084 2011-01-27  Petr Baudis  <pasky@suse.cz>
86085             Ulrich Drepper  <drepper@gmail.com>
86087         [BZ 12445]#
86088         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86089         to extend_alloca().
86090         * stdio-common/bug23.c: New file.
86091         * stdio-common/Makefile (tests): Add bug23.
86093 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86094             Ulrich Drepper  <drepper@gmail.com>
86096         [BZ #12489]
86097         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86098         before performing relro protection.  At old place add assertion
86099         to make sure nothing changed.
86101 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86102             Glauber de Oliveira Costa  <glommer@gmail.com>
86104         * elf/elf.h: Add new ARM TLS relocs.
86106 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86109         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86110         cast from r3.
86111         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86112         'tests' variable.
86113         * sysdeps/wordsize-64/tst-writev.c: New file.
86115 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86117         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86118         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86119         insns in _dl_start to prevent a TOC reference before relocs are
86120         resolved.
86122 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86124         [BZ #12469]
86125         * Makeconfig: Remove RANLIB definition.
86126         * Makerules: Don't use RANLIB.
86127         * aclocal.m4: Remove ranlib test.
86128         * configure.in: No need to check for ranlib.
86129         * elf/rtld-Rules: Don't use RANLIB.
86131 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86133         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86134         protection macro.
86135         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86136         inclusion protection macro.
86138         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86139         SIGRTMIN and SIGRTMAX and print information in that case only when
86140         SIGRTMIN is defined.
86142 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86144         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86145         arginfo fn returning -1.
86147         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86148         and thousands string is zero terminated.
86150 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86153         sysdeps/unix/sysv/linux/bits/socket.h.
86155 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86157         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86158         (__CPU_COUNT): Remove old macros.
86159         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86160         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86161         (__CPU_ALLOC, __CPU_FREE): Add macros.
86162         (__sched_cpualloc, __sched_cpufree): Add declarations.
86164 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86166         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86167         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86168         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86169         (readdhstai): Return value of addhstaiX call.
86170         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86171         (addgrbyX): Return value returned by cache_addgr.
86172         (readdgrbyname): Return value returned by addgrbyX.
86173         (readdgrbygid): Likewise.
86174         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86175         (addpwbyX): Return value returned by cache_addpw.
86176         (readdpwbyname): Return value returned by addhstbyX.
86177         (readdpwbyuid): Likewise.
86178         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86179         (addservbyX): Return value returned by cache_addserv.
86180         (readdservbyname): Return value returned by addservbyX:
86181         (readdservbyport): Likewise.
86182         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86183         (addhstbyX): Return value returned by cache_addhst.
86184         (readdhstbyname): Return value returned by addhstbyX.
86185         (readdhstbyaddr): Likewise.
86186         (readdhstbynamev6): Likewise.
86187         (readdhstbyaddrv6): Likewise.
86188         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86189         (readdinitgroups): Return value returned by addinitgroupsX.
86190         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86191         (prune_cache): Keep track of timeout value of re-added entries.
86192         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86193         * nscd/nscd.h: Adjust prototypes of readd* functions.
86195 2011-02-04  Roland McGrath  <roland@redhat.com>
86197         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86198         (nis_stats): Likewise.
86199         * nis/nis_modify.c (nis_modify): Likewise.
86200         * nis/nis_remove.c (nis_remove): Likewise.
86201         * nis/nis_add.c (nis_add): Likewise.
86203         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86205         * posix/fnmatch_loop.c: Add some consts.
86207         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86209 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86211         [BZ #12460]
86212         * config.make.in (config-cflags-novzeroupper): Define.
86213         * configure.in: Substitute libc_cv_cc_novzeroupper.
86214         * elf/Makefile (AVX-CFLAGS): Define.
86215         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86216         (CFLAGS-tst-auditmod4a.c): Likewise.
86217         (CFLAGS-tst-auditmod4b.c): Likewise.
86218         (CFLAGS-tst-auditmod6b.c): Likewise.
86219         (CFLAGS-tst-auditmod6c.c): Likewise.
86220         (CFLAGS-tst-auditmod7b.c): Likewise.
86221         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86223 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86225         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86226         function to the callback.
86227         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86229 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86231         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86232         of errno.
86234 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86236         [BZ #11724]
86237         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86238         of constructors.
86239         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86240         of destructors.
86241         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86243         [BZ #11724]
86244         * elf/Makefile: Add rules to build and run new test.
86245         * elf/tst-initorder.c: New file.
86246         * elf/tst-initorder.exp: New file.
86247         * elf/tst-initordera1.c: New file.
86248         * elf/tst-initordera2.c: New file.
86249         * elf/tst-initordera3.c: New file.
86250         * elf/tst-initordera4.c: New file.
86251         * elf/tst-initorderb1.c: New file.
86252         * elf/tst-initorderb2.c: New file.
86253         * elf/tst-order-a1.c: New file.
86254         * elf/tst-order-a2.c: New file.
86255         * elf/tst-order-a3.c: New file.
86256         * elf/tst-order-a4.c: New file.
86257         * elf/tst-order-b1.c: New file.
86258         * elf/tst-order-b2.c: New file.
86259         * elf/tst-order-main.c: New file.
86260         New test case by George Gensure <werkt0@gmail.com>.
86262 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86265         decoding ACE if AI_CANONIDN.
86267 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86269         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86271 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86273         * version.h (RELEASE): Bump for 2.13 release.
86274         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86276         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86278         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86279         MADV_NOHUGEPAGE.
86280         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86281         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86282         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86283         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86284         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86285         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86287         * posix/getconf.c: Update copyright year.
86288         * catgets/gencat.c: Likewise.
86289         * csu/version.c: Likewise.
86290         * debug/catchsegv.sh: Likewise.
86291         * debug/xtrace.sh: Likewise.
86292         * elf/ldconfig.c: Likewise.
86293         * elf/ldd.bash.in: Likewise.
86294         * elf/sprof.c (print_version): Likewise.
86295         * iconv/iconv_prog.c: Likewise.
86296         * iconv/iconvconfig.c: Likewise.
86297         * locale/programs/locale.c: Likewise.
86298         * locale/programs/localedef.c: Likewise.
86299         * malloc/memusage.sh: Likewise.
86300         * malloc/mtrace.pl: Likewise.
86301         * nscd/nscd.c (print_version): Likewise.
86302         * nss/getent.c: Likewise.
86304         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86305         PF_CAIF, and PF_ALG.
86306         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86308 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86310         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86311         (modules-names): Use them.
86312         (ifunc-test-modules, ifunc-pie-tests): Define.
86313         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86314         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86315         (test-extras): Likewise.
86316         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86317         $(compile-command.c).
86318         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86319         (all-built-dso): Define.
86320         (check-textrel.out, check-execstack.out): Depend on it.
86322         * configure.in: Don't override --enable-multi-arch.
86324 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86326         [BZ #6812]
86327         * nscd/hstcache.c (tryagain): Define.
86328         (cache_addhst): Return tryagain not notfound for temporary errors.
86329         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86330         failed.
86332 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86334         [BZ #10563]
86335         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86336         to make the syscall.
86337         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86339         [BZ #12378]
86340         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86341         and fall back to matching as normal character if the string ends before
86342         the matching ']' is found.  This is what POSIX requires.
86343         * posix/testfnm.c: Adjust test result.
86344         * posix/globtest.sh: Adjust test result.  Add new test.
86345         * posix/tst-fnmatch.input: Likewise.
86346         * posix/tst-fnmatch2.c: Add new test.
86348 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86350         * elf/Makefile (check-execstack): Revert last change.  Depend on
86351         check-execstack.h.
86352         (check-execstack.h): New target.
86353         (generated): Add check-execstack.h.
86354         * elf/check-execstack.c: Include "check-execstack.h".
86355         (main): Revert last change.
86356         (handle_file): Return zero if GNU_STACK is absent and
86357         DEFAULT_STACK_PERMS doesn't include PF_X.
86359 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86361         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86362         in child fails because the descriptor is already closed.
86363         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86364         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86365         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86367         [BZ #12397]
86368         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86369         syscall.
86371         [BZ #10484]
86372         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86373         temporary buffer used to handle multi lookups locally.
86374         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86376 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86378         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86379         loader is ld.so.
86381 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86383         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86384         alignment for SSE2.
86386 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86388         [BZ #12394]
86389         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86390         characters.  When rounding increased number of integer digits recompute
86391         number of groups.
86392         * stdio-common/tst-grouping.c: New file.
86393         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86395 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86397         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86398         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86400         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86401         void.
86402         * bits/select.h: Likewise.
86404 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86406         * po/ja.po: Update from translation team.
86408 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86410         [BZ #11155]
86411         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86412         implementation just like for lxstat, fxstatat, et al.
86414 2010-12-27  Jim Meyering  <meyering@redhat.com>
86416         [BZ #12348]
86417         * posix/regexec.c (build_trtable): Return failure indication upon
86418         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86420 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86422         [BZ #12201]
86423         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86424         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86425         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86426         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86428         [BZ #12207]
86429         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86431         [BZ #12204]
86432         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86433         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86435 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86437         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86438         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86439         script has SORT_BY_INIT_PRIORITY.
86440         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86441         NO_CTORS_DTORS_SECTIONS is defined.
86442         * elf/soinit.c: Likewise.
86443         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86444         NO_CTORS_DTORS_SECTIONS is defined.
86445         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86446         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86447         * sysdeps/sh/init-first.c: Likewise.
86448         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86450 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86452         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86453         always use the slow path.
86455 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86457         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86458         similar rule which adds the sysdep directories to the header search in
86459         order to pick up the correct platform stackinfo.h.
86460         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86461         perform test if it is, otherwise return successfully without testing.
86462         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86463         DEFAULT_STACK_PERMS define in stackinfo.h.
86464         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86465         defined in stackinfo.h.
86466         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86467         DEFAULT_STACK_PERMS defined in stackinfo.h.
86468         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86469         * sysdeps/ia64/stackinfo.h: Likewise.
86470         * sysdeps/s390/stackinfo.h: Likewise.
86471         * sysdeps/sh/stackinfo.h: Likewise.
86472         * sysdeps/sparc/stackinfo.h: Likewise.
86473         * sysdeps/x86_64/stackinfo.h: Likewise.
86474         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86475         PF_X for powerpc64.  Retain PF_X for powerpc32.
86477 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86479         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86480         accurately.
86481         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86482         GETDENTS_64BIT_ALIGNED.
86484 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86486         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86488 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86490         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86491         _GNU_SOURCE.
86493         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86494         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86495         Remove __restrict.
86496         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86497         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86499 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86501         [BZ #11655]
86502         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86503         are initialized.
86505 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86507         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86509 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86511         * po/it.po: Update from translation team.
86513 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86516         unused codes.
86518 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86520         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86522 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86524         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86525         specially.
86526         (gaih_getanswer_slice): Likewise.
86528 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86532 2010-05-31  Petr Baudis  <pasky@suse.cz>
86534         [BZ #11149]
86535         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86536         silently even in the chroot mode.
86538 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86540         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86541         last patch a bit.  Pretty printing
86543 2010-05-31  Petr Baudis <pasky@suse.cz>
86545         [BZ #10085]
86546         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86547         initialization of skip_initgroups_dyn.
86549 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86551         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86552         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86554 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86556         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86558 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86560         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86561         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86562         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86563         ($(objpfx)tst-fnmatch-mem): New rule.
86564         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86565         * posix/tst-fnmatch.c (main): Call mtrace.
86567 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86570         Support Intel processor model 6 and model 0x2c.
86572 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86574         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86575           signed comparison.
86577 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86579         [BZ #12205]
86580         * string/test-strncasecmp.c (check_result): New function.
86581         (do_one_test): Use it.
86582         (check1): New function.
86583         (test_main): Use it.
86584         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86585         Support strcasecmp and strncasecmp.
86587 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86589         [BZ #12194]
86590         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86591         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86593 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86595         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86596         IFUNC support.
86597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86598         memset-x86-64.
86599         * sysdeps/x86_64/multiarch/bzero.S: New file.
86600         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86601         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86602         * sysdeps/x86_64/multiarch/memset.S: New file.
86603         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86605         Set bit_Prefer_SSE_for_memop for Intel processors.
86606         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86607         Define.
86608         (index_Prefer_SSE_for_memop): Define.
86609         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86611 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86613         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86614         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86616 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86618         [BZ #12191]
86619         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86620         (__x86_64_raw_data_cache_size_half): Likewise.
86621         (__x86_64_raw_shared_cache_size): Likewise.
86622         (__x86_64_raw_shared_cache_size_half): Likewise.
86624         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86625         (__x86_64_raw_data_cache_size_half): Likewise.
86626         (__x86_64_raw_shared_cache_size): Likewise.
86627         (__x86_64_raw_shared_cache_size_half): Likewise.
86628         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86629         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86630         and __x86_64_raw_shared_cache_size_half.  Round
86631         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86632         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86633         to multiple of 256 bytes.
86635 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86637         [BZ #12167]
86638         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86639         of inacessible symlinks.  Verify result of symlink before returning it.
86640         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86641         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86643 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86645         * math/math.h (isinf): Fix typo in comment.
86647 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86649         * po/da.po: Update from translation team.
86651 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86653         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86654         is added to the list.
86656 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86657             Ulrich Drepper  <drepper@gmail.com>
86659         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86660         the global list here.  Move code to...
86661         (_dl_add_to_namespace_list): ...here.  New function.
86662         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86663         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86664         * elf/dl-load.c (lose): Don't remove the element from the list.
86665         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86666         (_dl_map_object): Likewise.
86668 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86670         [BZ #12159]
86671         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86672         into all bytes of SSE register.
86673         Patch by Richard Li <richardpku@gmail.com>.
86675 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86677         [BZ #12140]
86678         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86679         perturbing.
86681 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86683         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86684         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86685         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86686         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86688         submachine.
86689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86691 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86693         * include/dlfcn.h (__RTLD_SECURE): Define.
86694         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86695         mode & __RTLD_SECURE instead.
86696         (open_path): Rename preloaded parameter to secure.
86697         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86698         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86699         * elf/dl-deps.c (openaux): Likewise.
86700         * elf/rtld.c (struct map_args): Remove is_preloaded.
86701         (map_doit): Don't use it.
86702         (dl_main): Likewise.
86703         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86704         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86706 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86708         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86709         (sysd-rules-targets): Remove duplicates.
86710         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86711         rtld-%.$o dependency.
86713 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86715         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86716         _dl_map_object do it.
86718 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86720         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86721         fast fma builtins, define the macros in the C99 standard.
86722         (FP_FAST_FMAF): Likewise.
86723         (FP_FAST_FMAL): Likewise.
86724         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86726         * bits/mathdef.h: Update copyright year.
86727         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86729 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86731         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86732         builtins, define the macros in the C99 standard.
86733         (FP_FAST_FMAF): Likewise.
86734         (FP_FAST_FMAL): Likewise.
86735         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86736         multiply/add.
86737         (FP_FAST_FMAF): Likewise.
86739 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86741         [BZ #3268]
86742         * math/libm-test.inc (fma_test): Some new testcases.
86743         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86744         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86745         y and infinite z.  Do multiplication by C already in long double.
86746         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86748         y and infinite z.  Do bitwise or of inexact bit into u.d.
86749         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86750         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86751         * sysdeps/i386/fpu/s_fma.S: Removed.
86752         * sysdeps/i386/fpu/s_fmal.S: Removed.
86754 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86756         [BZ #3268]
86757         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86759         computation is not scheduled after fetestexcept.  Fix value
86760         of minimum denormal long double.
86762 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86764         [BZ #3268]
86765         * math/libm-test.inc (fma_test): Add some more tests.
86766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86767         correctly.
86769 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86771         * scripts/data/localplt-s390-linux-gnu.data: New file.
86772         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86774 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86776         [BZ #3268]
86777         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86778         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86779         instead of dbl-64.
86780         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86781         inlines.
86782         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86784         if one of x and y is very large and the other is subnormal.
86785         * sysdeps/s390/fpu/s_fmaf.c: New file.
86786         * sysdeps/s390/fpu/s_fma.c: New file.
86787         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86788         * sysdeps/powerpc/fpu/s_fma.S: New file.
86789         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86790         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86791         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86793 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86795         [BZ #3268]
86796         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86797         fma tests.
86798         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86799         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86800         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86801         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86802         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86803         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86804         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86806 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86808         [BZ #12078]
86809         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86810         * posix/bug-regex31.input: Add test case.
86812 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86814         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86815         * posix/bug-regex31.input: New file.
86817         [BZ #12078]
86818         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86819         (parse_sub_exp): Fix last change, use postorder.
86821         * posix/bug-regex31.c: New file.
86822         * posix/Makefile: Add rules to build and run bug-regex31.
86824         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86826         [BZ #12078]
86827         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86829         [BZ #12108]
86830         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86831         to have entries in sys_siglist.
86833         [BZ #12093]
86834         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86835         be NULL.
86837 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86839         [BZ #3268]
86840         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86841         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86842         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86843         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86844         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86845         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86846         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86847         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86848         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86849         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86850         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86851         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86852         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86853         * math/ftestexcept.c (fetestexcept): Likewise.
86854         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86855         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86856         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86857         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86858         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86859         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86860         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86862 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86864         [BZ #12107]
86865         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86866         newline.
86868 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86870         * string/bug-strstr1.c: New file.
86871         * string/Makefile: Add rules to build and run bug-strstr1.
86873 2010-10-05  Eric Blake  <eblake@redhat.com>
86875         [BZ #12092]
86876         * string/str-two-way.h (two_way_long_needle): Always clear memory
86877         when skipping input due to the shift table.
86879 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86881         [BZ #12005]
86882         * malloc/mcheck.c: Handle large requests.
86884         [BZ #12077]
86885         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86886         for strncmp and strncasecmp.
86887         * string/stratcliff.c: Add tests for strcmp and strncmp.
86888         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86890 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86892         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86893         __set_fpscr.
86895 2010-09-30  Andreas Jaeger  <aj@suse.de>
86897         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86898         (CGROUP_SUPER_MAGIC): Define.
86899         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86900         Handle btrfs and cgroup file systems.
86901         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86902         Likewise.
86904 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86906         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86907         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86909 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86911         [BZ #12067]
86912         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86913         trying to locate the ELF header.
86915 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86917         [BZ #11611]
86918         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86919         Mask out sign-bit copies when constructing f_fsid.
86921 2010-09-24  Petr Baudis <pasky@suse.cz>
86923         * debug/stack_chk_fail_local.c: Add missing licence exception.
86924         * debug/warning-nop.c: Likewise.
86926 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86928         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86929         implementing getdents64 using getdents syscall, set d_type if
86930         __ASSUME_GETDENTS32_D_TYPE.
86932 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86934         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86935         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86937 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86939         [BZ #12037]
86940         * posix/unistd.h: Undo change of feature selection for ftruncate from
86941         2010-01-11.
86943 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86945         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86946         detection.
86948 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86950         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86951         fanotify_mark.
86952         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86954 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86956         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86957         variables after CHECK_SP call.
86958         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86960 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86961             Ulrich Drepper  <drepper@redhat.com>
86963         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86964         re-relocationg ld.so.
86965         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86966         _dl_init_paths call.
86967         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86968         here anymore.
86970 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86972         * resolv/res_init.c (__res_vinit): Count the default server we added.
86974 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86975             Ulrich Drepper  <drepper@redhat.com>
86977         [BZ #11968]
86978         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86979         (____longjmp_chk): Use %ebx for saving value across system call.
86980         Add unwind info.
86982 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86984         * manual/Makefile: Don't mix pattern rules with normal rules.
86986 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86988         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86989         operation.
86990         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86991         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86992         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86993         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86994         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86995         Likewise.
86997 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86999         [BZ #11979]
87000         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87001         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87003 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87005         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87006         * sysdeps/x86_64/addmul_1.S: Likewise.
87007         * sysdeps/x86_64/lshift.S: Likewise.
87008         * sysdeps/x86_64/mul_1.S: Likewise.
87009         * sysdeps/x86_64/rshift.S: Likewise.
87010         * sysdeps/x86_64/sub_n.S: Likewise.
87011         * sysdeps/x86_64/submul_1.S: Likewise.
87013 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87015         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87016         Define __sched_param instead of SCHED_* and sched_param when
87017         <bits/sched.h> is included with __need_schedparam defined.
87018         * bits/sched.h [__need_schedparam]
87019         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87020         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87021         (__defined_schedparam): Define to 1.
87022         (__sched_param): New structure, identical to sched_param.
87023         (__need_schedparam): Undefine.
87025 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87027         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87028         (epoll_create1): Declare.
87030         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87032 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87034         [BZ #7066]
87035         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87036         shifting retval into place.
87038 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87040         * nis/rpcsvc/nis.h: Update copyright notice.
87041         * nis/rpcsvc/nis.x: Likewise.
87042         * nis/rpcsvc/nis_callback.h: Likewise.
87043         * nis/rpcsvc/nis_callback.x: Likewise.
87044         * nis/rpcsvc/nis_object.x: Likewise.
87045         * nis/rpcsvc/nis_tags.h: Likewise.
87046         * nis/rpcsvc/yp.h: Likewise.
87047         * nis/rpcsvc/yp.x: Likewise.
87048         * nis/rpcsvc/ypupd.h: Likewise.
87049         * nis/yp_xdr.c: Likewise.
87050         * nis/ypupdate_xdr.c: Likewise.
87052         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87053         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87054         (pmap_getport): Use __libc_rpc_getport.
87055         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87056         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87057         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87059 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87062         fanotify_mark.
87064 2010-08-27  Roland McGrath  <roland@redhat.com>
87066         * sysdeps/i386/i686/multiarch/Makefile
87067         (CFLAGS-varshift.c): New variable.
87069 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87071         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87072         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87074         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87076         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87078 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87080         * sysdeps/x86_64/strlen.S: Unroll the loop.
87081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87082         strlen-sse2 strlen-sse2-bsf.
87083         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87084         __strlen_no_bsf if bit_Slow_BSF is set.
87085         (__strlen_sse42): Removed.
87086         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87087         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87089 2010-08-25  Roland McGrath  <roland@redhat.com>
87091         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87092         * sysdeps/x86_64/multiarch/varshift.c: New file.
87093         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87094         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87095         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87096         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87098 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87101         strlen-sse2 strlen-sse2-bsf.
87102         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87103         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87104         (__strlen_sse2): Removed.
87105         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87106         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87108         bit_Slow_BSF for Atom.
87109         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87110         (index_Slow_BSF): Define.
87111         (HAS_SLOW_BSF): Define.
87113 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87115         [BZ #10851]
87116         * resolv/res_init.c (__res_vinit): When no server address at all
87117         is given default to loopback.
87119 2010-08-24  Roland McGrath  <roland@redhat.com>
87121         * configure.in: Remove config-name.h generation.
87122         * configure: Regenerated.
87123         * config-name.in: File removed.
87124         * scripts/config-uname.sh: New file.
87125         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87126         ($(objdir)config-name.h): New target.
87128         * sunrpc/rpc_parse.h: Avoid nested comment.
87130 2010-08-24  Richard Henderson  <rth@redhat.com>
87131             Ulrich Drepper  <drepper@redhat.com>
87132             H.J. Lu  <hongjiu.lu@intel.com>
87134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87136         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87137         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87138         _mm_alignr_epi8 with _mm_loadu_si128.
87139         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87140         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87141         (__m128i_shift_right): Removed.
87142         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87143         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87144         * sysdeps/x86_64/multiarch/varshift.h: New file.
87145         * sysdeps/x86_64/multiarch/varshift.S: New file.
87147 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87149         * configure.in: Move assembler checks to before sysdep dir checking.
87151 2010-08-20  Petr Baudis  <pasky@suse.cz>
87153         * LICENSES: Sync the sunrpc license.
87155 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87157         * sunrpc/auth_des.c: Update copyright notice once again.
87158         * sunrpc/auth_none.c: Likewise.
87159         * sunrpc/auth_unix.c: Likewise.
87160         * sunrpc/authdes_prot.c: Likewise.
87161         * sunrpc/authuxprot.c: Likewise.
87162         * sunrpc/bindrsvprt.c: Likewise.
87163         * sunrpc/clnt_gen.c: Likewise.
87164         * sunrpc/clnt_perr.c: Likewise.
87165         * sunrpc/clnt_raw.c: Likewise.
87166         * sunrpc/clnt_simp.c: Likewise.
87167         * sunrpc/clnt_tcp.c: Likewise.
87168         * sunrpc/clnt_udp.c: Likewise.
87169         * sunrpc/clnt_unix.c: Likewise.
87170         * sunrpc/des_crypt.c: Likewise.
87171         * sunrpc/des_soft.c: Likewise.
87172         * sunrpc/get_myaddr.c: Likewise.
87173         * sunrpc/getrpcport.c: Likewise.
87174         * sunrpc/key_call.c: Likewise.
87175         * sunrpc/key_prot.c: Likewise.
87176         * sunrpc/openchild.c: Likewise.
87177         * sunrpc/pm_getmaps.c: Likewise.
87178         * sunrpc/pm_getport.c: Likewise.
87179         * sunrpc/pmap_clnt.c: Likewise.
87180         * sunrpc/pmap_prot.c: Likewise.
87181         * sunrpc/pmap_prot2.c: Likewise.
87182         * sunrpc/pmap_rmt.c: Likewise.
87183         * sunrpc/rpc/auth.h: Likewise.
87184         * sunrpc/rpc/auth_unix.h: Likewise.
87185         * sunrpc/rpc/clnt.h: Likewise.
87186         * sunrpc/rpc/des_crypt.h: Likewise.
87187         * sunrpc/rpc/key_prot.h: Likewise.
87188         * sunrpc/rpc/netdb.h: Likewise.
87189         * sunrpc/rpc/pmap_clnt.h: Likewise.
87190         * sunrpc/rpc/pmap_prot.h: Likewise.
87191         * sunrpc/rpc/pmap_rmt.h: Likewise.
87192         * sunrpc/rpc/rpc.h: Likewise.
87193         * sunrpc/rpc/rpc_des.h: Likewise.
87194         * sunrpc/rpc/rpc_msg.h: Likewise.
87195         * sunrpc/rpc/svc.h: Likewise.
87196         * sunrpc/rpc/svc_auth.h: Likewise.
87197         * sunrpc/rpc/types.h: Likewise.
87198         * sunrpc/rpc/xdr.h: Likewise.
87199         * sunrpc/rpc_clntout.c: Likewise.
87200         * sunrpc/rpc_cmsg.c: Likewise.
87201         * sunrpc/rpc_common.c: Likewise.
87202         * sunrpc/rpc_cout.c: Likewise.
87203         * sunrpc/rpc_dtable.c: Likewise.
87204         * sunrpc/rpc_hout.c: Likewise.
87205         * sunrpc/rpc_main.c: Likewise.
87206         * sunrpc/rpc_parse.c: Likewise.
87207         * sunrpc/rpc_parse.h: Likewise.
87208         * sunrpc/rpc_prot.c: Likewise.
87209         * sunrpc/rpc_sample.c: Likewise.
87210         * sunrpc/rpc_scan.c: Likewise.
87211         * sunrpc/rpc_scan.h: Likewise.
87212         * sunrpc/rpc_svcout.c: Likewise.
87213         * sunrpc/rpc_tblout.c: Likewise.
87214         * sunrpc/rpc_util.c: Likewise.
87215         * sunrpc/rpc_util.h: Likewise.
87216         * sunrpc/rpcinfo.c: Likewise.
87217         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87218         * sunrpc/rpcsvc/key_prot.x: Likewise.
87219         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87220         * sunrpc/rpcsvc/mount.x: Likewise.
87221         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87222         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87223         * sunrpc/rpcsvc/rex.x: Likewise.
87224         * sunrpc/rpcsvc/rstat.x: Likewise.
87225         * sunrpc/rpcsvc/rusers.x: Likewise.
87226         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87227         * sunrpc/rpcsvc/spray.x: Likewise.
87228         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87229         * sunrpc/rtime.c: Likewise.
87230         * sunrpc/svc.c: Likewise.
87231         * sunrpc/svc_auth.c: Likewise.
87232         * sunrpc/svc_authux.c: Likewise.
87233         * sunrpc/svc_raw.c: Likewise.
87234         * sunrpc/svc_run.c: Likewise.
87235         * sunrpc/svc_simple.c: Likewise.
87236         * sunrpc/svc_tcp.c: Likewise.
87237         * sunrpc/svc_udp.c: Likewise.
87238         * sunrpc/svc_unix.c: Likewise.
87239         * sunrpc/svcauth_des.c: Likewise.
87240         * sunrpc/xcrypt.c: Likewise.
87241         * sunrpc/xdr.c: Likewise.
87242         * sunrpc/xdr_array.c: Likewise.
87243         * sunrpc/xdr_float.c: Likewise.
87244         * sunrpc/xdr_mem.c: Likewise.
87245         * sunrpc/xdr_rec.c: Likewise.
87246         * sunrpc/xdr_ref.c: Likewise.
87247         * sunrpc/xdr_sizeof.c: Likewise.
87248         * sunrpc/xdr_stdio.c: Likewise.
87250         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87251         handling.
87253 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87255         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87257 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87259         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87260         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87261         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87262         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87264         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87265         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87266         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87267         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87268         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87269         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87270         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87271         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87272         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87274 2010-07-26  Anton Blanchard  <anton@samba.org>
87276         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87277         * malloc/arena.c (heap_trim): Likewise.
87279 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87281         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87282         here.  Not...
87283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87284         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87286 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87288         * sysdeps/i386/elf/Makefile: New file.
87290 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87292         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87293         from fanotify_init.
87294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87297 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87299         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87300         of strncasecmp_l.
87301         * sysdeps/multiarch/strcmp.S: Likewise.
87303 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87305         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87306         strncase_l-nonascii.
87307         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87308         Add strncase_l-ssse3.
87309         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87310         * sysdeps/x86_64/strcmp.S: Likewise.
87311         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87312         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87313         * sysdeps/x86_64/strncase.S: New file.
87314         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87315         * sysdeps/x86_64/strncase_l.S: New file.
87316         * string/Makefile (strop-tests): Add strncasecmp.
87317         * string/test-strncasecmp.c: New file.
87319         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87320         warning.
87322         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87323         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87325 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87327         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87329 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87331         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87332         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87333         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87335 2010-05-01  Alan Modra  <amodra@gmail.com>
87337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87338         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87339         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87340         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87341         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87342         tidying.  Don't tail-call __sigjmp_save for static lib.
87343         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87344         save location.
87345         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87346         (CALL_MCOUNT): Add eh info, and nop after bl.
87347         (TAIL_CALL_SYSCALL_ERROR): New macro.
87348         (PSEUDO_RET): Use it.
87349         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87350         Correct save location of integer regs and cr.
87351         (_dl_profile_resolve): Correct cr save location.  Delete nops
87352         after bl when SHARED.  Reduce cfi size a little by better
87353         placement of cfi directives.
87354         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87355         make a stack frame.  Instead use parm save area as a temp.
87356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87357         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87359         Don't make a stack frame for parent, use parm save area.
87360         Increase child stack frame to 112 bytes.  Don't save unused reg,
87361         and adjust reg usage.  Set up cfi on error recovery and
87362         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87364         (__makecontext): Add dummy nop after jump to exit.
87365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87366         Use correct parm save area and cr save, reduce stack frame.
87367         Correct cfi for possible PSEUDO_RET frame setup.
87368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87369         Branch to local label emitted by PSEUDO_RET rather than
87370         __syscall_error.
87372 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87374         [BZ #11904]
87375         * locale/programs/locale.c (print_assignment): New function.
87376         (show_locale_vars): Use it.
87378 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87380         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87381         field.
87382         (struct statfs64): Likewise.
87383         (_STATFS_F_FLAGS): Define.
87384         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87385         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87386         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87387         (ST_VALID): Define locally.
87388         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87389         __statvfs_getflags, use the provided value.
87390         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87391         __ASSUME_STATFS_F_FLAGS.
87393         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87395         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87396         Add sys/fanotify.h.
87397         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87398         fanotify_mask for GLIBC_2.13.
87399         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87400         fanotify_init and fanotify_mark.
87401         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87402         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87404         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87405         Add prlimit.
87406         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87407         prlimit64 for GLIBC_2.13.
87408         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87409         prlimit64.
87410         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87411         syscall.
87412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87413         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87414         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87415         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87417         add prlimit alias.
87418         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87420         [BZ #11903]
87421         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87422         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87424         * nss/Makefile: Add rules to build and run tst-nss-test1.
87425         * shlib-versions: Add entry for libnss_test1.
87426         * nss/nss_test1.c: New file.
87427         * nss/tst-nss-test1.c: New file.
87429         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87430         (__nss_configure_lookup): Set appropriate entry in
87431         __nss_configure_lookup to true.
87432         * nss/nsswitch.h: Define enum with indeces of databases in
87433         databases and __nss_database_custom arrays.  Declare
87434         __nss_database_custom.
87435         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87436         to avoid using nscd when custom rules are installed.
87437         * nss/getXXbyYY_r.c: Likewise.
87438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87440         * nss/nss_files/files-parse.c: Whitespace fixes.
87442 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87444         [BZ #11883]
87445         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87446         * posix/fnmatch_loop.c: Likewise.
87448 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87450         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87451         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87452         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87453         * Versions.def [GLIBC_2.13]: Add.
87455 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87457         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87458         Also fail if tpwd after pwuid call is NULL.
87460 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87462         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87463         when converting to ms.
87465 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87467         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87468         EOPNOTSUPP errors with ENOTTY.
87469         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87470         EOPNOTSUPP errors with ENOTTY.
87472 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87474         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87475         Add strcasecmp_l-ssse3.
87476         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87477         strcasecmp.
87478         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87479         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87480         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87482 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87484         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87486         * string/Makefile (strop-tests): Add strcasecmp.
87487         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87488         strcasecmp_l-nonascii.
87489         (gen-as-const-headers): Add locale-defines.sym.
87490         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87491         * sysdeps/x86_64/strcasecmp.S: New file.
87492         * sysdeps/x86_64/strcasecmp_l.S: New file.
87493         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87494         * sysdeps/x86_64/locale-defines.sym: New file.
87495         * string/test-strcasecmp.c: New file.
87497         * string/test-strcasestr.c: Test both ends of the range of characters.
87498         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87500 2010-07-29  Roland McGrath  <roland@redhat.com>
87502         [BZ #11856]
87503         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87505 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87507         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87508         for ld.so.
87510 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87512         * manual/memory.texi (Malloc Tunable Parameters): Document
87513         M_PERTURB.
87515 2010-07-26  Roland McGrath  <roland@redhat.com>
87517         [BZ #11840]
87518         * configure.in (-fgnu89-inline check): Set and substitute
87519         gnu89_inline, not libc_cv_gnu89_inline.
87520         * configure: Regenerated.
87521         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87523 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87525         * string/test-strnlen.c: New file.
87526         * string/Makefile (strop-tests): Add strnlen.
87527         * string/tester.c (test_strnlen): Add a few more test cases.
87528         * string/tst-strlen.c: Better error reporting.
87530         * sysdeps/x86_64/strnlen.S: New file.
87532 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87534         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87535         lower-latency instructions.
87537 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87539         * string/test-strcasestr.c: New file.
87540         * string/test-strstr.c: New file.
87541         * string/Makefile (strop-tests): Add strstr and strcasestr.
87542         * string/str-two-way.h: Don't undefine MAX.
87543         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87545 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87547         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87548         strcasestr-nonascii.
87549         (CFLAGS-strcasestr-nonascii.c): Define.
87550         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87551         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87552         Remove unused attribute.
87554 2010-07-20  Roland McGrath  <roland@redhat.com>
87556         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87557         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87558         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87559         like LD_HWCAP_MASK can disable hwcaps.
87561 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87563         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87565 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87567         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87568         call in strcasestr.
87569         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87570         __strcasestr_sse42_nonascii.
87571         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87572         strcasestr-nonascii.c.
87573         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87575 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87577         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87578         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87579         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87580         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87582 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87584         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87585         fcntl.
87587 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87589         [BZ #11577]
87590         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87591         dl_signal_cerror.
87593 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87595         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87596         _PC_PIPE_BUF using F_GETPIPE_SZ.
87598 2010-07-05  Roland McGrath  <roland@redhat.com>
87600         * manual/arith.texi (Rounding Functions): Fix rint description
87601         implicit in round description.
87603 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87605         * elf/Makefile: Fix linking for a few tests to make recent linker
87606         happy.
87608 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87610         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87611         $(common-objpfx)libc_nonshared.a.
87613 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87615         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87616         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87617         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87618         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87619         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87620         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87621         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87622         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87637         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87638         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87639         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87640         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87641         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87642         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87643         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87644         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87645         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87646         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87647         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87648         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87664 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87666         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87667         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87668         * string/memmove.c (memmove): Renamed to ...
87669         (MEMMOVE): ...this.  Default to memmove.
87670         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87671         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87672         (END_CHK): Define.
87673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87674         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87675         mempcpy-ssse3-back memmove-ssse3-back.
87676         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87678         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87679         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87680         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87681         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87682         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87683         * sysdeps/x86_64/multiarch/memmove.c: New file.
87684         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87685         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87686         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87687         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87688         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87689         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87690         Define.
87691         (index_Fast_Copy_Backward): Define.
87692         (HAS_ARCH_FEATURE): Define.
87693         (HAS_FAST_REP_STRING): Define.
87694         (HAS_FAST_COPY_BACKWARD): Define.
87696 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87698         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87699         Restore proper fallback handling.
87701 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87703         [BZ #11701]
87704         * posix/group_member.c (__group_member): Correct checking loop.
87706         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87707         OOM in getpwuid_r correctly.  Return error number when the caller
87708         should return, otherwise -1.
87709         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87710         call returning > 0 value.
87711         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87713 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87715         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87716         libc_nonshared.a from targets in modules-names.
87718 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87720         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87721         requires it.
87723 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87726         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87727         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87728         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87730 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87732         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87734 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87736         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87737         and F_GETPIPE_SZ.
87738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87739         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87743         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87745 2010-06-14  Roland McGrath  <roland@redhat.com>
87747         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87749 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87751         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87752         __REDIRECT followed by __THROW.
87753         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87754         * posix/getopt.h (getopt): Likewise.
87756 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87758         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87759         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87760         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87761         in AT_FLAGS.
87762         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87763         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87765 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87767         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87769 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87771         [BZ #11640]
87772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87773         Properly check family and model.
87775 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87777         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87779 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87781         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87783 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87785         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87786         symbol reference.
87788 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87790         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87791         symbol reference.
87793 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87795         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87796         and internal_recvmmsg.
87797         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87798         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87799         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87800         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87802         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87803         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87804         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87806 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87808         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87810 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87812         POWER7 optimizations.
87813         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87814         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87816 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87818         * version.h: Update for 2.13 development version.
87820 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87822         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87823         exceptions.  Return 0.
87825 2010-05-07  Roland McGrath  <roland@redhat.com>
87827         * elf/ldconfig.c (main): Add a const.
87829 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87831         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87832         (args_options): Add no-idn option.
87833         (ahosts_keys_int): Add idn_flags to ai_flags.
87834         (parse_option): Handle 'i' option to clear idn_flags.
87836         * malloc/malloc.c (_int_free): Possible race in the most recently
87837         added check.  Only act on the data if no current modification
87838         happened.
87840 See ChangeLog.17 for earlier changes.